Skip to content

Commit 91ac145

Browse files
Microsoft.Features: Add new API version 2021-07-01 (#14736)
* The previous version in the 2021-08-1 folder * Add new feature registration apis * Update readme files * Update readme file * Remove feature configuration apis * Fix avocado * Fix validations * Fix validation * Fix validations * Fix validation * Fix title * Fix validation * Fix validation * Fix readme * Fix validation * Fix validation * Fix validation * Fix validation * Fix validation * suppress r4009 * Fix validation * Fix validation * Fix python * Fix readme * Fix python * Remove post api * Update example api-versions Co-authored-by: shenshengkafei <[email protected]>
1 parent 4483c52 commit 91ac145

19 files changed

+1273
-1
lines changed

specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/SubscriptionFeatureRegistration.json

Lines changed: 462 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"providerNamespace": "subscriptionFeatureRegistrationGroupTestRG",
5+
"featureName": "testFeature",
6+
"api-version": "2021-07-01"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"providerNamespace": "subscriptionFeatureRegistrationGroupTestRG",
5+
"featureName": "testFeature",
6+
"api-version": "2021-07-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"name": "testFeature",
12+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature",
13+
"type": "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations",
14+
"properties": {
15+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
16+
"featureName": "testFeature",
17+
"providerNamespace": "Microsoft.TestRP",
18+
"state": "Pending",
19+
"authorizationProfile": {},
20+
"releaseDate": "2019-11-05T00:34:53.1243228Z",
21+
"approvalType": "ApprovalRequired",
22+
"registrationDate": "2020-02-26T01:57:51.734777Z"
23+
}
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"providerNamespace": "subscriptionFeatureRegistrationGroupTestRG",
5+
"api-version": "2021-07-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"nextLink": "string",
11+
"value": [
12+
{
13+
"name": "testFeature",
14+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature",
15+
"type": "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations",
16+
"properties": {
17+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
18+
"featureName": "testFeature",
19+
"providerNamespace": "Microsoft.TestRP",
20+
"state": "Pending",
21+
"authorizationProfile": {},
22+
"releaseDate": "2019-11-05T00:34:53.1243228Z",
23+
"approvalType": "ApprovalRequired",
24+
"registrationDate": "2020-02-26T01:57:51.734777Z"
25+
}
26+
}
27+
]
28+
}
29+
}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"api-version": "2021-07-01"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"nextLink": "string",
10+
"value": [
11+
{
12+
"name": "testFeature",
13+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature",
14+
"type": "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations",
15+
"properties": {
16+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
17+
"featureName": "testFeature",
18+
"providerNamespace": "Microsoft.TestRP",
19+
"state": "Pending",
20+
"authorizationProfile": {},
21+
"releaseDate": "2019-11-05T00:34:53.1243228Z",
22+
"approvalType": "ApprovalRequired",
23+
"registrationDate": "2020-02-26T01:57:51.734777Z"
24+
}
25+
}
26+
]
27+
}
28+
}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"providerNamespace": "subscriptionFeatureRegistrationGroupTestRG",
5+
"featureName": "testFeature",
6+
"api-version": "2021-07-01",
7+
"SubscriptionFeatureRegistrationType": {
8+
"properties": {}
9+
}
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"name": "testFeature",
15+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature",
16+
"type": "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations",
17+
"properties": {
18+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
19+
"featureName": "testFeature",
20+
"providerNamespace": "Microsoft.TestRP",
21+
"state": "Pending",
22+
"authorizationProfile": {},
23+
"releaseDate": "2019-11-05T00:34:53.1243228Z",
24+
"approvalType": "ApprovalRequired",
25+
"registrationDate": "2020-02-26T01:57:51.734777Z"
26+
}
27+
}
28+
}
29+
}
30+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"resourceProviderNamespace": "Resource Provider Namespace",
4+
"featureName": "feature",
5+
"api-version": "2021-07-01",
6+
"subscriptionId": "subid"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"body": {
12+
"name": "Feature1",
13+
"properties": {
14+
"state": "registered"
15+
},
16+
"id": "feature_id1",
17+
"type": "type1"
18+
}
19+
}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01"
4+
},
5+
"responses": {
6+
"200": {
7+
"headers": {},
8+
"body": {
9+
"value": [
10+
{
11+
"name": "FeaturesOpeartion1",
12+
"display": {
13+
"provider": "Microsoft.ResourceProvider",
14+
"resource": "Resource1",
15+
"operation": "Read"
16+
}
17+
},
18+
{
19+
"name": "FeaturesOpeartion2",
20+
"display": {
21+
"provider": "Microsoft.ResourceProvider",
22+
"resource": "Resource2",
23+
"operation": "Write"
24+
}
25+
}
26+
]
27+
}
28+
}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"resourceProviderNamespace": "Resource Provider Namespace",
4+
"api-version": "2021-07-01",
5+
"subscriptionId": "subid"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {},
10+
"body": {
11+
"value": [
12+
{
13+
"name": "Feature1",
14+
"properties": {
15+
"state": "registered"
16+
},
17+
"id": "feature_id1",
18+
"type": "type1"
19+
},
20+
{
21+
"name": "Feature2",
22+
"properties": {
23+
"state": "unregistered"
24+
},
25+
"id": "feature_id2",
26+
"type": "type2"
27+
}
28+
]
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01",
4+
"subscriptionId": "subid"
5+
},
6+
"responses": {
7+
"200": {
8+
"headers": {},
9+
"body": {
10+
"value": [
11+
{
12+
"name": "Feature1",
13+
"properties": {
14+
"state": "registered"
15+
},
16+
"id": "feature_id1",
17+
"type": "type1"
18+
},
19+
{
20+
"name": "Feature2",
21+
"properties": {
22+
"state": "unregistered"
23+
},
24+
"id": "feature_id2",
25+
"type": "type2"
26+
}
27+
]
28+
}
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)