forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Microsoft.ProviderHub : Add new api-version 2021-05-01-preview (Azure…
…#14249) * initial commit establish base (previous stable version) * adding preview api * update right examples. prettier fix * adding concurrency & ARG properties * adding management * fixing management
- Loading branch information
1 parent
497df1c
commit b5f8384
Showing
45 changed files
with
7,197 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
...ce-manager/Microsoft.ProviderHub/preview/2021-05-01-preview/examples/CheckinManifest.json
This file contains 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,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "ab7a8701-f7ef-471a-a2f4-d0ebbf494f77", | ||
"providerNamespace": "Microsoft.Contoso", | ||
"api-version": "2021-05-01-preview", | ||
"checkinManifestParams": { | ||
"baselineArmManifestLocation": "EastUS2EUAP", | ||
"environment": "Prod" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Checkin the manifest.", | ||
"body": { | ||
"isCheckedIn": false, | ||
"statusMessage": "Manifest is successfully merged. Use the Default/Custom rollout (http://aka.ms/rpaasrollout) to roll out the manifest in ARM." | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...rosoft.ProviderHub/preview/2021-05-01-preview/examples/CustomRollouts_CreateOrUpdate.json
This file contains 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,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "ab7a8701-f7ef-471a-a2f4-d0ebbf494f77", | ||
"providerNamespace": "Microsoft.Contoso", | ||
"rolloutName": "brazilUsShoeBoxTesting", | ||
"api-version": "2021-05-01-preview", | ||
"properties": { | ||
"properties": { | ||
"specification": { | ||
"canary": { | ||
"regions": [ | ||
"brazilus" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Custom rollout completed successfully.", | ||
"body": { | ||
"id": "/subscriptions/ab7a8701-f7ef-471a-a2f4-d0ebbf494f77providers/Microsoft.ProviderHub/providerRegistrations/Microsoft.Contoso/customRollouts/brazilUsShoeBoxTesting", | ||
"name": "Microsoft.Contoso/brazilUsShoeBoxTesting", | ||
"type": "Microsoft.ProviderHub/providerRegistrations/customRollouts", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"specification": { | ||
"canary": { | ||
"regions": [ | ||
"brazilus", | ||
"eastus2euap", | ||
"centraluseuap" | ||
] | ||
} | ||
}, | ||
"status": { | ||
"completedRegions": [ | ||
"brazilus", | ||
"eastus2euap", | ||
"centraluseuap" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
127 changes: 127 additions & 0 deletions
127
...manager/Microsoft.ProviderHub/preview/2021-05-01-preview/examples/CustomRollouts_Get.json
This file contains 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,127 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "ab7a8701-f7ef-471a-a2f4-d0ebbf494f77", | ||
"providerNamespace": "Microsoft.Contoso", | ||
"rolloutName": "canaryTesting99", | ||
"api-version": "2021-05-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Successfully retrieved the rollout details.", | ||
"body": { | ||
"id": "/subscriptions/ab7a8701-f7ef-471a-a2f4-d0ebbf494f77providers/Microsoft.ProviderHub/providerRegistrations/Microsoft.Contoso/customRollouts/canaryTesting99", | ||
"name": "Microsoft.Contoso/canaryTesting99", | ||
"type": "Microsoft.ProviderHub/providerRegistrations/customRollouts", | ||
"properties": { | ||
"provisioningState": "Completed", | ||
"specification": { | ||
"canary": { | ||
"regions": [ | ||
"eastus2euap", | ||
"centraluseuap" | ||
] | ||
}, | ||
"providerRegistration": { | ||
"id": "/subscriptions/ab7a8701-f7ef-471a-a2f4-d0ebbf494f77providers/Microsoft.ProviderHub/providerRegistrations/Microsoft.Contoso", | ||
"name": "Microsoft.Contoso", | ||
"type": "Microsoft.ProviderHub/providerRegistrations", | ||
"properties": { | ||
"providerHubMetadata": { | ||
"providerAuthentication": { | ||
"allowedAudiences": [ | ||
"https://management.core.windows.net/" | ||
] | ||
} | ||
}, | ||
"provisioningState": "Succeeded", | ||
"providerAuthorizations": [ | ||
{ | ||
"applicationId": "1a3b5c7d-8e9f-10g1-1h12-i13j14k1", | ||
"roleDefinitionId": "123456bf-gkur-2098-b890-98da392a00b2" | ||
} | ||
], | ||
"namespace": "microsoft.contoso", | ||
"providerVersion": "2.0", | ||
"providerType": "Internal, Hidden", | ||
"management": { | ||
"manifestOwners": [ | ||
"SPARTA-PlatformServiceAdministrator" | ||
], | ||
"incidentRoutingService": "", | ||
"incidentRoutingTeam": "", | ||
"incidentContactEmail": "helpme@contoso.com", | ||
"resourceAccessPolicy": "NotSpecified" | ||
}, | ||
"capabilities": [ | ||
{ | ||
"quotaId": "CSP_2015-05-01", | ||
"effect": "Allow" | ||
}, | ||
{ | ||
"quotaId": "CSP_MG_2017-12-01", | ||
"effect": "Allow" | ||
} | ||
], | ||
"metadata": null | ||
} | ||
}, | ||
"resourceTypeRegistrations": [ | ||
{ | ||
"id": "/subscriptions/ab7a8701-f7ef-471a-a2f4-d0ebbf494f77providers/Microsoft.ProviderHub/providerRegistrations/Microsoft.Contoso/resourceTypeRegistrations/employees", | ||
"name": "Microsoft.Contoso/employees", | ||
"type": "Microsoft.ProviderHub/providerRegistrations/resourceTypeRegistrations", | ||
"properties": { | ||
"routingType": "Default", | ||
"regionality": "Regional", | ||
"endpoints": [ | ||
{ | ||
"apiVersions": [ | ||
"2018-11-01-preview", | ||
"2020-01-01-preview", | ||
"2019-01-01" | ||
], | ||
"locations": [ | ||
"East Asia", | ||
"East US", | ||
"North Europe", | ||
"Southeast Asia", | ||
"East US 2 EUAP", | ||
"Central US EUAP", | ||
"West Europe", | ||
"West US", | ||
"West Central US", | ||
"West US 2" | ||
], | ||
"requiredFeatures": [ | ||
"Microsoft.Contoso/RPaaSSampleApp" | ||
] | ||
} | ||
], | ||
"swaggerSpecifications": [ | ||
{ | ||
"apiVersions": [ | ||
"2018-11-01-preview", | ||
"2020-01-01-preview", | ||
"2019-01-01" | ||
], | ||
"swaggerSpecFolderUri": "https://github.com/Azure/azure-rest-api-specs/blob/feature/azure/contoso/specification/contoso/resource-manager/Microsoft.SampleRP/" | ||
} | ||
], | ||
"enableAsyncOperation": false, | ||
"provisioningState": "Succeeded", | ||
"enableThirdPartyS2S": false | ||
} | ||
} | ||
] | ||
}, | ||
"status": { | ||
"completedRegions": [ | ||
"eastus2euap", | ||
"centraluseuap" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...derHub/preview/2021-05-01-preview/examples/CustomRollouts_ListByProviderRegistration.json
This file contains 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,61 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "ab7a8701-f7ef-471a-a2f4-d0ebbf494f77", | ||
"providerNamespace": "Microsoft.Contoso", | ||
"api-version": "2021-05-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "List of custom rollouts for given subscription id.", | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/ab7a8701-f7ef-471a-a2f4-d0ebbf494f77providers/Microsoft.ProviderHub/providerRegistrations/Microsoft.Contoso/customRollouts/canaryTesting99", | ||
"name": "Microsoft.Contoso/canaryTesting99", | ||
"type": "Microsoft.ProviderHub/providerRegistrations/customRollouts", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"specification": { | ||
"canary": { | ||
"regions": [ | ||
"eastus2euap", | ||
"centraluseuap" | ||
] | ||
} | ||
}, | ||
"status": { | ||
"completedRegions": [ | ||
"eastus2euap", | ||
"centraluseuap" | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/ab7a8701-f7ef-471a-a2f4-d0ebbf494f77providers/Microsoft.ProviderHub/providerRegistrations/Microsoft.Contoso/customRollouts/brazilustesting", | ||
"name": "Microsoft.Contoso/brazilustesting", | ||
"type": "Microsoft.ProviderHub/providerRegistrations/customRollouts", | ||
"properties": { | ||
"provisioningState": "Failed", | ||
"specification": { | ||
"canary": { | ||
"regions": [ | ||
"brazilus" | ||
] | ||
} | ||
}, | ||
"status": { | ||
"failedOrSkippedRegions": { | ||
"brazilus": { | ||
"code": "RolloutTimedout", | ||
"message": "Failed to rollout to specified region." | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.