diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/CreateOrUpdateResourceLinks.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/CreateOrUpdateResourceLinks.json new file mode 100644 index 000000000000..a8d17a4f679b --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/CreateOrUpdateResourceLinks.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "linkId": "aaaaaaaaaaaaa", + "parameters": {}, + "api-version": "2016-09-01" + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/DeleteResourceLinks.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/DeleteResourceLinks.json new file mode 100644 index 000000000000..b9c46d51d145 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/DeleteResourceLinks.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "linkId": "aaaaaaa", + "api-version": "2016-09-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/GetResourceLinks.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/GetResourceLinks.json new file mode 100644 index 000000000000..a18dc4c8dce0 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/GetResourceLinks.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "linkId": "aaaaaaaaaaa", + "api-version": "2016-09-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/ListOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/ListOperations.json new file mode 100644 index 000000000000..ebd6166a3568 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/ListOperations.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2016-09-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/ListResourceLinksAtSourceScope.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/ListResourceLinksAtSourceScope.json new file mode 100644 index 000000000000..98ef8942fd86 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/ListResourceLinksAtSourceScope.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "scope": "aaaaaaaa", + "api-version": "2016-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + {} + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/ListResourceLinksAtSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/ListResourceLinksAtSubscription.json new file mode 100644 index 000000000000..e54cb4aa3f5c --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/examples/ListResourceLinksAtSubscription.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2016-09-01", + "subscriptionId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "responses": { + "200": { + "body": { + "value": [ + {} + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json index 3e40f3b45996..f6386ad81f75 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json @@ -56,6 +56,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Operations": { + "$ref": "./examples/ListOperations.json" + } } } }, @@ -86,6 +91,11 @@ "204": { "description": "No Content" } + }, + "x-ms-examples": { + "Delete ResourceLinks": { + "$ref": "./examples/DeleteResourceLinks.json" + } } }, "put": { @@ -129,6 +139,11 @@ "$ref": "#/definitions/ResourceLink" } } + }, + "x-ms-examples": { + "Create Or Update Resource Links": { + "$ref": "./examples/CreateOrUpdateResourceLinks.json" + } } }, "get": { @@ -157,6 +172,11 @@ "$ref": "#/definitions/ResourceLink" } } + }, + "x-ms-examples": { + "Get Resource Links": { + "$ref": "./examples/GetResourceLinks.json" + } } } }, @@ -193,7 +213,12 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-odata": "#/definitions/ResourceLinkFilter" + "x-ms-odata": "#/definitions/ResourceLinkFilter", + "x-ms-examples": { + "List Resource Links At Subscription": { + "$ref": "./examples/ListResourceLinksAtSubscription.json" + } + } } }, "/{scope}/providers/Microsoft.Resources/links": { @@ -241,7 +266,12 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-odata": "#/definitions/ResourceLinkFilter" + "x-ms-odata": "#/definitions/ResourceLinkFilter", + "x-ms-examples": { + "List Resource Links At Source Scope": { + "$ref": "./examples/ListResourceLinksAtSourceScope.json" + } + } } } }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create.json index 7d6dc278fb69..31a9d005de2a 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create.json @@ -21,7 +21,7 @@ "https://uri1.to.supporting.script", "https://uri2.to.supporting.script" ], - "retentionInterval": "PT7D", + "retentionInterval": "P7D", "timeout": "PT1H", "cleanupPreference": "Always" } diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_No_UserManagedIdentity.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_No_UserManagedIdentity.json index 61cc35dbd7f2..fb8f67d13c42 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_No_UserManagedIdentity.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_No_UserManagedIdentity.json @@ -15,7 +15,7 @@ "https://uri1.to.supporting.script", "https://uri2.to.supporting.script" ], - "retentionInterval": "PT7D", + "retentionInterval": "P7D", "timeout": "PT1H", "cleanupPreference": "Always" } diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_Using_Custom_Aci_Name.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_Using_Custom_Aci_Name.json index 371e6a394db8..e6b0bd7b71a8 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_Using_Custom_Aci_Name.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_Using_Custom_Aci_Name.json @@ -24,7 +24,7 @@ "https://uri1.to.supporting.script", "https://uri2.to.supporting.script" ], - "retentionInterval": "PT7D", + "retentionInterval": "P7D", "timeout": "PT1H", "cleanupPreference": "Always" } diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_Using_Existing_StorageAccount.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_Using_Existing_StorageAccount.json index 704aea8b3a8c..bb06a1d1ff88 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_Using_Existing_StorageAccount.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_Using_Existing_StorageAccount.json @@ -25,7 +25,7 @@ "https://uri1.to.supporting.script", "https://uri2.to.supporting.script" ], - "retentionInterval": "PT7D", + "retentionInterval": "P7D", "timeout": "PT1H", "cleanupPreference": "Always" } diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Get.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Get.json index 553918eb5463..67e71839ac4c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Get.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Get.json @@ -29,7 +29,7 @@ "azPowerShellVersion": "1.7.0", "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name", "arguments": "-Location 'westus' -Name \"*rg2\"", - "retentionInterval": "PT7D", + "retentionInterval": "P7D", "timeout": "PT1H", "cleanupPreference": "Always", "status": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_ListBySubscription.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_ListBySubscription.json index 9ff921de6919..283746946a98 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_ListBySubscription.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_ListBySubscription.json @@ -29,7 +29,7 @@ "azPowerShellVersion": "1.7.0", "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name", "arguments": "-Location 'westus' -Name \"*rg2\"", - "retentionInterval": "PT7D", + "retentionInterval": "P7D", "timeout": "PT1H", "cleanupPreference": "Always", "status": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtManagementGroupScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtManagementGroupScopeDeployments.json new file mode 100644 index 000000000000..6e7b5ea08611 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtManagementGroupScopeDeployments.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "groupId": "my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtScopeDeployments.json new file mode 100644 index 000000000000..68d51a210f33 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtScopeDeployments.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtSubscriptionScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtSubscriptionScopeDeployments.json new file mode 100644 index 000000000000..362e052fc1ef --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtSubscriptionScopeDeployments.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtTenantScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtTenantScopeDeployments.json new file mode 100644 index 000000000000..5f3e54d005db --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelAtTenantScopeDeployments.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelDeployments.json new file mode 100644 index 000000000000..96873a35fc80 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CancelDeployments.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtManagementGroupScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtManagementGroupScopeDeployments.json new file mode 100644 index 000000000000..ce6c801286b0 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtManagementGroupScopeDeployments.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "groupId": "my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtScopeDeployments.json new file mode 100644 index 000000000000..5d0d0d2cb76d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtScopeDeployments.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtSubscriptionScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtSubscriptionScopeDeployments.json new file mode 100644 index 000000000000..a930b6612678 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtSubscriptionScopeDeployments.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtTenantScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtTenantScopeDeployments.json new file mode 100644 index 000000000000..de2cf19181b7 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceAtTenantScopeDeployments.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceByIdResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceByIdResources.json new file mode 100644 index 000000000000..0bfe7c31e07b --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceByIdResources.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "resourceId": "a", + "api-version": "2021-04-01" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceDeployments.json new file mode 100644 index 000000000000..d9a226ce8ecb --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceDeployments.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceResourceGroups.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceResourceGroups.json new file mode 100644 index 000000000000..2cc97a7f9550 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceResourceGroups.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceResources.json new file mode 100644 index 000000000000..7bc8524f54fa --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CheckExistenceResources.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "resourceProviderNamespace": "aaaaa", + "parentResourcePath": "aaaa", + "resourceType": "aaaaaaaaaa", + "resourceName": "aaaaaaaaaaaaaaaaa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateByIdResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateByIdResources.json new file mode 100644 index 000000000000..d734ad23e493 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateByIdResources.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "resourceId": "aaaaaaaaaa", + "api-version": "2021-04-01", + "parameters": {} + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": {} + }, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateResources.json new file mode 100644 index 000000000000..aeb4892e6b4c --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateResources.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "resourceProviderNamespace": "aa", + "parentResourcePath": "aaaaaaaaaaaaaaaaaa", + "resourceType": "aaaaaaaaaaaaaaaaaaa", + "resourceName": "aaaaaaaaaaaaaaaa", + "api-version": "2021-04-01", + "parameters": {}, + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": {} + }, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateTags.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateTags.json new file mode 100644 index 000000000000..0a58cb7eea20 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateTags.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "tagName": "aaaaaaaaaaaaaaaaaaaa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateValueTags.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateValueTags.json new file mode 100644 index 000000000000..9525a45be4b4 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/CreateOrUpdateValueTags.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "tagName": "aaaaaaa", + "tagValue": "aa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtManagementGroupScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtManagementGroupScopeDeployments.json new file mode 100644 index 000000000000..65a5e5ad9849 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtManagementGroupScopeDeployments.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "groupId": "my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtScopeDeployments.json new file mode 100644 index 000000000000..e06d9d50d200 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtScopeDeployments.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtScopeTags.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtScopeTags.json new file mode 100644 index 000000000000..e09737a208b9 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtScopeTags.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "api-version": "2021-04-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtSubscriptionScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtSubscriptionScopeDeployments.json new file mode 100644 index 000000000000..bf33ab5e4de6 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtSubscriptionScopeDeployments.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtTenantScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtTenantScopeDeployments.json new file mode 100644 index 000000000000..8c99521dae63 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteAtTenantScopeDeployments.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteByIdResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteByIdResources.json new file mode 100644 index 000000000000..61c5b6e5581d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteByIdResources.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2021-04-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteDeployments.json new file mode 100644 index 000000000000..d01b6be7b71e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteDeployments.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteResources.json new file mode 100644 index 000000000000..fc4b8e1b7101 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteResources.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "resourceProviderNamespace": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "parentResourcePath": "aaaaaaaaaaaa", + "resourceType": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "resourceName": "aaaaaa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteTags.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteTags.json new file mode 100644 index 000000000000..70c2222a0c34 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteTags.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "tagName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteValueTags.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteValueTags.json new file mode 100644 index 000000000000..7640c5cf3b5d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/DeleteValueTags.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "tagName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "tagValue": "aaaaaaaaaaaaaa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtManagementGroupScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtManagementGroupScopeDeployments.json new file mode 100644 index 000000000000..9df70c9f5054 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtManagementGroupScopeDeployments.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "groupId": "my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtScopeDeployments.json new file mode 100644 index 000000000000..fbff3dc39bac --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtScopeDeployments.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtSubscriptionScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtSubscriptionScopeDeployments.json new file mode 100644 index 000000000000..20f20fbbc774 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtSubscriptionScopeDeployments.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtTenantScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtTenantScopeDeployments.json new file mode 100644 index 000000000000..af8ff3adb11d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateAtTenantScopeDeployments.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateDeployments.json new file mode 100644 index 000000000000..e2502c98f26a --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ExportTemplateDeployments.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtManagementGroupScopeDeploymentOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtManagementGroupScopeDeploymentOperations.json new file mode 100644 index 000000000000..60bcc37260d8 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtManagementGroupScopeDeploymentOperations.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "groupId": "my-management-group-id", + "deploymentName": "my-deployment", + "operationId": "aaaaaaaaaaaaaaaa", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtManagementGroupScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtManagementGroupScopeDeployments.json new file mode 100644 index 000000000000..9df70c9f5054 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtManagementGroupScopeDeployments.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "groupId": "my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtScopeDeploymentOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtScopeDeploymentOperations.json new file mode 100644 index 000000000000..59c260185d97 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtScopeDeploymentOperations.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "deploymentName": "my-deployment", + "operationId": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtScopeDeployments.json new file mode 100644 index 000000000000..fbff3dc39bac --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtScopeDeployments.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtSubscriptionScopeDeploymentOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtSubscriptionScopeDeploymentOperations.json new file mode 100644 index 000000000000..c1d7e73523e0 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtSubscriptionScopeDeploymentOperations.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "operationId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtSubscriptionScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtSubscriptionScopeDeployments.json new file mode 100644 index 000000000000..20f20fbbc774 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtSubscriptionScopeDeployments.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtTenantScopeDeploymentOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtTenantScopeDeploymentOperations.json new file mode 100644 index 000000000000..8b5f7795d490 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtTenantScopeDeploymentOperations.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "operationId": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtTenantScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtTenantScopeDeployments.json new file mode 100644 index 000000000000..af8ff3adb11d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetAtTenantScopeDeployments.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetByIdResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetByIdResources.json new file mode 100644 index 000000000000..14c771b002d4 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetByIdResources.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetDeploymentOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetDeploymentOperations.json new file mode 100644 index 000000000000..ef50189570e4 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetDeploymentOperations.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "deploymentName": "my-deployment", + "operationId": "aaaaaaaaaaa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetDeployments.json new file mode 100644 index 000000000000..e2502c98f26a --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetDeployments.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetResourceGroups.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetResourceGroups.json new file mode 100644 index 000000000000..8ef97d3f6048 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetResourceGroups.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": { + "location": "eastus" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetResources.json new file mode 100644 index 000000000000..b4c6914dbc05 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/GetResources.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "resourceProviderNamespace": "aaaaaaaaaaaaaaaaaaaa", + "parentResourcePath": "aaaaaaaaaaaaaaaaaaaaa", + "resourceType": "aaaaaaaaaaaaaa", + "resourceName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtManagementGroupScopeDeploymentOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtManagementGroupScopeDeploymentOperations.json new file mode 100644 index 000000000000..9df70c9f5054 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtManagementGroupScopeDeploymentOperations.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "groupId": "my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtManagementGroupScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtManagementGroupScopeDeployments.json new file mode 100644 index 000000000000..28a934a6c052 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtManagementGroupScopeDeployments.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "groupId": "my-management-group-id", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtScopeDeploymentOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtScopeDeploymentOperations.json new file mode 100644 index 000000000000..fbff3dc39bac --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtScopeDeploymentOperations.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtScopeDeployments.json new file mode 100644 index 000000000000..7a693c649746 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtScopeDeployments.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtSubscriptionScopeDeploymentOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtSubscriptionScopeDeploymentOperations.json new file mode 100644 index 000000000000..20f20fbbc774 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtSubscriptionScopeDeploymentOperations.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtSubscriptionScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtSubscriptionScopeDeployments.json new file mode 100644 index 000000000000..27b9f1bcd637 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtSubscriptionScopeDeployments.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtTenantScopeDeploymentOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtTenantScopeDeploymentOperations.json new file mode 100644 index 000000000000..af8ff3adb11d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtTenantScopeDeploymentOperations.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtTenantScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtTenantScopeDeployments.json new file mode 100644 index 000000000000..9defbc83df6c --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtTenantScopeDeployments.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtTenantScopeProviders.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtTenantScopeProviders.json new file mode 100644 index 000000000000..9defbc83df6c --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListAtTenantScopeProviders.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListByResourceGroupDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListByResourceGroupDeployments.json new file mode 100644 index 000000000000..42e06159931f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListByResourceGroupDeployments.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListByResourceGroupResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListByResourceGroupResources.json new file mode 100644 index 000000000000..42e06159931f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListByResourceGroupResources.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListDeploymentOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListDeploymentOperations.json new file mode 100644 index 000000000000..e2502c98f26a --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListDeploymentOperations.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "deploymentName": "my-deployment", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListOperations.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListOperations.json new file mode 100644 index 000000000000..9defbc83df6c --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListOperations.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListResourceGroups.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListResourceGroups.json new file mode 100644 index 000000000000..27b9f1bcd637 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListResourceGroups.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListResources.json new file mode 100644 index 000000000000..27b9f1bcd637 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListResources.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListTags.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListTags.json new file mode 100644 index 000000000000..27b9f1bcd637 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ListTags.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/MoveResourcesResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/MoveResourcesResources.json new file mode 100644 index 000000000000..6303f5b4ba28 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/MoveResourcesResources.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "sourceResourceGroupName": "-_", + "parameters": {}, + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/RegisterAtManagementGroupScopeProviders.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/RegisterAtManagementGroupScopeProviders.json new file mode 100644 index 000000000000..56a51253a7bd --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/RegisterAtManagementGroupScopeProviders.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "resourceProviderNamespace": "aaa", + "api-version": "2021-04-01", + "groupId": "my-management-group-id" + }, + "responses": { + "200": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/RegisterProviders.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/RegisterProviders.json new file mode 100644 index 000000000000..39d1ccb2d375 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/RegisterProviders.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "resourceProviderNamespace": "aaa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UnregisterProviders.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UnregisterProviders.json new file mode 100644 index 000000000000..698388fd5639 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UnregisterProviders.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "resourceProviderNamespace": "aaaaaaaaa", + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateAtScopeTags.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateAtScopeTags.json new file mode 100644 index 000000000000..bda5c07330d5 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateAtScopeTags.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "api-version": "2021-04-01", + "parameters": {} + }, + "responses": { + "200": { + "body": { + "properties": {} + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateByIdResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateByIdResources.json new file mode 100644 index 000000000000..242056d63baf --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateByIdResources.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "resourceId": "aaaaa", + "api-version": "2021-04-01", + "parameters": {} + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateResourceGroups.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateResourceGroups.json new file mode 100644 index 000000000000..5eade2869a9f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateResourceGroups.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "parameters": {}, + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": { + "location": "eastus" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateResources.json new file mode 100644 index 000000000000..f61145777243 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/UpdateResources.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "resourceProviderNamespace": "aaaaaaaaaaaaaaaa", + "parentResourcePath": "aaaaaaaaaaaaaaaaaaaaaa", + "resourceType": "aaaaaaaa", + "resourceName": "aaaaaaaaaaaaaaaaaaaaa", + "api-version": "2021-04-01", + "parameters": {}, + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtManagementGroupScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtManagementGroupScopeDeployments.json new file mode 100644 index 000000000000..2dcd4bc78d70 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtManagementGroupScopeDeployments.json @@ -0,0 +1,618 @@ +{ + "parameters": { + "groupId": "my-management-group-id", + "deploymentName": "my-deployment", + "parameters": { + "location": "eastus", + "properties": { + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "aaaaaaaaaaaaaa", + "relativePath": "aaaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "queryString": "aaaaaaaaaaaaaa" + }, + "parameters": {}, + "mode": "Incremental", + "template": {}, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "expressionEvaluationOptions": { + "scope": "NotSpecified" + } + }, + "tags": {} + }, + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [], + "target": "aaaaaaa", + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + }, + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaa", + "properties": { + "key9141": "aaaaaaaaaaaaaaaaaaa" + } + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaa", + "properties": { + "key6777": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + ], + "id": "a", + "registrationState": "aaaaaaaaa", + "registrationPolicy": "aaaaaaaaaaa", + "providerAuthorizationConsentState": "NotSpecified" + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaaaa", + "properties": { + "key2392": "aaaaaaaaaaaaaaaa" + } + } + ], + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "registrationState": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "registrationPolicy": "aaaa", + "providerAuthorizationConsentState": "NotSpecified" + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyDefinitions/policy-definition-name", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy-definition-name" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ], + "outputs": {}, + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "aaaaaaaaaaaaaa", + "relativePath": "aaaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "queryString": "aaaaaaaaaaaaaa" + }, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "provisioningState": "aaaaaaaaaa", + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "templateHash": "aaaaaaaaaaaaaaaaaaa", + "outputResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "validatedResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "error": { + "code": "aaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaa", + "target": "aaaaa", + "details": [], + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + } + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "400": { + "body": { + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [], + "target": "aaaaaaa", + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + }, + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaa", + "properties": { + "key9141": "aaaaaaaaaaaaaaaaaaa" + } + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaa", + "properties": { + "key6777": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + ], + "id": "a", + "registrationState": "aaaaaaaaa", + "registrationPolicy": "aaaaaaaaaaa", + "providerAuthorizationConsentState": "NotSpecified" + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaaaa", + "properties": { + "key2392": "aaaaaaaaaaaaaaaa" + } + } + ], + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "registrationState": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "registrationPolicy": "aaaa", + "providerAuthorizationConsentState": "NotSpecified" + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyDefinitions/policy-definition-name", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy-definition-name" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ], + "outputs": {}, + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "aaaaaaaaaaaaaa", + "relativePath": "aaaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "queryString": "aaaaaaaaaaaaaa" + }, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "provisioningState": "aaaaaaaaaa", + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "templateHash": "aaaaaaaaaaaaaaaaaaa", + "outputResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "validatedResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "error": { + "code": "aaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaa", + "target": "aaaaa", + "details": [], + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtScopeDeployments.json new file mode 100644 index 000000000000..8dbd006b1a85 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtScopeDeployments.json @@ -0,0 +1,618 @@ +{ + "parameters": { + "scope": "providers/Microsoft.Management/managementGroups/my-management-group-id", + "deploymentName": "my-deployment", + "parameters": { + "location": "eastus", + "properties": { + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/my-resource-group/providers/Microsoft.Resources/TemplateSpecs/TemplateSpec-Name/versions/v1", + "relativePath": "aa", + "contentVersion": "1.0.0.0", + "queryString": "aaaaaaaaaaaaaaaaaaaaaaa" + }, + "parameters": {}, + "mode": "Incremental", + "template": {}, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "expressionEvaluationOptions": { + "scope": "NotSpecified" + } + }, + "tags": {} + }, + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [], + "target": "aaaaaaa", + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + }, + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaa", + "properties": { + "key9141": "aaaaaaaaaaaaaaaaaaa" + } + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaa", + "properties": { + "key6777": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + ], + "id": "a", + "registrationState": "aaaaaaaaa", + "registrationPolicy": "aaaaaaaaaaa", + "providerAuthorizationConsentState": "NotSpecified" + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaaaa", + "properties": { + "key2392": "aaaaaaaaaaaaaaaa" + } + } + ], + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "registrationState": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "registrationPolicy": "aaaa", + "providerAuthorizationConsentState": "NotSpecified" + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyDefinitions/policy-definition-name", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy-definition-name" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ], + "outputs": {}, + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/my-resource-group/providers/Microsoft.Resources/TemplateSpecs/TemplateSpec-Name/versions/v1", + "relativePath": "aa", + "contentVersion": "1.0.0.0", + "queryString": "aaaaaaaaaaaaaaaaaaaaaaa" + }, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "provisioningState": "aaaaaaaaaa", + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "templateHash": "aaaaaaaaaaaaaaaaaaa", + "outputResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "validatedResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "error": { + "code": "aaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaa", + "target": "aaaaa", + "details": [], + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + } + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "400": { + "body": { + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [], + "target": "aaaaaaa", + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + }, + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaa", + "properties": { + "key9141": "aaaaaaaaaaaaaaaaaaa" + } + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaa", + "properties": { + "key6777": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + ], + "id": "a", + "registrationState": "aaaaaaaaa", + "registrationPolicy": "aaaaaaaaaaa", + "providerAuthorizationConsentState": "NotSpecified" + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaaaa", + "properties": { + "key2392": "aaaaaaaaaaaaaaaa" + } + } + ], + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "registrationState": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "registrationPolicy": "aaaa", + "providerAuthorizationConsentState": "NotSpecified" + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyDefinitions/policy-definition-name", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy-definition-name" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ], + "outputs": {}, + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/my-resource-group/providers/Microsoft.Resources/TemplateSpecs/TemplateSpec-Name/versions/v1", + "relativePath": "aa", + "contentVersion": "1.0.0.0", + "queryString": "aaaaaaaaaaaaaaaaaaaaaaa" + }, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "provisioningState": "aaaaaaaaaa", + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "templateHash": "aaaaaaaaaaaaaaaaaaa", + "outputResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "validatedResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "error": { + "code": "aaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaa", + "target": "aaaaa", + "details": [], + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtSubscriptionScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtSubscriptionScopeDeployments.json new file mode 100644 index 000000000000..d1f0089f934f --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtSubscriptionScopeDeployments.json @@ -0,0 +1,618 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "parameters": { + "location": "eastus", + "properties": { + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/my-resource-group/providers/Microsoft.Resources/TemplateSpecs/TemplateSpec-Name/versions/v1", + "relativePath": "aa", + "contentVersion": "1.0.0.0", + "queryString": "aaaaaaaaaaaaaaaaaaaaaaa" + }, + "parameters": {}, + "mode": "Incremental", + "template": {}, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "expressionEvaluationOptions": { + "scope": "NotSpecified" + } + }, + "tags": {} + }, + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [], + "target": "aaaaaaa", + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + }, + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaa", + "properties": { + "key9141": "aaaaaaaaaaaaaaaaaaa" + } + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaa", + "properties": { + "key6777": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + ], + "id": "a", + "registrationState": "aaaaaaaaa", + "registrationPolicy": "aaaaaaaaaaa", + "providerAuthorizationConsentState": "NotSpecified" + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaaaa", + "properties": { + "key2392": "aaaaaaaaaaaaaaaa" + } + } + ], + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "registrationState": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "registrationPolicy": "aaaa", + "providerAuthorizationConsentState": "NotSpecified" + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyDefinitions/policy-definition-name", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy-definition-name" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ], + "outputs": {}, + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/my-resource-group/providers/Microsoft.Resources/TemplateSpecs/TemplateSpec-Name/versions/v1", + "relativePath": "aa", + "contentVersion": "1.0.0.0", + "queryString": "aaaaaaaaaaaaaaaaaaaaaaa" + }, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "provisioningState": "aaaaaaaaaa", + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "templateHash": "aaaaaaaaaaaaaaaaaaa", + "outputResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "validatedResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "error": { + "code": "aaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaa", + "target": "aaaaa", + "details": [], + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + } + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "400": { + "body": { + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [], + "target": "aaaaaaa", + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + }, + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaa", + "properties": { + "key9141": "aaaaaaaaaaaaaaaaaaa" + } + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaa", + "properties": { + "key6777": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + ], + "id": "a", + "registrationState": "aaaaaaaaa", + "registrationPolicy": "aaaaaaaaaaa", + "providerAuthorizationConsentState": "NotSpecified" + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaaaa", + "properties": { + "key2392": "aaaaaaaaaaaaaaaa" + } + } + ], + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "registrationState": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "registrationPolicy": "aaaa", + "providerAuthorizationConsentState": "NotSpecified" + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyDefinitions/policy-definition-name", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy-definition-name" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ], + "outputs": {}, + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/my-resource-group/providers/Microsoft.Resources/TemplateSpecs/TemplateSpec-Name/versions/v1", + "relativePath": "aa", + "contentVersion": "1.0.0.0", + "queryString": "aaaaaaaaaaaaaaaaaaaaaaa" + }, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "provisioningState": "aaaaaaaaaa", + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "templateHash": "aaaaaaaaaaaaaaaaaaa", + "outputResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "validatedResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "error": { + "code": "aaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaa", + "target": "aaaaa", + "details": [], + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtTenantScopeDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtTenantScopeDeployments.json new file mode 100644 index 000000000000..1f73e092806b --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateAtTenantScopeDeployments.json @@ -0,0 +1,617 @@ +{ + "parameters": { + "deploymentName": "my-deployment", + "parameters": { + "location": "eastus", + "properties": { + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "aaaaaaaaaaaaaa", + "relativePath": "aaaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "queryString": "aaaaaaaaaaaaaa" + }, + "parameters": {}, + "mode": "Incremental", + "template": {}, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "expressionEvaluationOptions": { + "scope": "NotSpecified" + } + }, + "tags": {} + }, + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [], + "target": "aaaaaaa", + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + }, + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaa", + "properties": { + "key9141": "aaaaaaaaaaaaaaaaaaa" + } + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaa", + "properties": { + "key6777": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + ], + "id": "a", + "registrationState": "aaaaaaaaa", + "registrationPolicy": "aaaaaaaaaaa", + "providerAuthorizationConsentState": "NotSpecified" + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaaaa", + "properties": { + "key2392": "aaaaaaaaaaaaaaaa" + } + } + ], + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "registrationState": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "registrationPolicy": "aaaa", + "providerAuthorizationConsentState": "NotSpecified" + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyDefinitions/policy-definition-name", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy-definition-name" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ], + "outputs": {}, + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "aaaaaaaaaaaaaa", + "relativePath": "aaaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "queryString": "aaaaaaaaaaaaaa" + }, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "provisioningState": "aaaaaaaaaa", + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "templateHash": "aaaaaaaaaaaaaaaaaaa", + "outputResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "validatedResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "error": { + "code": "aaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaa", + "target": "aaaaa", + "details": [], + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + } + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "400": { + "body": { + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [], + "target": "aaaaaaa", + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + }, + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaa", + "properties": { + "key9141": "aaaaaaaaaaaaaaaaaaa" + } + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaa", + "properties": { + "key6777": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + ], + "id": "a", + "registrationState": "aaaaaaaaa", + "registrationPolicy": "aaaaaaaaaaa", + "providerAuthorizationConsentState": "NotSpecified" + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaaaa", + "properties": { + "key2392": "aaaaaaaaaaaaaaaa" + } + } + ], + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "registrationState": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "registrationPolicy": "aaaa", + "providerAuthorizationConsentState": "NotSpecified" + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyDefinitions/policy-definition-name", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy-definition-name" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ], + "outputs": {}, + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "aaaaaaaaaaaaaa", + "relativePath": "aaaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "queryString": "aaaaaaaaaaaaaa" + }, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "provisioningState": "aaaaaaaaaa", + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "templateHash": "aaaaaaaaaaaaaaaaaaa", + "outputResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "validatedResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "error": { + "code": "aaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaa", + "target": "aaaaa", + "details": [], + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateDeployments.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateDeployments.json new file mode 100644 index 000000000000..1330f4ae3b83 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateDeployments.json @@ -0,0 +1,619 @@ +{ + "parameters": { + "resourceGroupName": "rgresources", + "deploymentName": "my-deployment", + "parameters": { + "location": "eastus", + "properties": { + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/my-resource-group/providers/Microsoft.Resources/TemplateSpecs/TemplateSpec-Name/versions/v1", + "relativePath": "aa", + "contentVersion": "1.0.0.0", + "queryString": "aaaaaaaaaaaaaaaaaaaaaaa" + }, + "parameters": {}, + "mode": "Incremental", + "template": {}, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "expressionEvaluationOptions": { + "scope": "NotSpecified" + } + }, + "tags": {} + }, + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [], + "target": "aaaaaaa", + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + }, + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaa", + "properties": { + "key9141": "aaaaaaaaaaaaaaaaaaa" + } + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaa", + "properties": { + "key6777": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + ], + "id": "a", + "registrationState": "aaaaaaaaa", + "registrationPolicy": "aaaaaaaaaaa", + "providerAuthorizationConsentState": "NotSpecified" + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaaaa", + "properties": { + "key2392": "aaaaaaaaaaaaaaaa" + } + } + ], + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "registrationState": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "registrationPolicy": "aaaa", + "providerAuthorizationConsentState": "NotSpecified" + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyDefinitions/policy-definition-name", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy-definition-name" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ], + "outputs": {}, + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/my-resource-group/providers/Microsoft.Resources/TemplateSpecs/TemplateSpec-Name/versions/v1", + "relativePath": "aa", + "contentVersion": "1.0.0.0", + "queryString": "aaaaaaaaaaaaaaaaaaaaaaa" + }, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "provisioningState": "aaaaaaaaaa", + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "templateHash": "aaaaaaaaaaaaaaaaaaa", + "outputResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "validatedResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "error": { + "code": "aaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaa", + "target": "aaaaa", + "details": [], + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + } + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "400": { + "body": { + "error": { + "code": "ExportTemplateCompletedWithErrors", + "message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.", + "details": [], + "target": "aaaaaaa", + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + }, + "properties": { + "parameters": {}, + "mode": "Incremental", + "provisioningState": "Accepted", + "timestamp": "2019-04-24T22:52:38.7895563Z", + "duration": "PT1.2970875S", + "correlationId": "00000000-0000-0000-0000-000000000000", + "providers": [ + { + "namespace": "Microsoft.Authorization", + "resourceTypes": [ + { + "resourceType": "policyDefinitions", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaa", + "properties": { + "key9141": "aaaaaaaaaaaaaaaaaaa" + } + }, + { + "resourceType": "policyAssignments", + "locations": [ + null + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaaaaaaaaaaaaa" + ], + "defaultApiVersion": "aa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaa", + "properties": { + "key6777": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + ], + "id": "a", + "registrationState": "aaaaaaaaa", + "registrationPolicy": "aaaaaaaaaaa", + "providerAuthorizationConsentState": "NotSpecified" + }, + { + "namespace": "Microsoft.Resources", + "resourceTypes": [ + { + "resourceType": "deployments", + "locations": [ + "eastus" + ], + "locationMappings": [ + { + "location": "aaaaaaaaaaaaa", + "type": "aaaaaaaaaaa", + "extendedLocations": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ] + } + ], + "aliases": [ + { + "name": "aaaaa", + "paths": [ + { + "path": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "apiVersions": [ + "aaaaaaaaaa" + ], + "pattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "metadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "type": "NotSpecified", + "defaultPath": "aaaaaaaaaaaaaaaaaaaaaaaa", + "defaultPattern": { + "phrase": "aaaaaaaaaaaaaaaaaaa", + "variable": "aaaaaaaaaaaa", + "type": "NotSpecified" + }, + "defaultMetadata": { + "type": "NotSpecified", + "attributes": "None" + } + } + ], + "apiVersions": [ + "aaaaaa" + ], + "defaultApiVersion": "aaaaaaa", + "apiProfiles": [ + { + "profileVersion": "aaaaa", + "apiVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + ], + "capabilities": "aaaaaaaaaaaaaaaa", + "properties": { + "key2392": "aaaaaaaaaaaaaaaa" + } + } + ], + "id": "aaaaaaaaaaaaaaaaaaaaaa", + "registrationState": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "registrationPolicy": "aaaa", + "providerAuthorizationConsentState": "NotSpecified" + } + ], + "dependencies": [ + { + "dependsOn": [ + { + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyDefinitions/policy-definition-name", + "resourceType": "Microsoft.Authorization/policyDefinitions", + "resourceName": "policy-definition-name" + } + ], + "id": "/providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Authorization/policyAssignments/location-lock", + "resourceType": "Microsoft.Authorization/policyAssignments", + "resourceName": "location-lock" + } + ], + "outputs": {}, + "templateLink": { + "uri": "https://example.com/exampleTemplate.json", + "id": "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/my-resource-group/providers/Microsoft.Resources/TemplateSpecs/TemplateSpec-Name/versions/v1", + "relativePath": "aa", + "contentVersion": "1.0.0.0", + "queryString": "aaaaaaaaaaaaaaaaaaaaaaa" + }, + "parametersLink": { + "uri": "aaaaaa", + "contentVersion": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "debugSetting": { + "detailLevel": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "onErrorDeployment": { + "provisioningState": "aaaaaaaaaa", + "type": "LastSuccessful", + "deploymentName": "aaaaaaaaaa" + }, + "templateHash": "aaaaaaaaaaaaaaaaaaa", + "outputResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "validatedResources": [ + { + "id": "aaaaaaaaaaaaaaaaa" + } + ], + "error": { + "code": "aaaaaaaaaaaaaaaa", + "message": "aaaaaaaaaaaaa", + "target": "aaaaa", + "details": [], + "additionalInfo": [ + { + "type": "aaaaaa", + "info": {} + } + ] + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateMoveResourcesResources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateMoveResourcesResources.json new file mode 100644 index 000000000000..529d583dbacb --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ValidateMoveResourcesResources.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "sourceResourceGroupName": "_-_.(", + "parameters": {}, + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000001" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/resources.json index 29cd3e0ecbf0..ce72a584d80d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/resources.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/resources.json @@ -62,6 +62,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListOperations": { + "$ref": "./examples/ListOperations.json" + } } } }, @@ -98,7 +103,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DeleteAtScopeDeployments": { + "$ref": "./examples/DeleteAtScopeDeployments.json" + } + } }, "head": { "tags": [ @@ -130,6 +140,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CheckExistenceAtScopeDeployments": { + "$ref": "./examples/CheckExistenceAtScopeDeployments.json" + } } }, "put": { @@ -216,6 +231,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetAtScopeDeployments": { + "$ref": "./examples/GetAtScopeDeployments.json" + } } } }, @@ -248,6 +268,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CancelAtScopeDeployments": { + "$ref": "./examples/CancelAtScopeDeployments.json" + } } } }, @@ -301,6 +326,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ValidateAtScopeDeployments": { + "$ref": "./examples/ValidateAtScopeDeployments.json" + } } } }, @@ -335,6 +365,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ExportTemplateAtScopeDeployments": { + "$ref": "./examples/ExportTemplateAtScopeDeployments.json" + } } } }, @@ -385,7 +420,12 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + "x-ms-odata": "#/definitions/DeploymentExtendedFilter", + "x-ms-examples": { + "ListAtScopeDeployments": { + "$ref": "./examples/ListAtScopeDeployments.json" + } + } } }, "/providers/Microsoft.Resources/deployments/{deploymentName}": { @@ -418,7 +458,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DeleteAtTenantScopeDeployments": { + "$ref": "./examples/DeleteAtTenantScopeDeployments.json" + } + } }, "head": { "tags": [ @@ -447,6 +492,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CheckExistenceAtTenantScopeDeployments": { + "$ref": "./examples/CheckExistenceAtTenantScopeDeployments.json" + } } }, "put": { @@ -527,6 +577,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetAtTenantScopeDeployments": { + "$ref": "./examples/GetAtTenantScopeDeployments.json" + } } } }, @@ -556,6 +611,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CancelAtTenantScopeDeployments": { + "$ref": "./examples/CancelAtTenantScopeDeployments.json" + } } } }, @@ -606,6 +666,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ValidateAtTenantScopeDeployments": { + "$ref": "./examples/ValidateAtTenantScopeDeployments.json" + } } } }, @@ -699,6 +764,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ExportTemplateAtTenantScopeDeployments": { + "$ref": "./examples/ExportTemplateAtTenantScopeDeployments.json" + } } } }, @@ -746,7 +816,12 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + "x-ms-odata": "#/definitions/DeploymentExtendedFilter", + "x-ms-examples": { + "ListAtTenantScopeDeployments": { + "$ref": "./examples/ListAtTenantScopeDeployments.json" + } + } } }, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}": { @@ -782,7 +857,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DeleteAtManagementGroupScopeDeployments": { + "$ref": "./examples/DeleteAtManagementGroupScopeDeployments.json" + } + } }, "head": { "tags": [ @@ -814,6 +894,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CheckExistenceAtManagementGroupScopeDeployments": { + "$ref": "./examples/CheckExistenceAtManagementGroupScopeDeployments.json" + } } }, "put": { @@ -900,6 +985,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetAtManagementGroupScopeDeployments": { + "$ref": "./examples/GetAtManagementGroupScopeDeployments.json" + } } } }, @@ -932,6 +1022,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CancelAtManagementGroupScopeDeployments": { + "$ref": "./examples/CancelAtManagementGroupScopeDeployments.json" + } } } }, @@ -985,6 +1080,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ValidateAtManagementGroupScopeDeployments": { + "$ref": "./examples/ValidateAtManagementGroupScopeDeployments.json" + } } } }, @@ -1084,6 +1184,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ExportTemplateAtManagementGroupScopeDeployments": { + "$ref": "./examples/ExportTemplateAtManagementGroupScopeDeployments.json" + } } } }, @@ -1134,7 +1239,12 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + "x-ms-odata": "#/definitions/DeploymentExtendedFilter", + "x-ms-examples": { + "ListAtManagementGroupScopeDeployments": { + "$ref": "./examples/ListAtManagementGroupScopeDeployments.json" + } + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}": { @@ -1170,7 +1280,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DeleteAtSubscriptionScopeDeployments": { + "$ref": "./examples/DeleteAtSubscriptionScopeDeployments.json" + } + } }, "head": { "tags": [ @@ -1202,6 +1317,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CheckExistenceAtSubscriptionScopeDeployments": { + "$ref": "./examples/CheckExistenceAtSubscriptionScopeDeployments.json" + } } }, "put": { @@ -1288,6 +1408,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetAtSubscriptionScopeDeployments": { + "$ref": "./examples/GetAtSubscriptionScopeDeployments.json" + } } } }, @@ -1320,6 +1445,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CancelAtSubscriptionScopeDeployments": { + "$ref": "./examples/CancelAtSubscriptionScopeDeployments.json" + } } } }, @@ -1373,6 +1503,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ValidateAtSubscriptionScopeDeployments": { + "$ref": "./examples/ValidateAtSubscriptionScopeDeployments.json" + } } } }, @@ -1472,6 +1607,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ExportTemplateAtSubscriptionScopeDeployments": { + "$ref": "./examples/ExportTemplateAtSubscriptionScopeDeployments.json" + } } } }, @@ -1522,7 +1662,12 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + "x-ms-odata": "#/definitions/DeploymentExtendedFilter", + "x-ms-examples": { + "ListAtSubscriptionScopeDeployments": { + "$ref": "./examples/ListAtSubscriptionScopeDeployments.json" + } + } } }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}": { @@ -1568,7 +1713,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DeleteDeployments": { + "$ref": "./examples/DeleteDeployments.json" + } + } }, "head": { "tags": [ @@ -1610,6 +1760,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CheckExistenceDeployments": { + "$ref": "./examples/CheckExistenceDeployments.json" + } } }, "put": { @@ -1725,6 +1880,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetDeployments": { + "$ref": "./examples/GetDeployments.json" + } } } }, @@ -1767,6 +1927,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CancelDeployments": { + "$ref": "./examples/CancelDeployments.json" + } } } }, @@ -1830,6 +1995,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ValidateDeployments": { + "$ref": "./examples/ValidateDeployments.json" + } } } }, @@ -1949,6 +2119,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ExportTemplateDeployments": { + "$ref": "./examples/ExportTemplateDeployments.json" + } } } }, @@ -2009,7 +2184,12 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-odata": "#/definitions/DeploymentExtendedFilter" + "x-ms-odata": "#/definitions/DeploymentExtendedFilter", + "x-ms-examples": { + "ListByResourceGroupDeployments": { + "$ref": "./examples/ListByResourceGroupDeployments.json" + } + } } }, "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister": { @@ -2047,6 +2227,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "UnregisterProviders": { + "$ref": "./examples/UnregisterProviders.json" + } } } }, @@ -2082,6 +2267,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "RegisterAtManagementGroupScopeProviders": { + "$ref": "./examples/RegisterAtManagementGroupScopeProviders.json" + } } } }, @@ -2172,6 +2362,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "RegisterProviders": { + "$ref": "./examples/RegisterProviders.json" + } } } }, @@ -2256,6 +2451,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListAtTenantScopeProviders": { + "$ref": "./examples/ListAtTenantScopeProviders.json" + } } } }, @@ -2470,7 +2670,12 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-odata": "#/definitions/GenericResourceFilter" + "x-ms-odata": "#/definitions/GenericResourceFilter", + "x-ms-examples": { + "ListByResourceGroupResources": { + "$ref": "./examples/ListByResourceGroupResources.json" + } + } } }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}": { @@ -2511,6 +2716,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CheckExistenceResourceGroups": { + "$ref": "./examples/CheckExistenceResourceGroups.json" + } } }, "put": { @@ -2665,6 +2875,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetResourceGroups": { + "$ref": "./examples/GetResourceGroups.json" + } } }, "patch": { @@ -2714,6 +2929,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "UpdateResourceGroups": { + "$ref": "./examples/UpdateResourceGroups.json" + } } } }, @@ -2822,7 +3042,12 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-odata": "#/definitions/ResourceGroupFilter" + "x-ms-odata": "#/definitions/ResourceGroupFilter", + "x-ms-examples": { + "ListResourceGroups": { + "$ref": "./examples/ListResourceGroups.json" + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources": { @@ -2874,7 +3099,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "MoveResourcesResources": { + "$ref": "./examples/MoveResourcesResources.json" + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/validateMoveResources": { @@ -2926,7 +3156,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "ValidateMoveResourcesResources": { + "$ref": "./examples/ValidateMoveResourcesResources.json" + } + } } }, "/subscriptions/{subscriptionId}/resources": { @@ -2983,7 +3218,12 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-odata": "#/definitions/GenericResourceFilter" + "x-ms-odata": "#/definitions/GenericResourceFilter", + "x-ms-examples": { + "ListResources": { + "$ref": "./examples/ListResources.json" + } + } } }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}": { @@ -3059,6 +3299,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CheckExistenceResources": { + "$ref": "./examples/CheckExistenceResources.json" + } } }, "delete": { @@ -3137,7 +3382,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DeleteResources": { + "$ref": "./examples/DeleteResources.json" + } + } }, "put": { "tags": [ @@ -3230,7 +3480,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "CreateOrUpdateResources": { + "$ref": "./examples/CreateOrUpdateResources.json" + } + } }, "patch": { "tags": [ @@ -3317,7 +3572,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "UpdateResources": { + "$ref": "./examples/UpdateResources.json" + } + } }, "get": { "tags": [ @@ -3391,6 +3651,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetResources": { + "$ref": "./examples/GetResources.json" + } } } }, @@ -3432,6 +3697,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CheckExistenceByIdResources": { + "$ref": "./examples/CheckExistenceByIdResources.json" + } } }, "delete": { @@ -3475,7 +3745,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "DeleteByIdResources": { + "$ref": "./examples/DeleteByIdResources.json" + } + } }, "put": { "tags": [ @@ -3533,7 +3808,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "CreateOrUpdateByIdResources": { + "$ref": "./examples/CreateOrUpdateByIdResources.json" + } + } }, "patch": { "tags": [ @@ -3585,7 +3865,12 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "UpdateByIdResources": { + "$ref": "./examples/UpdateByIdResources.json" + } + } }, "get": { "tags": [ @@ -3624,6 +3909,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetByIdResources": { + "$ref": "./examples/GetByIdResources.json" + } } } }, @@ -3670,6 +3960,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "DeleteValueTags": { + "$ref": "./examples/DeleteValueTags.json" + } } }, "put": { @@ -3720,6 +4015,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CreateOrUpdateValueTags": { + "$ref": "./examples/CreateOrUpdateValueTags.json" + } } } }, @@ -3765,6 +4065,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "CreateOrUpdateTags": { + "$ref": "./examples/CreateOrUpdateTags.json" + } } }, "delete": { @@ -3802,6 +4107,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "DeleteTags": { + "$ref": "./examples/DeleteTags.json" + } } } }, @@ -3837,6 +4147,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListTags": { + "$ref": "./examples/ListTags.json" + } } } }, @@ -3878,6 +4193,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetAtScopeDeploymentOperations": { + "$ref": "./examples/GetAtScopeDeploymentOperations.json" + } } } }, @@ -3923,6 +4243,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListAtScopeDeploymentOperations": { + "$ref": "./examples/ListAtScopeDeploymentOperations.json" + } } } }, @@ -3961,6 +4286,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetAtTenantScopeDeploymentOperations": { + "$ref": "./examples/GetAtTenantScopeDeploymentOperations.json" + } } } }, @@ -4003,6 +4333,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListAtTenantScopeDeploymentOperations": { + "$ref": "./examples/ListAtTenantScopeDeploymentOperations.json" + } } } }, @@ -4044,6 +4379,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetAtManagementGroupScopeDeploymentOperations": { + "$ref": "./examples/GetAtManagementGroupScopeDeploymentOperations.json" + } } } }, @@ -4089,6 +4429,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListAtManagementGroupScopeDeploymentOperations": { + "$ref": "./examples/ListAtManagementGroupScopeDeploymentOperations.json" + } } } }, @@ -4130,6 +4475,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetAtSubscriptionScopeDeploymentOperations": { + "$ref": "./examples/GetAtSubscriptionScopeDeploymentOperations.json" + } } } }, @@ -4175,6 +4525,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListAtSubscriptionScopeDeploymentOperations": { + "$ref": "./examples/ListAtSubscriptionScopeDeploymentOperations.json" + } } } }, @@ -4226,6 +4581,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "GetDeploymentOperations": { + "$ref": "./examples/GetDeploymentOperations.json" + } } } }, @@ -4281,6 +4641,11 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListDeploymentOperations": { + "$ref": "./examples/ListDeploymentOperations.json" + } } } }, @@ -4409,6 +4774,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "UpdateAtScopeTags": { + "$ref": "./examples/UpdateAtScopeTags.json" + } } }, "get": { @@ -4472,6 +4842,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "DeleteAtScopeTags": { + "$ref": "./examples/DeleteAtScopeTags.json" + } } } }