From 0bbb664b337da64df7ff939884818e67b4b11094 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Thu, 16 Mar 2023 18:00:56 -0400 Subject: [PATCH 01/17] Added 2022-08 API Version files --- custom-words.txt | 1 + .../2022-08-01-preview/deploymentStacks.json | 1353 +++++++++++++++++ .../DeploymentStackExportTemplate.json | 37 + .../DeploymentStackManagementGroupCreate.json | 93 ++ .../DeploymentStackManagementGroupDelete.json | 16 + ...entStackManagementGroupExportTemplate.json | 35 + .../DeploymentStackManagementGroupGet.json | 60 + .../DeploymentStackManagementGroupList.json | 94 ++ .../DeploymentStackResourceGroupCreate.json | 94 ++ .../DeploymentStackResourceGroupDelete.json | 17 + .../DeploymentStackResourceGroupGet.json | 61 + .../DeploymentStackResourceGroupList.json | 95 ++ .../DeploymentStackSubscriptionCreate.json | 93 ++ .../DeploymentStackSubscriptionDelete.json | 16 + ...oymentStackSubscriptionExportTemplate.json | 35 + .../DeploymentStackSubscriptionGet.json | 60 + .../DeploymentStackSubscriptionList.json | 94 ++ .../resources/resource-manager/readme.md | 24 +- .../resource-manager/readme.python.md | 18 + 19 files changed, 2295 insertions(+), 1 deletion(-) create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackExportTemplate.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupDelete.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupExportTemplate.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupDelete.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionDelete.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionExportTemplate.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json diff --git a/custom-words.txt b/custom-words.txt index 76a7eb6457f1..49dab64626c3 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2266,6 +2266,7 @@ unitless unixtime unleased unlocalized +Unmanage unmanaged unmonitored UNOA diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json new file mode 100644 index 000000000000..39aa1d7af97e --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json @@ -0,0 +1,1353 @@ +{ + "swagger": "2.0", + "info": { + "title": "DeploymentStacksClient", + "description": "The APIs listed in this specification can be used to manage deployment stack resources through the Azure Resource Manager.", + "version": "2022-08-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks": { + "get": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_ListAtResourceGroup", + "description": "Lists all the Deployment Stacks within the specified resource group.", + "x-ms-examples": { + "DeploymentStacksList": { + "$ref": "./examples/DeploymentStackResourceGroupList.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of Deployment Stacks.", + "schema": { + "$ref": "#/definitions/DeploymentStackListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks": { + "get": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_ListAtSubscription", + "description": "Lists all the Deployment Stacks within the specified subscription.", + "x-ms-examples": { + "DeploymentStacksList": { + "$ref": "./examples/DeploymentStackSubscriptionList.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of Deployment Stacks.", + "schema": { + "$ref": "#/definitions/DeploymentStackListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks": { + "get": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_ListAtManagementGroup", + "description": "Lists all the Deployment Stacks within the specified management group.", + "x-ms-examples": { + "DeploymentStacksList": { + "$ref": "./examples/DeploymentStackManagementGroupList.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of Deployment Stacks.", + "schema": { + "$ref": "#/definitions/DeploymentStackListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}": { + "put": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_CreateOrUpdateAtResourceGroup", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "description": "Creates or updates a Deployment Stack.", + "x-ms-examples": { + "DeploymentStacksCreateOrUpdate": { + "$ref": "./examples/DeploymentStackResourceGroupCreate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "deploymentStack", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeploymentStack" + }, + "description": "Deployment Stack supplied to the operation." + } + ], + "responses": { + "200": { + "description": "OK - The Deployment Stack update request has succeeded.", + "schema": { + "$ref": "#/definitions/DeploymentStack" + } + }, + "201": { + "description": "Deployment Stack created.", + "schema": { + "$ref": "#/definitions/DeploymentStack" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + }, + "get": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_GetAtResourceGroup", + "description": "Gets a Deployment Stack with a given name.", + "x-ms-examples": { + "DeploymentStacksGet": { + "$ref": "./examples/DeploymentStackResourceGroupGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the Deployment Stack.", + "schema": { + "$ref": "#/definitions/DeploymentStack" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + }, + "delete": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_DeleteAtResourceGroup", + "description": "Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content.", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "DeploymentStacksDelete": { + "$ref": "./examples/DeploymentStackResourceGroupDelete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "#/parameters/DeleteResourceParameter" + }, + { + "$ref": "#/parameters/DeleteResourceGroupParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Deployment Stack deleted." + }, + "202": { + "description": "Accepted - Check location header for deletion status.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "Deployment Stack does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}": { + "put": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_CreateOrUpdateAtSubscription", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "description": "Creates or updates a Deployment Stack.", + "x-ms-examples": { + "DeploymentStacksCreateOrUpdate": { + "$ref": "./examples/DeploymentStackSubscriptionCreate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "deploymentStack", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeploymentStack" + }, + "description": "Deployment Stack supplied to the operation." + } + ], + "responses": { + "200": { + "description": "OK - The Deployment Stack update request has succeeded.", + "schema": { + "$ref": "#/definitions/DeploymentStack" + } + }, + "201": { + "description": "Deployment Stack created.", + "schema": { + "$ref": "#/definitions/DeploymentStack" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + }, + "get": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_GetAtSubscription", + "description": "Gets a Deployment Stack with a given name.", + "x-ms-examples": { + "DeploymentStacksGet": { + "$ref": "./examples/DeploymentStackSubscriptionGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the Deployment Stack.", + "schema": { + "$ref": "#/definitions/DeploymentStack" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + }, + "delete": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_DeleteAtSubscription", + "description": "Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content.", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "DeploymentStacksDelete": { + "$ref": "./examples/DeploymentStackSubscriptionDelete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "#/parameters/DeleteResourceParameter" + }, + { + "$ref": "#/parameters/DeleteResourceGroupParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Deployment Stack deleted." + }, + "202": { + "description": "Accepted - Check location header for deletion status.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "Deployment Stack does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}": { + "put": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_CreateOrUpdateAtManagementGroup", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "description": "Creates or updates a Deployment Stack.", + "x-ms-examples": { + "DeploymentStacksCreateOrUpdate": { + "$ref": "./examples/DeploymentStackManagementGroupCreate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "deploymentStack", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DeploymentStack" + }, + "description": "Deployment Stack supplied to the operation." + } + ], + "responses": { + "200": { + "description": "OK - The Deployment Stack update request has succeeded.", + "schema": { + "$ref": "#/definitions/DeploymentStack" + } + }, + "201": { + "description": "Deployment Stack created.", + "schema": { + "$ref": "#/definitions/DeploymentStack" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + }, + "get": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_GetAtManagementGroup", + "description": "Gets a Deployment Stack with a given name.", + "x-ms-examples": { + "DeploymentStacksGet": { + "$ref": "./examples/DeploymentStackManagementGroupGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the Deployment Stack.", + "schema": { + "$ref": "#/definitions/DeploymentStack" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + }, + "delete": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_DeleteAtManagementGroup", + "description": "Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content.", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "DeploymentStacksDelete": { + "$ref": "./examples/DeploymentStackManagementGroupDelete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "#/parameters/DeleteResourceParameter" + }, + { + "$ref": "#/parameters/DeleteResourceGroupParameter" + }, + { + "$ref": "#/parameters/DeleteManagementGroupParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Deployment Stack deleted." + }, + "202": { + "description": "Accepted - Check location header for deletion status.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "Deployment Stack does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate": { + "post": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_ExportTemplateAtResourceGroup", + "description": "Exports the template used to create the deployment stack.", + "x-ms-examples": { + "DeploymentStacksExportTemplate": { + "$ref": "./examples/DeploymentStackExportTemplate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the Template or TemplateLink payload of the deployment stack.", + "schema": { + "$ref": "#/definitions/DeploymentStackTemplateDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate": { + "post": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_ExportTemplateAtSubscription", + "description": "Exports the template used to create the deployment stack.", + "x-ms-examples": { + "DeploymentStacksExportTemplate": { + "$ref": "./examples/DeploymentStackSubscriptionExportTemplate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the Template or TemplateLink payload of the deployment stack.", + "schema": { + "$ref": "#/definitions/DeploymentStackTemplateDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate": { + "post": { + "tags": [ + "DeploymentStacks" + ], + "operationId": "DeploymentStacks_ExportTemplateAtManagementGroup", + "description": "Exports the template used to create the deployment stack.", + "x-ms-examples": { + "DeploymentStacksExportTemplate": { + "$ref": "./examples/DeploymentStackManagementGroupExportTemplate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ManagementGroupIdParameter" + }, + { + "$ref": "#/parameters/DeploymentStackNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the Template or TemplateLink payload of the deployment stack.", + "schema": { + "$ref": "#/definitions/DeploymentStackTemplateDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/DeploymentStacksError" + } + } + } + } + } + }, + "definitions": { + "DeploymentStack": { + "type": "object", + "description": "Deployment stack object.", + "allOf": [ + { + "$ref": "#/definitions/AzureResourceBase" + } + ], + "properties": { + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The location of the deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations." + }, + "tags": { + "type": "object", + "description": "Deployment stack resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "Deployment stack properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DeploymentStackProperties" + } + } + }, + "DeploymentStackPropertiesShared": { + "description": "Properties shared between a deployment stack and a deployment stack snapshot.", + "required": [ + "actionOnUnmanage" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DeploymentStacksError" + } + ], + "properties": { + "template": { + "type": "object", + "description": "The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "templateLink": { + "type": "object", + "$ref": "#/definitions/DeploymentStacksTemplateLink", + "description": "The URI of the template. Use either the templateLink property or the template property, but not both.", + "x-ms-mutability": [ + "create", + "update" + ] + }, + "parameters": { + "type": "object", + "description": "Name and value pairs that define the deployment parameters for the template. Use this element when providing the parameter values directly in the request, rather than linking to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string." + }, + "parametersLink": { + "type": "object", + "$ref": "#/definitions/DeploymentStacksParametersLink", + "description": "The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both." + }, + "actionOnUnmanage": { + "type": "object", + "description": "Defines the behavior of resources that are not managed immediately after the stack is updated.", + "required": [ + "resources" + ], + "properties": { + "resources": { + "type": "string", + "$ref": "#/definitions/DeploymentStacksDeleteDetachEnum" + }, + "resourceGroups": { + "type": "string", + "$ref": "#/definitions/DeploymentStacksDeleteDetachEnum" + }, + "managementGroups": { + "type": "string", + "$ref": "#/definitions/DeploymentStacksDeleteDetachEnum" + } + } + }, + "debugSetting": { + "type": "object", + "$ref": "#/definitions/DeploymentStacksDebugSetting", + "description": "The debug setting of the deployment." + }, + "deploymentScope": { + "type": "string", + "description": "The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroupId}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}')." + }, + "description": { + "type": "string", + "maxLength": 4096, + "description": "Deployment stack description." + }, + "denySettings": { + "type": "object", + "description": "Defines how resources deployed by the stack are locked.", + "$ref": "#/definitions/DenySettings" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "State of the deployment stack.", + "enum": [ + "Creating", + "Validating", + "Waiting", + "Deploying", + "Canceling", + "Locking", + "DeletingResources", + "Succeeded", + "Failed", + "Canceled", + "Deleting" + ], + "x-ms-enum": { + "name": "DeploymentStackProvisioningState", + "modelAsString": true + } + }, + "detachedResources": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ResourceReference" + }, + "description": "An array of resources that were detached during the most recent update." + }, + "deletedResources": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ResourceReference" + }, + "description": "An array of resources that were deleted during the most recent update." + }, + "failedResources": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ResourceReferenceExtended" + }, + "description": "An array of resources that failed to reach goal state during the most recent update." + }, + "resources": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ManagedResourceReference" + }, + "description": "An array of resources currently managed by the deployment stack." + }, + "deploymentId": { + "type": "string", + "readOnly": true, + "description": "The resourceId of the deployment resource created by the deployment stack." + }, + "outputs": { + "type": "object", + "readOnly": true, + "description": "The outputs of the underlying deployment." + }, + "duration": { + "type": "string", + "readOnly": true, + "description": "The duration of the deployment stack update." + } + } + }, + "DeploymentStackProperties": { + "type": "object", + "description": "Deployment stack properties.", + "allOf": [ + { + "$ref": "#/definitions/DeploymentStackPropertiesShared" + } + ] + }, + "DeploymentStackListResult": { + "description": "List of deployment stacks.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentStack" + }, + "description": "An array of deployment stacks." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + } + }, + "ResourceReference": { + "type": "object", + "description": "The resource Id model.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The resourceId of a resource managed by the deployment stack." + } + } + }, + "ManagedResourceReference": { + "type": "object", + "description": "The managed resource model.", + "allOf": [ + { + "$ref": "#/definitions/ResourceReference" + } + ], + "properties": { + "status": { + "type": "string", + "default": "None", + "description": "Current management state of the resource in the deployment stack.", + "enum": [ + "Managed", + "removeDenyFailed", + "deleteFailed", + "None" + ], + "x-ms-enum": { + "name": "ResourceStatusMode", + "modelAsString": true, + "values": [ + { + "value": "Managed", + "description": "This resource is managed by the deployment stack." + }, + { + "value": "removeDenyFailed", + "description": "Unable to remove the deny assignment on resource." + }, + { + "value": "deleteFailed", + "description": "Unable to delete the resource from Azure. The delete will be retried on the next stack deployment, or can be deleted manually." + }, + { + "value": "None", + "description": "No denyAssignments have been applied." + } + ] + } + }, + "denyStatus": { + "type": "string", + "default": "None", + "description": "denyAssignment settings applied to the resource.", + "enum": [ + "denyDelete", + "notSupported", + "inapplicable", + "denyWriteAndDelete", + "removedBySystem", + "None" + ], + "x-ms-enum": { + "name": "DenyStatusMode", + "modelAsString": true, + "values": [ + { + "value": "denyDelete", + "description": "Authorized users are able to read and modify the resources, but cannot delete." + }, + { + "value": "notSupported", + "description": "Resource type does not support denyAssignments." + }, + { + "value": "inapplicable", + "description": "denyAssignments are not supported on resources outside the scope of the deployment stack." + }, + { + "value": "denyWriteAndDelete", + "description": "Authorized users can only read from a resource, but cannot modify or delete it." + }, + { + "value": "removedBySystem", + "description": "Deny assignment has been removed by Azure due to a resource management change (management group move, etc.)" + }, + { + "value": "None", + "description": "No denyAssignments have been applied." + } + ] + } + } + } + }, + "ResourceReferenceExtended": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceReference" + }, + { + "$ref": "#/definitions/DeploymentStacksError" + } + ], + "description": "The resource Id extended model." + }, + "DenySettings": { + "description": "Defines how resources deployed by the deployment stack are locked.", + "type": "object", + "properties": { + "mode": { + "type": "string", + "description": "denySettings Mode.", + "enum": [ + "denyDelete", + "denyWriteAndDelete", + "none" + ], + "x-ms-enum": { + "name": "DenySettingsMode", + "modelAsString": true, + "values": [ + { + "value": "denyDelete", + "description": "Authorized users are able to read and modify the resources, but cannot delete." + }, + { + "value": "denyWriteAndDelete", + "description": "Authorized users can only read from a resource, but cannot modify or delete it." + }, + { + "value": "none", + "description": "No denyAssignments have been applied." + } + ] + } + }, + "excludedPrincipals": { + "type": "array", + "description": "List of AAD principal IDs excluded from the lock. Up to 5 principals are permitted.", + "items": { + "type": "string" + } + }, + "excludedActions": { + "type": "array", + "description": "List of role-based management operations that are excluded from the denySettings. Up to 200 actions are permitted. If the denySetting mode is set to 'denyWriteAndDelete', then the following actions are automatically appended to 'excludedActions': '*/read' and 'Microsoft.Authorization/locks/delete'. If the denySetting mode is set to 'denyDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will be removed.", + "items": { + "type": "string" + } + }, + "applyToChildScopes": { + "type": "boolean", + "description": "DenySettings will be applied to child scopes." + } + } + }, + "AzureResourceBase": { + "x-ms-azure-resource": true, + "type": "object", + "description": "Common properties for all Azure resources.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "String Id used to locate any resource on Azure." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Name of this resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Type of this resource." + }, + "systemData": { + "readOnly": true, + "type": "object", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + } + }, + "DeploymentStackSnapshot": { + "type": "object", + "description": "Deployment stack Snapshot object.", + "allOf": [ + { + "$ref": "#/definitions/AzureResourceBase" + } + ], + "properties": { + "properties": { + "description": "Deployment stack snapshot properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DeploymentStackSnapshotProperties" + } + } + }, + "DeploymentStackSnapshotProperties": { + "type": "object", + "description": "Deployment stack snapshot properties.", + "allOf": [ + { + "$ref": "#/definitions/DeploymentStackPropertiesShared" + } + ] + }, + "DeploymentStackSnapshotsListResult": { + "description": "List of deployment stack snapshots", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentStackSnapshot" + }, + "description": "An array of deployment stack snapshots." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to use for getting the next set of results." + } + } + }, + "DeploymentStacksError": { + "type": "object", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "Deployment Stacks error response." + }, + "DeploymentStackTemplateDefinition": { + "type": "object", + "description": "Export Template specific properties of the Stack.", + "properties": { + "template": { + "type": "object", + "description": "The template content. Use this element to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both." + }, + "templateLink": { + "type": "object", + "$ref": "#/definitions/DeploymentStacksTemplateLink", + "description": "The URI of the template. Use either the templateLink property or the template property, but not both." + } + } + }, + "DeploymentStacksTemplateLink": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "The URI of the template to deploy. Use either the uri or id property, but not both." + }, + "id": { + "type": "string", + "description": "The resource id of a Template Spec. Use either the id or uri property, but not both." + }, + "relativePath": { + "type": "string", + "description": "The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs" + }, + "queryString": { + "type": "string", + "description": "The query string (for example, a SAS token) to be used with the templateLink URI." + }, + "contentVersion": { + "type": "string", + "description": "If included, must match the ContentVersion in the template." + } + }, + "description": "Entity representing the reference to the template." + }, + "DeploymentStacksParametersLink": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "The URI of the parameters file." + }, + "contentVersion": { + "type": "string", + "description": "If included, must match the ContentVersion in the template." + } + }, + "required": [ + "uri" + ], + "description": "Entity representing the reference to the deployment parameters." + }, + "DeploymentStacksDebugSetting": { + "type": "object", + "properties": { + "detailLevel": { + "type": "string", + "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information that is being passed in during deployment. By logging information about the request or response, sensitive data that is retrieved through the deployment operations could potentially be exposed." + } + }, + "description": "The debug setting." + }, + "DeploymentStacksDeleteDetachEnum": { + "type": "string", + "enum": [ + "delete", + "detach" + ], + "description": "Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state.", + "x-ms-enum": { + "name": "DeploymentStacksDeleteDetachEnum", + "modelAsString": true + } + } + }, + "parameters": { + "ManagementGroupIdParameter": { + "name": "managementGroupId", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._\\(\\)]+$", + "description": "Management Group.", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "DeploymentStackNameParameter": { + "name": "deploymentStackName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._\\(\\)]+$", + "description": "Name of the deployment stack.", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "DeploymentStackSnapshotParameter": { + "name": "snapshotName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._\\(\\)]+$", + "description": "The name of the deployment stack Snapshot.", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "DeleteResourceParameter": { + "name": "unmanageAction.Resources", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "delete", + "detach" + ], + "x-ms-enum": { + "name": "UnmanageActionResourceMode", + "modelAsString": true + }, + "x-ms-parameter-location": "method", + "description": "Flag to indicate delete rather than detach for the resources." + }, + "DeleteResourceGroupParameter": { + "name": "unmanageAction.ResourceGroups", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "delete", + "detach" + ], + "x-ms-enum": { + "name": "UnmanageActionResourceGroupMode", + "modelAsString": true + }, + "x-ms-parameter-location": "method", + "description": "Flag to indicate delete rather than detach for the resource groups." + }, + "DeleteManagementGroupParameter": { + "name": "unmanageAction.ManagementGroups", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "delete", + "detach" + ], + "x-ms-enum": { + "name": "UnmanageActionManagementGroupMode", + "modelAsString": true + }, + "x-ms-parameter-location": "method", + "description": "Flag to indicate delete rather than detach for the management groups." + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackExportTemplate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackExportTemplate.json new file mode 100644 index 000000000000..f44329a0d090 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackExportTemplate.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2022-08-01-preview", + "subscriptionId": "subscriptions/00000000-0000-0000-0000-000000000000", + "deploymentStackName": "simpleDeploymentStack", + "resourceGroupName": "deploymentStacksRG", + "resourceScope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG" + }, + "responses": { + "200": { + "body": { + "templateLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/templateSpecs/templateSpec/versions/1.0" + }, + "template": { + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "metadata": { + "_generator": { + "name": "bicep", + "version": "0.4.1008.15138", + "templateHash": "1201162276450656794" + } + }, + "functions": [], + "resources": [], + "outputs": { + "myOut": { + "type": "int", + "value": 1 + } + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json new file mode 100644 index 000000000000..d76df1177098 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "managementGroupId": "myMg", + "deploymentStackName": "simpleDeploymentStack", + "deploymentStack": { + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "properties": { + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "description": "my Description", + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "description": "my Description", + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupDelete.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupDelete.json new file mode 100644 index 000000000000..c9a097841f51 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "managementGroupId": "myMg", + "deploymentStackName": "simpleDeploymentStack" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupExportTemplate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupExportTemplate.json new file mode 100644 index 000000000000..4b9897bb399a --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupExportTemplate.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2022-08-01-preview", + "managementGroupId": "myMg", + "deploymentStackName": "simpleDeploymentStack" + }, + "responses": { + "200": { + "body": { + "templateLink": { + "id": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Resources/templateSpecs/templateSpec/versions/1.0" + }, + "template": { + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "metadata": { + "_generator": { + "name": "bicep", + "version": "0.4.1008.15138", + "templateHash": "1201162276450656794" + } + }, + "functions": [], + "resources": [], + "outputs": { + "myOut": { + "type": "int", + "value": 1 + } + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json new file mode 100644 index 000000000000..72bea56b156d --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "managementGroupId": "myMg", + "deploymentStackName": "simpleDeploymentStack" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "deploymentId": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Resources/deployments/simpleDeploymentStack-20210301-3f41c", + "deploymentScope": "/providers/Microsoft.Management/managementGroups/myMg", + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "description": "my Description", + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "provisioningState": "Succeeded", + "resources": [ + { + "id": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Resources/templateSpecs/templateSpec/versions/1.0", + "status": "Managed", + "denyStatus": "denyDelete" + }, + { + "id": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "status": "Managed", + "denyStatus": "denyDelete" + } + ], + "outputs": { + "myOut": "myVal" + }, + "duration": "PT1D12H" + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json new file mode 100644 index 000000000000..ae7479a782d7 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "managementGroupId": "myMg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "outputs": { + "myOut": "myVal" + }, + "duration": "PT1D12H" + } + }, + { + "id": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack2", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack2", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "deploymentId": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Resources/deployments/simpleDeploymentStack2-20210301-3f41c", + "provisioningState": "SucceededWithFailures", + "resources": [ + { + "id": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Resources/templateSpecs/templateSpec/versions/1.0", + "status": "Managed", + "denyStatus": "denyDelete" + }, + { + "id": "/providers/Microsoft.Management/managementGroups/myMg/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "status": "Managed", + "denyStatus": "denyDelete" + } + ], + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "outputs": { + "myOut": "myVal" + }, + "duration": "PT1D12H" + } + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json new file mode 100644 index 000000000000..37e64e96ed72 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "deploymentStacksRG", + "deploymentStackName": "simpleDeploymentStack", + "deploymentStack": { + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "properties": { + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "description": "my Description", + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "description": "my Description", + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupDelete.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupDelete.json new file mode 100644 index 000000000000..4f844f4a3eb2 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupDelete.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "deploymentStacksRG", + "deploymentStackName": "simpleDeploymentStack" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json new file mode 100644 index 000000000000..85061aed21fa --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "deploymentStacksRG", + "deploymentStackName": "simpleDeploymentStack" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "deploymentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deployments/simpleDeploymentStack-20210301-3f41c", + "deploymentScope": "/subscriptions/00000000-1111-1111-1111-000000000000", + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "description": "my Description", + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "provisioningState": "Succeeded", + "resources": [ + { + "id": "/subscriptions/00000000-2222-2222-2222-000000000000/resourceGroups/templateSpecsRG/providers/Microsoft.Resources/templateSpecs/templateSpec/versions/1.0", + "status": "Managed", + "denyStatus": "denyDelete" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "status": "Managed", + "denyStatus": "denyDelete" + } + ], + "outputs": { + "myOut": "myVal" + }, + "duration": "PT1D12H" + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json new file mode 100644 index 000000000000..3a377001e8a0 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "deploymentStacksRG" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "outputs": { + "myOut": "myVal" + }, + "duration": "PT1D12H" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack2", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack2", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "deploymentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deployments/simpleDeploymentStack2-20210301-3f41c", + "provisioningState": "SucceededWithFailures", + "resources": [ + { + "id": "/subscriptions/00000000-2222-2222-2222-000000000000/resourceGroups/templateSpecsRG/providers/Microsoft.Resources/templateSpecs/templateSpec/versions/1.0", + "status": "Managed", + "denyStatus": "denyDelete" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "status": "Managed", + "denyStatus": "denyDelete" + } + ], + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "outputs": { + "myOut": "myVal" + }, + "duration": "PT1D12H" + } + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json new file mode 100644 index 000000000000..87c542b485b6 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentStackName": "simpleDeploymentStack", + "deploymentStack": { + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "properties": { + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "description": "my Description", + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "description": "my Description", + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionDelete.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionDelete.json new file mode 100644 index 000000000000..384f8ceceb47 --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentStackName": "simpleDeploymentStack" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01" + } + }, + "204": {} + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionExportTemplate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionExportTemplate.json new file mode 100644 index 000000000000..2be7769b72fd --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionExportTemplate.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2022-08-01-preview", + "subscriptionId": "subscriptions/00000000-0000-0000-0000-000000000000", + "deploymentStackName": "simpleDeploymentStack" + }, + "responses": { + "200": { + "body": { + "templateLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/templateSpecs/templateSpec/versions/1.0" + }, + "template": { + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "metadata": { + "_generator": { + "name": "bicep", + "version": "0.4.1008.15138", + "templateHash": "1201162276450656794" + } + }, + "functions": [], + "resources": [], + "outputs": { + "myOut": { + "type": "int", + "value": 1 + } + } + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json new file mode 100644 index 000000000000..e0abe47dc4fb --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentStackName": "simpleDeploymentStack" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "deploymentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deployments/simpleDeploymentStack-20210301-3f41c", + "deploymentScope": "/subscriptions/00000000-1111-1111-1111-000000000000", + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "description": "my Description", + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "provisioningState": "Succeeded", + "resources": [ + { + "id": "/subscriptions/00000000-2222-2222-2222-000000000000/resourceGroups/templateSpecsRG/providers/Microsoft.Resources/templateSpecs/templateSpec/versions/1.0", + "status": "Managed", + "denyStatus": "denyDelete" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "status": "Managed", + "denyStatus": "denyDelete" + } + ], + "outputs": { + "myOut": "myVal" + }, + "duration": "PT1D12H" + } + } + } + } +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json new file mode 100644 index 000000000000..f5177aba6fba --- /dev/null +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2021-08-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "outputs": { + "myOut": "myVal" + }, + "duration": "PT1D12H" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deploymentStacks/simpleDeploymentStack2", + "type": "Microsoft.Resources/deploymentStacks", + "name": "simpleDeploymentStack2", + "location": "eastus", + "tags": { + "tagkey": "tagVal" + }, + "systemData": { + "createdBy": "string", + "createdByType": "Application", + "createdAt": "2020-02-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application", + "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" + }, + "properties": { + "deploymentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/deploymentStacksRG/providers/Microsoft.Resources/deployments/simpleDeploymentStack2-20210301-3f41c", + "provisioningState": "SucceededWithFailures", + "resources": [ + { + "id": "/subscriptions/00000000-2222-2222-2222-000000000000/resourceGroups/templateSpecsRG/providers/Microsoft.Resources/templateSpecs/templateSpec/versions/1.0", + "status": "Managed", + "denyStatus": "denyDelete" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts/myStorageAccount", + "status": "Managed", + "denyStatus": "denyDelete" + } + ], + "actionOnUnmanage": { + "resources": "delete", + "resourceGroups": "delete", + "managementGroups": "detach" + }, + "parameters": { + "parameter1": { + "value": "a string" + } + }, + "outputs": { + "myOut": "myVal" + }, + "duration": "PT1D12H" + } + } + ] + } + } + } +} diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index bbf4732e39b2..4276e437a8e3 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -69,6 +69,10 @@ tag: package-deploymentscripts-2020-10 tag: package-templatespecs-2022-02 ``` +``` yaml $(package-deploymentstacks) +tag: package-deploymentstacks-2022-08-preview +``` + ``` yaml $(package-changes) tag: package-changes-2022-05 ``` @@ -430,6 +434,15 @@ input-file: - Microsoft.Resources/preview/2019-06-01-preview/templateSpecs.json ``` +### Tag: package-deploymentstacks-2022-08-preview + +These settings apply only when `--tag=package-deploymentstacks-2022-08-preview` is specified on the command line. + +``` yaml $(tag) == 'package-deploymentstacks-2022-08-preview' +input-file: +- Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json +``` + ### Tag: package-policy-2016-12 These settings apply only when `--tag=package-policy-2016-12` is specified on the command line. @@ -858,6 +871,10 @@ directive: - $.definitions.AzureCliScript.properties - $.definitions.AzurePowerShellScript.properties reason: Currently systemData is not allowed + - from: deploymentStacks.json + suppress: OperationsAPIImplementation + where: $.paths + reason: OperationsAPI will come from Resources - suppress: OperationsAPIImplementation from: templateSpecs.json where: $.paths @@ -949,7 +966,11 @@ directive: - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].put' - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].patch' - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].get' - reason: The tags API does not support system data + reason: The tags API does not support system data +suppressions: + - code: OperationsAPIImplementation + from: deploymentStacks.json + reason: OperationsAPI will come from Resources ``` --- @@ -999,6 +1020,7 @@ batch: - package-managedapplications: true - package-deploymentscripts: true - package-templatespecs: true + - package-deploymentstacks: true - package-changes: true - package-snapshots: true ``` diff --git a/specification/resources/resource-manager/readme.python.md b/specification/resources/resource-manager/readme.python.md index 4582ee01f2d1..3a0f9383bf58 100644 --- a/specification/resources/resource-manager/readme.python.md +++ b/specification/resources/resource-manager/readme.python.md @@ -77,6 +77,8 @@ batch: - tag: package-templatespecs-2021-03-preview - tag: package-templatespecs-2019-06-preview - multiapiscript-templatespecs: true + - tag: package-deploymentstacks-2022-08-preview + - multiapiscript-deploymentstacks: true - tag: package-changes-2022-05 - multiapiscript-changes: true ``` @@ -138,6 +140,12 @@ output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/re perform-load: false ``` +```yaml $(multiapiscript-deploymentstacks) +package-name: azure-mgmt-resource#deploymentstacks +multiapiscript: true +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/deploymentstacks +perform-load: false +``` ```yaml $(multiapiscript-locks) package-name: azure-mgmt-resource#locks @@ -620,6 +628,16 @@ namespace: azure.mgmt.resource.templatespecs.v2022_02_01 output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/templatespecs/v2022_02_01 ``` +### Tag: package-deploymentstacks-2022-08-preview and python + +These settings apply only when `--tag=package-deploymentstacks-2022-08-preview` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-deploymentstacks-2022-08-preview' +namespace: azure.mgmt.resource.deploymentstacks.v2022_08_01_preview +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/deploymentstacks/v2022_08_01_preview +``` + ``` yaml $(python) modelerfour: lenient-model-deduplication: true From b7d54b8adb7138078a09d146e63a4bc6a5731089 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Thu, 23 Mar 2023 13:48:54 -0400 Subject: [PATCH 02/17] Added request changes --- .../examples/DeploymentStackManagementGroupCreate.json | 2 +- .../examples/DeploymentStackResourceGroupList.json | 2 +- .../examples/DeploymentStackSubscriptionDelete.json | 2 +- .../examples/DeploymentStackSubscriptionGet.json | 2 +- .../examples/DeploymentStackSubscriptionList.json | 2 +- specification/resources/resource-manager/readme.md | 8 ++++---- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json index d76df1177098..7077f9285853 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "managementGroupId": "myMg", "deploymentStackName": "simpleDeploymentStack", "deploymentStack": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json index 3a377001e8a0..899618d3c505 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "deploymentStacksRG" }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionDelete.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionDelete.json index 384f8ceceb47..4b84c87302cf 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionDelete.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "deploymentStackName": "simpleDeploymentStack" }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json index e0abe47dc4fb..d8468ae4c2fc 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "deploymentStackName": "simpleDeploymentStack" }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json index f5177aba6fba..c355a1567ff7 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 4276e437a8e3..f580471d67fd 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -895,6 +895,10 @@ directive: from: templateSpecs.json where: $.definitions.TemplateSpecVersion reason: Tooling issue + - from: deploymentStacks.json + suppress: TrackedResourcePatchOperation + where: $.definitions + reason: Not a tracked resource. - suppress: OperationsAPIImplementation where: $.paths from: dataPolicyManifests.json @@ -967,10 +971,6 @@ directive: - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].patch' - '$.paths["/{scope}/providers/Microsoft.Resources/tags/default"].get' reason: The tags API does not support system data -suppressions: - - code: OperationsAPIImplementation - from: deploymentStacks.json - reason: OperationsAPI will come from Resources ``` --- From 56cd96b38923b59c8e1d5b14b698e874d654ddf2 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Thu, 23 Mar 2023 13:58:24 -0400 Subject: [PATCH 03/17] Missed some file --- .../examples/DeploymentStackManagementGroupDelete.json | 2 +- .../examples/DeploymentStackManagementGroupGet.json | 2 +- .../examples/DeploymentStackManagementGroupList.json | 2 +- .../examples/DeploymentStackResourceGroupCreate.json | 2 +- .../examples/DeploymentStackResourceGroupDelete.json | 2 +- .../examples/DeploymentStackResourceGroupGet.json | 2 +- .../examples/DeploymentStackSubscriptionCreate.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupDelete.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupDelete.json index c9a097841f51..6100f662b1c3 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupDelete.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "managementGroupId": "myMg", "deploymentStackName": "simpleDeploymentStack" }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json index 72bea56b156d..8eecfdadb284 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "managementGroupId": "myMg", "deploymentStackName": "simpleDeploymentStack" }, diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json index ae7479a782d7..b8c80fe597e8 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "managementGroupId": "myMg" }, "responses": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json index 37e64e96ed72..ece756ce9634 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "deploymentStacksRG", "deploymentStackName": "simpleDeploymentStack", diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupDelete.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupDelete.json index 4f844f4a3eb2..984a0df58757 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupDelete.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "deploymentStacksRG", "deploymentStackName": "simpleDeploymentStack" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json index 85061aed21fa..e5d807a7fab5 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "deploymentStacksRG", "deploymentStackName": "simpleDeploymentStack" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json index 87c542b485b6..b659aabaf760 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-08-01-preview", + "api-version": "2022-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "deploymentStackName": "simpleDeploymentStack", "deploymentStack": { From db7180ec7df5ceeba2537bf391a7ef7d5c05b1b7 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Wed, 29 Mar 2023 10:59:25 -0400 Subject: [PATCH 04/17] changed to v3 types --- .../preview/2022-08-01-preview/deploymentStacks.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json index 39aa1d7af97e..61419fa77b56 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json @@ -1130,7 +1130,7 @@ "readOnly": true, "type": "object", "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" } } }, @@ -1181,7 +1181,7 @@ "type": "object", "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "description": "Deployment Stacks error response." From c5ee0a45f9259060a036177d29d3b264005ef739 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Wed, 29 Mar 2023 11:25:07 -0400 Subject: [PATCH 05/17] Removed all snapshot references --- .../2022-08-01-preview/deploymentStacks.json | 69 +------------------ 1 file changed, 3 insertions(+), 66 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json index 61419fa77b56..00bbbd917857 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json @@ -769,12 +769,12 @@ } } }, - "DeploymentStackPropertiesShared": { - "description": "Properties shared between a deployment stack and a deployment stack snapshot.", + "DeploymentStackProperties": { + "type": "object", "required": [ "actionOnUnmanage" ], - "type": "object", + "description": "Deployment stack properties.", "allOf": [ { "$ref": "#/definitions/DeploymentStacksError" @@ -918,15 +918,6 @@ } } }, - "DeploymentStackProperties": { - "type": "object", - "description": "Deployment stack properties.", - "allOf": [ - { - "$ref": "#/definitions/DeploymentStackPropertiesShared" - } - ] - }, "DeploymentStackListResult": { "description": "List of deployment stacks.", "type": "object", @@ -1134,49 +1125,6 @@ } } }, - "DeploymentStackSnapshot": { - "type": "object", - "description": "Deployment stack Snapshot object.", - "allOf": [ - { - "$ref": "#/definitions/AzureResourceBase" - } - ], - "properties": { - "properties": { - "description": "Deployment stack snapshot properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/DeploymentStackSnapshotProperties" - } - } - }, - "DeploymentStackSnapshotProperties": { - "type": "object", - "description": "Deployment stack snapshot properties.", - "allOf": [ - { - "$ref": "#/definitions/DeploymentStackPropertiesShared" - } - ] - }, - "DeploymentStackSnapshotsListResult": { - "description": "List of deployment stack snapshots", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DeploymentStackSnapshot" - }, - "description": "An array of deployment stack snapshots." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to use for getting the next set of results." - } - } - }, "DeploymentStacksError": { "type": "object", "properties": { @@ -1290,17 +1238,6 @@ "maxLength": 90, "x-ms-parameter-location": "method" }, - "DeploymentStackSnapshotParameter": { - "name": "snapshotName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "description": "The name of the deployment stack Snapshot.", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, "DeleteResourceParameter": { "name": "unmanageAction.Resources", "in": "query", From ff32d7aa49e8c55b836e633d3bdedb6bd2682334 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Fri, 7 Apr 2023 10:51:28 -0400 Subject: [PATCH 06/17] denySettings should be required --- .../preview/2022-08-01-preview/deploymentStacks.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json index 00bbbd917857..6d00e7f34d35 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json @@ -772,7 +772,8 @@ "DeploymentStackProperties": { "type": "object", "required": [ - "actionOnUnmanage" + "actionOnUnmanage", + "denySettings" ], "description": "Deployment stack properties.", "allOf": [ From 6b6a1451ba9d83b7744be89d01b5925ae0813da4 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Wed, 12 Apr 2023 13:44:44 -0400 Subject: [PATCH 07/17] Reverted ErrorResponse to v1 from V3 --- .../preview/2022-08-01-preview/deploymentStacks.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json index 6d00e7f34d35..c6ea8889a6ef 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json @@ -1130,7 +1130,7 @@ "type": "object", "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" } }, "description": "Deployment Stacks error response." From c724e829ba9e443151daa1b43fae3933d11d4ea9 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Wed, 19 Apr 2023 23:42:57 -0400 Subject: [PATCH 08/17] Added denySettings to examples --- .../examples/DeploymentStackManagementGroupCreate.json | 3 +++ .../examples/DeploymentStackManagementGroupGet.json | 1 + .../examples/DeploymentStackManagementGroupList.json | 2 ++ .../examples/DeploymentStackResourceGroupCreate.json | 3 +++ .../examples/DeploymentStackResourceGroupGet.json | 1 + .../examples/DeploymentStackResourceGroupList.json | 2 ++ .../examples/DeploymentStackSubscriptionCreate.json | 3 +++ .../examples/DeploymentStackSubscriptionGet.json | 1 + .../examples/DeploymentStackSubscriptionList.json | 2 ++ 9 files changed, 18 insertions(+) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json index 7077f9285853..202fd4edd8d4 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json @@ -14,6 +14,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" @@ -47,6 +48,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" @@ -80,6 +82,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json index 8eecfdadb284..d19f5b05d988 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json @@ -30,6 +30,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "description": "my Description", "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json index b8c80fe597e8..fb34ea6a61a1 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json @@ -29,6 +29,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" @@ -76,6 +77,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json index ece756ce9634..ae52691030a5 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json @@ -15,6 +15,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" @@ -48,6 +49,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" @@ -81,6 +83,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json index e5d807a7fab5..308340ee4cd9 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json @@ -31,6 +31,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "description": "my Description", "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json index 899618d3c505..49660aa9b49d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json @@ -30,6 +30,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" @@ -77,6 +78,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json index b659aabaf760..2fa00c4a5c3d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json @@ -14,6 +14,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" @@ -47,6 +48,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" @@ -80,6 +82,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json index d8468ae4c2fc..6050157c6c7b 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json @@ -30,6 +30,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "description": "my Description", "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json index c355a1567ff7..2f7a880e203b 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json @@ -29,6 +29,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" @@ -76,6 +77,7 @@ "resourceGroups": "delete", "managementGroups": "detach" }, + "denySettings": "none", "parameters": { "parameter1": { "value": "a string" From 38091ce9b96bbc28b852b2de066dbd6e554692c9 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Thu, 20 Apr 2023 00:09:36 -0400 Subject: [PATCH 09/17] Fixed model errors --- .../DeploymentStackManagementGroupCreate.json | 21 ++++++++++++++++--- .../DeploymentStackManagementGroupGet.json | 7 ++++++- .../DeploymentStackManagementGroupList.json | 14 +++++++++++-- .../DeploymentStackResourceGroupCreate.json | 21 ++++++++++++++++--- .../DeploymentStackResourceGroupGet.json | 7 ++++++- .../DeploymentStackResourceGroupList.json | 14 +++++++++++-- .../DeploymentStackSubscriptionCreate.json | 21 ++++++++++++++++--- .../DeploymentStackSubscriptionGet.json | 7 ++++++- .../DeploymentStackSubscriptionList.json | 14 +++++++++++-- 9 files changed, 108 insertions(+), 18 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json index 202fd4edd8d4..804dce260a13 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json @@ -14,7 +14,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" @@ -48,7 +53,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" @@ -82,7 +92,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json index d19f5b05d988..0334fcf8dc56 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json @@ -30,7 +30,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "description": "my Description", "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json index fb34ea6a61a1..601f3bf09944 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json @@ -29,7 +29,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" @@ -77,7 +82,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json index ae52691030a5..47f9ddd5366c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json @@ -15,7 +15,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" @@ -49,7 +54,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" @@ -83,7 +93,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json index 308340ee4cd9..26514011e8bf 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json @@ -31,7 +31,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "description": "my Description", "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json index 49660aa9b49d..9c1e5e4e2d24 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json @@ -30,7 +30,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" @@ -78,7 +83,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json index 2fa00c4a5c3d..e2ab34fc3b7d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json @@ -14,7 +14,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" @@ -48,7 +53,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" @@ -82,7 +92,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json index 6050157c6c7b..67e303fad2bc 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json @@ -30,7 +30,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "description": "my Description", "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json index 2f7a880e203b..9a7dbf581840 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json @@ -29,7 +29,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" @@ -77,7 +82,12 @@ "resourceGroups": "delete", "managementGroups": "detach" }, - "denySettings": "none", + "denySettings": { + "mode": "denyDelete", + "excludedPrincipals": "[principal]", + "excludedActions": "[action]", + "applyToChildScopes": "false" + }, "parameters": { "parameter1": { "value": "a string" From ea3d4e3edac2dd9c408e8378528a7858133826f1 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Thu, 20 Apr 2023 00:20:53 -0400 Subject: [PATCH 10/17] Fixed array model diff issue --- .../DeploymentStackManagementGroupCreate.json | 12 ++++++------ .../examples/DeploymentStackManagementGroupGet.json | 4 ++-- .../examples/DeploymentStackManagementGroupList.json | 8 ++++---- .../examples/DeploymentStackResourceGroupCreate.json | 12 ++++++------ .../examples/DeploymentStackResourceGroupGet.json | 4 ++-- .../examples/DeploymentStackResourceGroupList.json | 8 ++++---- .../examples/DeploymentStackSubscriptionCreate.json | 12 ++++++------ .../examples/DeploymentStackSubscriptionGet.json | 4 ++-- .../examples/DeploymentStackSubscriptionList.json | 8 ++++---- 9 files changed, 36 insertions(+), 36 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json index 804dce260a13..e150129122f1 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json @@ -16,8 +16,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { @@ -55,8 +55,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { @@ -94,8 +94,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json index 0334fcf8dc56..a88300e0c247 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json @@ -32,8 +32,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "description": "my Description", diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json index 601f3bf09944..2652cc5b8e1d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json @@ -31,8 +31,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { @@ -84,8 +84,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json index 47f9ddd5366c..55b74bcef8d9 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json @@ -17,8 +17,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { @@ -56,8 +56,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { @@ -95,8 +95,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json index 26514011e8bf..ea4ce8acdd87 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json @@ -33,8 +33,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "description": "my Description", diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json index 9c1e5e4e2d24..d757924f03f7 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json @@ -32,8 +32,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { @@ -85,8 +85,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json index e2ab34fc3b7d..2966fbbaaf4c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json @@ -16,8 +16,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { @@ -55,8 +55,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { @@ -94,8 +94,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json index 67e303fad2bc..a8d0ed06515e 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json @@ -32,8 +32,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "description": "my Description", diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json index 9a7dbf581840..94a2b6da1352 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json @@ -31,8 +31,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { @@ -84,8 +84,8 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": "[principal]", - "excludedActions": "[action]", + "excludedPrincipals": ["principal"], + "excludedActions": ["action"], "applyToChildScopes": "false" }, "parameters": { From 7c96e4fcd7c7865aa12ead14eda0618d1315beaa Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Thu, 20 Apr 2023 11:10:50 -0400 Subject: [PATCH 11/17] retrigger checks From a381fb679619f0bc70e9c2d8207561868f17c61f Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Thu, 20 Apr 2023 11:42:00 -0400 Subject: [PATCH 12/17] Turned string into boolean for model validation + prettier fix --- .../DeploymentStackManagementGroupCreate.json | 18 +++++++++--------- .../DeploymentStackManagementGroupGet.json | 6 +++--- .../DeploymentStackManagementGroupList.json | 12 ++++++------ .../DeploymentStackResourceGroupCreate.json | 18 +++++++++--------- .../DeploymentStackResourceGroupGet.json | 6 +++--- .../DeploymentStackResourceGroupList.json | 12 ++++++------ .../DeploymentStackSubscriptionCreate.json | 18 +++++++++--------- .../DeploymentStackSubscriptionGet.json | 6 +++--- .../DeploymentStackSubscriptionList.json | 12 ++++++------ 9 files changed, 54 insertions(+), 54 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json index e150129122f1..d2a8b102bde2 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json @@ -16,9 +16,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { @@ -55,9 +55,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { @@ -94,9 +94,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json index a88300e0c247..ef15e08fb2a9 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json @@ -32,9 +32,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "description": "my Description", "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json index 2652cc5b8e1d..e3afdeb2c560 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json @@ -31,9 +31,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { @@ -84,9 +84,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json index 55b74bcef8d9..e80206f2e958 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json @@ -17,9 +17,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { @@ -56,9 +56,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { @@ -95,9 +95,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json index ea4ce8acdd87..48821a804f99 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json @@ -33,9 +33,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "description": "my Description", "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json index d757924f03f7..ccfd78149962 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json @@ -32,9 +32,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { @@ -85,9 +85,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json index 2966fbbaaf4c..23027141fabc 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json @@ -16,9 +16,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { @@ -55,9 +55,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { @@ -94,9 +94,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json index a8d0ed06515e..8830247fc97f 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json @@ -32,9 +32,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "description": "my Description", "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json index 94a2b6da1352..33a7eb18fe21 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json @@ -31,9 +31,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { @@ -84,9 +84,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": ["principal"], - "excludedActions": ["action"], - "applyToChildScopes": "false" + "excludedPrincipals": [ "principal" ], + "excludedActions": [ "action" ], + "applyToChildScopes": false }, "parameters": { "parameter1": { From 88ba813fa1522d13c658ae2c90b2d1f2450cbd41 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Thu, 20 Apr 2023 11:51:35 -0400 Subject: [PATCH 13/17] Fixed prettier --- .../DeploymentStackManagementGroupCreate.json | 12 +++++++++--- .../examples/DeploymentStackManagementGroupGet.json | 4 +++- .../examples/DeploymentStackManagementGroupList.json | 8 ++++++-- .../examples/DeploymentStackResourceGroupCreate.json | 12 +++++++++--- .../examples/DeploymentStackResourceGroupGet.json | 4 +++- .../examples/DeploymentStackResourceGroupList.json | 8 ++++++-- .../examples/DeploymentStackSubscriptionCreate.json | 12 +++++++++--- .../examples/DeploymentStackSubscriptionGet.json | 4 +++- .../examples/DeploymentStackSubscriptionList.json | 8 ++++++-- 9 files changed, 54 insertions(+), 18 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json index d2a8b102bde2..8193f4e0fc07 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json @@ -17,7 +17,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { @@ -56,7 +58,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { @@ -95,7 +99,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json index ef15e08fb2a9..7dacd8487521 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json @@ -33,7 +33,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "description": "my Description", diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json index e3afdeb2c560..536ebce8b236 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json @@ -32,7 +32,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { @@ -85,7 +87,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json index e80206f2e958..98ace17cfa66 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json @@ -18,7 +18,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { @@ -57,7 +59,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { @@ -96,7 +100,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json index 48821a804f99..7609e109492e 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json @@ -34,7 +34,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "description": "my Description", diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json index ccfd78149962..f887be942593 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json @@ -33,7 +33,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { @@ -86,7 +88,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json index 23027141fabc..b74a4e00b34c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json @@ -17,7 +17,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { @@ -56,7 +58,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { @@ -95,7 +99,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json index 8830247fc97f..113f259f53a4 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json @@ -33,7 +33,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "description": "my Description", diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json index 33a7eb18fe21..188593a3d5a3 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json @@ -32,7 +32,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { @@ -85,7 +87,9 @@ "denySettings": { "mode": "denyDelete", "excludedPrincipals": [ "principal" ], - "excludedActions": [ "action" ], + "excludedActions": [ + "action" + ], "applyToChildScopes": false }, "parameters": { From b85d90337a693b30d6c659e2cb3f7c56f72484c2 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Fri, 21 Apr 2023 13:12:33 -0400 Subject: [PATCH 14/17] More prettier fixes --- .../DeploymentStackManagementGroupCreate.json | 14 ++++++++++---- .../DeploymentStackManagementGroupGet.json | 6 ++++-- .../DeploymentStackManagementGroupList.json | 10 +++++++--- .../DeploymentStackResourceGroupCreate.json | 14 ++++++++++---- .../examples/DeploymentStackResourceGroupGet.json | 6 ++++-- .../examples/DeploymentStackResourceGroupList.json | 10 +++++++--- .../DeploymentStackSubscriptionCreate.json | 14 ++++++++++---- .../examples/DeploymentStackSubscriptionGet.json | 6 ++++-- .../examples/DeploymentStackSubscriptionList.json | 10 +++++++--- 9 files changed, 63 insertions(+), 27 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json index 8193f4e0fc07..86225c0c3e07 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json @@ -16,7 +16,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -57,7 +59,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -98,7 +102,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -114,4 +120,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json index 7dacd8487521..8e41d88ddb46 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json @@ -32,7 +32,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -65,4 +67,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json index 536ebce8b236..afaf7482a23d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json @@ -31,7 +31,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -86,7 +88,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -107,4 +111,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json index 98ace17cfa66..a9c0fc0c9163 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json @@ -17,7 +17,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -58,7 +60,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -99,7 +103,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -115,4 +121,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json index 7609e109492e..0d82f957b3e3 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json @@ -33,7 +33,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -66,4 +68,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json index f887be942593..62bd40b01cd2 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json @@ -32,7 +32,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -87,7 +89,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -108,4 +112,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json index b74a4e00b34c..7a29db78a53a 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json @@ -16,7 +16,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -57,7 +59,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -98,7 +102,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -114,4 +120,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json index 113f259f53a4..8d41799d53dd 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json @@ -32,7 +32,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -65,4 +67,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json index 188593a3d5a3..76ad54745ff4 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json @@ -31,7 +31,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -86,7 +88,9 @@ }, "denySettings": { "mode": "denyDelete", - "excludedPrincipals": [ "principal" ], + "excludedPrincipals": [ + "principal" + ], "excludedActions": [ "action" ], @@ -107,4 +111,4 @@ } } } -} +} \ No newline at end of file From b204f956fd42ef64380f2ef3f2999dcd5bb4bbe4 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Fri, 21 Apr 2023 13:35:56 -0400 Subject: [PATCH 15/17] retrigger checks From 116f64d385c1a9076b23673974e3082af05723f6 Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Tue, 25 Apr 2023 18:19:57 -0400 Subject: [PATCH 16/17] reverted errorresponse back to V3 --- .../preview/2022-08-01-preview/deploymentStacks.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json index c6ea8889a6ef..6d00e7f34d35 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/deploymentStacks.json @@ -1130,7 +1130,7 @@ "type": "object", "properties": { "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "description": "Deployment Stacks error response." From cd49c89edaf34831a46edecedd6e131cec3f7a1f Mon Sep 17 00:00:00 2001 From: XiaofeiCao Date: Wed, 26 Apr 2023 16:07:25 +0800 Subject: [PATCH 17/17] fix prettier --- .../examples/DeploymentStackManagementGroupCreate.json | 2 +- .../examples/DeploymentStackManagementGroupGet.json | 2 +- .../examples/DeploymentStackManagementGroupList.json | 2 +- .../examples/DeploymentStackResourceGroupCreate.json | 2 +- .../examples/DeploymentStackResourceGroupGet.json | 2 +- .../examples/DeploymentStackResourceGroupList.json | 2 +- .../examples/DeploymentStackSubscriptionCreate.json | 2 +- .../examples/DeploymentStackSubscriptionGet.json | 2 +- .../examples/DeploymentStackSubscriptionList.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json index 86225c0c3e07..55a2fb35fbf0 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupCreate.json @@ -120,4 +120,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json index 8e41d88ddb46..4c9fea695d19 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupGet.json @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json index afaf7482a23d..379b178fcd8b 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackManagementGroupList.json @@ -111,4 +111,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json index a9c0fc0c9163..3996d96bcd30 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupCreate.json @@ -121,4 +121,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json index 0d82f957b3e3..55aa8f1b3427 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupGet.json @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json index 62bd40b01cd2..6b3e1ee7da82 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackResourceGroupList.json @@ -112,4 +112,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json index 7a29db78a53a..42c1d3897d06 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionCreate.json @@ -120,4 +120,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json index 8d41799d53dd..249a115f7e69 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionGet.json @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json index 76ad54745ff4..52b504ca3b96 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2022-08-01-preview/examples/DeploymentStackSubscriptionList.json @@ -111,4 +111,4 @@ } } } -} \ No newline at end of file +}