-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Microsoft.Features: Add new API version 2021-07-01 #14736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
25f5268
The previous version in the 2021-08-1 folder
shenshengkafei 887733a
Add new feature registration apis
shenshengkafei ece4fd9
Update readme files
shenshengkafei 409c76b
Update readme file
shenshengkafei 551b006
Remove feature configuration apis
shenshengkafei 6143b40
Fix avocado
shenshengkafei b96c751
Fix validations
shenshengkafei 0c1e42f
Fix validation
shenshengkafei 2ebfeec
Fix validations
shenshengkafei af1a10c
Fix validation
shenshengkafei 93236f5
Fix title
shenshengkafei 5a5f6b0
Fix validation
shenshengkafei 38e8b1c
Fix validation
shenshengkafei 57af021
Fix readme
shenshengkafei bce7056
Fix validation
shenshengkafei f977fbb
Fix validation
shenshengkafei 30e8089
Fix validation
shenshengkafei d58351b
Fix validation
shenshengkafei 76356da
Fix validation
shenshengkafei d22cc83
suppress r4009
shenshengkafei 54ef06d
Fix validation
shenshengkafei 68d4571
Fix validation
shenshengkafei baa4865
Fix python
shenshengkafei abfaf87
Fix readme
shenshengkafei f14ca5a
Fix python
shenshengkafei 0c5ed34
Remove post api
shenshengkafei 2290fef
Update example api-versions
shenshengkafei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
462 changes: 462 additions & 0 deletions
462
...esource-manager/Microsoft.Features/stable/2021-07-01/SubscriptionFeatureRegistration.json
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
...stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "providerNamespace": "subscriptionFeatureRegistrationGroupTestRG", | ||
| "featureName": "testFeature", | ||
| "api-version": "2020-09-01" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
27 changes: 27 additions & 0 deletions
27
...es/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationGET.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "providerNamespace": "subscriptionFeatureRegistrationGroupTestRG", | ||
| "featureName": "testFeature", | ||
| "api-version": "2020-09-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "name": "testFeature", | ||
| "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature", | ||
| "type": "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations", | ||
| "properties": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "featureName": "testFeature", | ||
| "providerNamespace": "Microsoft.TestRP", | ||
| "state": "Pending", | ||
| "authorizationProfile": {}, | ||
| "releaseDate": "2019-11-05T00:34:53.1243228Z", | ||
| "approvalType": "ApprovalRequired", | ||
| "registrationDate": "2020-02-26T01:57:51.734777Z" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
31 changes: 31 additions & 0 deletions
31
...s/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "providerNamespace": "subscriptionFeatureRegistrationGroupTestRG", | ||
| "api-version": "2020-09-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "nextLink": "string", | ||
| "value": [ | ||
| { | ||
| "name": "testFeature", | ||
| "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature", | ||
| "type": "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations", | ||
| "properties": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "featureName": "testFeature", | ||
| "providerNamespace": "Microsoft.TestRP", | ||
| "state": "Pending", | ||
| "authorizationProfile": {}, | ||
| "releaseDate": "2019-11-05T00:34:53.1243228Z", | ||
| "approvalType": "ApprovalRequired", | ||
| "registrationDate": "2020-02-26T01:57:51.734777Z" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
30 changes: 30 additions & 0 deletions
30
...table/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "api-version": "2020-09-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "nextLink": "string", | ||
| "value": [ | ||
| { | ||
| "name": "testFeature", | ||
| "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature", | ||
| "type": "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations", | ||
| "properties": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "featureName": "testFeature", | ||
| "providerNamespace": "Microsoft.TestRP", | ||
| "state": "Pending", | ||
| "authorizationProfile": {}, | ||
| "releaseDate": "2019-11-05T00:34:53.1243228Z", | ||
| "approvalType": "ApprovalRequired", | ||
| "registrationDate": "2020-02-26T01:57:51.734777Z" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
30 changes: 30 additions & 0 deletions
30
...es/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "providerNamespace": "subscriptionFeatureRegistrationGroupTestRG", | ||
| "featureName": "testFeature", | ||
| "api-version": "2020-09-01", | ||
| "SubscriptionFeatureRegistrationType": { | ||
| "properties": {} | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "name": "testFeature", | ||
| "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature", | ||
| "type": "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations", | ||
| "properties": { | ||
| "subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
| "featureName": "testFeature", | ||
| "providerNamespace": "Microsoft.TestRP", | ||
| "state": "Pending", | ||
| "authorizationProfile": {}, | ||
| "releaseDate": "2019-11-05T00:34:53.1243228Z", | ||
| "approvalType": "ApprovalRequired", | ||
| "registrationDate": "2020-02-26T01:57:51.734777Z" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
21 changes: 21 additions & 0 deletions
21
.../resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/getFeature.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceProviderNamespace": "Resource Provider Namespace", | ||
| "featureName": "feature", | ||
| "api-version": "2015-12-01", | ||
| "subscriptionId": "subid" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "name": "Feature1", | ||
| "properties": { | ||
| "state": "registered" | ||
| }, | ||
| "id": "feature_id1", | ||
| "type": "type1" | ||
| } | ||
| } | ||
| } | ||
| } |
30 changes: 30 additions & 0 deletions
30
...esource-manager/Microsoft.Features/stable/2021-07-01/examples/listFeaturesOperations.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2015-12-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "name": "FeaturesOpeartion1", | ||
| "display": { | ||
| "provider": "Microsoft.ResourceProvider", | ||
| "resource": "Resource1", | ||
| "operation": "Read" | ||
| } | ||
| }, | ||
| { | ||
| "name": "FeaturesOpeartion2", | ||
| "display": { | ||
| "provider": "Microsoft.ResourceProvider", | ||
| "resource": "Resource2", | ||
| "operation": "Write" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
32 changes: 32 additions & 0 deletions
32
.../resource-manager/Microsoft.Features/stable/2021-07-01/examples/listProviderFeatures.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceProviderNamespace": "Resource Provider Namespace", | ||
| "api-version": "2015-12-01", | ||
| "subscriptionId": "subid" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "name": "Feature1", | ||
| "properties": { | ||
| "state": "registered" | ||
| }, | ||
| "id": "feature_id1", | ||
| "type": "type1" | ||
| }, | ||
| { | ||
| "name": "Feature2", | ||
| "properties": { | ||
| "state": "unregistered" | ||
| }, | ||
| "id": "feature_id2", | ||
| "type": "type2" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
31 changes: 31 additions & 0 deletions
31
...ource-manager/Microsoft.Features/stable/2021-07-01/examples/listSubscriptionFeatures.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2015-12-01", | ||
| "subscriptionId": "subid" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "name": "Feature1", | ||
| "properties": { | ||
| "state": "registered" | ||
| }, | ||
| "id": "feature_id1", | ||
| "type": "type1" | ||
| }, | ||
| { | ||
| "name": "Feature2", | ||
| "properties": { | ||
| "state": "unregistered" | ||
| }, | ||
| "id": "feature_id2", | ||
| "type": "type2" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
21 changes: 21 additions & 0 deletions
21
...urces/resource-manager/Microsoft.Features/stable/2021-07-01/examples/registerFeature.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceProviderNamespace": "Resource Provider Namespace", | ||
| "featureName": "feature", | ||
| "api-version": "2015-12-01", | ||
| "subscriptionId": "subid" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "name": "Feature1", | ||
| "properties": { | ||
| "state": "registered" | ||
| }, | ||
| "id": "feature_id1", | ||
| "type": "type1" | ||
| } | ||
| } | ||
| } | ||
| } |
21 changes: 21 additions & 0 deletions
21
...ces/resource-manager/Microsoft.Features/stable/2021-07-01/examples/unregisterFeature.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "parameters": { | ||
| "resourceProviderNamespace": "Resource Provider Namespace", | ||
| "featureName": "feature", | ||
| "api-version": "2015-12-01", | ||
| "subscriptionId": "ff23096b-f5a2-46ea-bd62-59c3e93fef9a" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "name": "Feature1", | ||
| "properties": { | ||
| "state": "unregistered" | ||
| }, | ||
| "id": "/subscriptions/ff23096b-f5a2-46ea-bd62-59c3e93fef9a/providers/Microsoft.Features/providers/Microsoft.Test/features/Feature1", | ||
| "type": "Microsoft.Features/providers/features" | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@diwudd and @ifeoluwaokunoren - Please update the API version in all the example files to new api version 2021-07-01?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise changes LGTM. I will signoff once you update the api version in all example files.