Skip to content
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

Backfilling Microsoft.Resources and subscriptions Swagger specs up to 2019-03-01 API version #5529

Merged
merged 11 commits into from
Apr 9, 2019

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-05-01",
"parameters": {
"location": "eastus"
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup",
"name": "myResourceGroup",
"location": "eastus",
"properties": {
"provisioningState":"Succeeded"
}
}
},
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup",
"name": "myResourceGroup",
"location": "eastus",
"properties": {
"provisioningState":"Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"deploymentName": "{deploymentName}",
"api-version": "2018-05-01",
"parameters": {
"properties": {
"templateLink": "{templateUri}",
"parameters": {},
"mode": "Complete",
"onErrorDeployment": {
"type": "LastSuccessful"
}
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/Microsoft.Resources/deployments/{deploymentName}",
"name": "{deploymentName}",
"properties": {
"provisioningState": "Accepted",
"correlationId": "{correlationId}",
"timeStamp": "{timeStamp}",
"mode": "Complete",
"onErrorDeployment": {
"type": "LastSuccessful",
"deploymentName": "{nameOfLastSuccesfulDeployment}"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
"resourceGroupName": "myResourceGroup",
"deploymentName": "{deploymentName}",
"api-version": "2018-05-01",
"parameters": {
"properties": {
"templateLink": "{templateUri}",
"parameters": {},
"mode": "Complete",
"onErrorDeployment": {
"type": "SpecificDeployment",
"deploymentName": "{nameOfDeploymentToUse}"
}
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/Microsoft.Resources/deployments/{deploymentName}",
"name": "{deploymentName}",
"properties": {
"provisioningState": "Accepted",
"correlationId": "{correlationId}",
"timeStamp": "{timeStamp}",
"mode": "Complete",
"onErrorDeployment": {
"type": "SpecificDeployment",
"deploymentName": "{nameOfDeploymentToUse}"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"location": "{location}",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/00000000": {},
"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/00000001": {}
}
}
},
"responses": {
"201": {
"body": {
"id": "subscriptions/{subscriptionId}/resourcegroups/myResourceGroup/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}",
"location": "{location}",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000000/providers/Microsoft.ManagedIdentity/userAssignedIdentities/00000000": {
"principalId": "00000000-0000-0000-0000-000000000000",
"clientId": "00000000-0000-0000-0000-000000000000"
},
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/00000001": {
"principalId": "00000000-0000-0000-0000-000000000000",
"clientId": "00000000-0000-0000-0000-000000000000"
}
}
}
}
}
}
}
Loading