Skip to content
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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": "2020-09-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": "2020-09-01"
Copy link
Member

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?

Copy link
Member

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.

},
"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": "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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
]
}
}
}
}
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"
}
]
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
Loading