Skip to content

Commit

Permalink
Microsoft.Features: Add new API version 2021-07-01 (#14736)
Browse files Browse the repository at this point in the history
* 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 <wudiadi1111@gmail.com>
  • Loading branch information
diwudd and shenshengkafei authored Jun 30, 2021
1 parent 4483c52 commit 91ac145
Show file tree
Hide file tree
Showing 19 changed files with 1,273 additions and 1 deletion.

Large diffs are not rendered by default.

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": "2021-07-01"
},
"responses": {
"200": {},
"204": {}
}
}
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": "2021-07-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"
}
}
}
}
}
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": "2021-07-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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"api-version": "2021-07-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"
}
}
]
}
}
}
}
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": "2021-07-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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"resourceProviderNamespace": "Resource Provider Namespace",
"featureName": "feature",
"api-version": "2021-07-01",
"subscriptionId": "subid"
},
"responses": {
"200": {
"headers": {},
"body": {
"name": "Feature1",
"properties": {
"state": "registered"
},
"id": "feature_id1",
"type": "type1"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"api-version": "2021-07-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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"resourceProviderNamespace": "Resource Provider Namespace",
"api-version": "2021-07-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"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"api-version": "2021-07-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"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"resourceProviderNamespace": "Resource Provider Namespace",
"featureName": "feature",
"api-version": "2021-07-01",
"subscriptionId": "subid"
},
"responses": {
"200": {
"headers": {},
"body": {
"name": "Feature1",
"properties": {
"state": "registered"
},
"id": "feature_id1",
"type": "type1"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"resourceProviderNamespace": "Resource Provider Namespace",
"featureName": "feature",
"api-version": "2021-07-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"
}
}
}
}
Loading

0 comments on commit 91ac145

Please sign in to comment.