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 GA API version (Azure#11775)
* RPaaS 2020.11.20 GA specs * update readme * prettier fix and add custom words * spelling * update SDKs * go sdk Co-authored-by: Wendy Chang <wendychang@microsoft.com>
- Loading branch information
1 parent
3005591
commit adb27cb
Showing
53 changed files
with
7,121 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2035,4 +2035,7 @@ ziplist | |
Zoho | ||
zoneinfo | ||
zset | ||
tpgs | ||
tpgs | ||
ProviderHub | ||
checkin | ||
regionality |
18 changes: 18 additions & 0 deletions
18
...ub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/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,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "ab7a8701-f7ef-471a-a2f4-d0ebbf494f77", | ||
"providerNamespace": "Microsoft.Contoso", | ||
"api-version": "2020-11-20", | ||
"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
...nager/Microsoft.ProviderHub/stable/2020-11-20/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": "2020-11-20", | ||
"customRolloutSpecification": { | ||
"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
...resource-manager/Microsoft.ProviderHub/stable/2020-11-20/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": "2020-11-20" | ||
}, | ||
"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
...oft.ProviderHub/stable/2020-11-20/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": "2020-11-20" | ||
}, | ||
"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.