Microsoft.Management (stable:2024-03-01)

2025/08/20 • 18 updated methods

DeploymentStacks_ListAtManagementGroup (updated)
Description Lists Deployment stacks at the specified scope.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_ListAtManagementGroup",
  "Description": {
    "new": "Lists Deployment stacks at the specified scope.",
    "old": "Lists all the Deployment stacks within the specified Management Group."
  },
  "$parameters": [
    {
      "#name": "managementGroupId",
      "Description": {
        "new": "The name of the management group. The name is case insensitive.",
        "old": "Management Group id."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a DeploymentStack list operation.",
        "old": "List of Deployment stacks."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The DeploymentStack items on this page",
            "old": "An array of Deployment stacks."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": [
              {
                "properties": [
                  {
                    "actionOnUnmanage": [
                      {
                        "#name": "resources",
                        "Enum": {
                          "new": [
                            [
                              "delete",
                              "Delete the specified resources from Azure"
                            ],
                            [
                              "detach",
                              "Keep the specified resources in Azure"
                            ]
                          ],
                          "old": [
                            [
                              "delete",
                              ""
                            ],
                            [
                              "detach",
                              ""
                            ]
                          ]
                        }
                      },
                      {
                        "#name": "resourceGroups",
                        "Enum": {
                          "new": [
                            [
                              "delete",
                              "Delete the specified resources from Azure"
                            ],
                            [
                              "detach",
                              "Keep the specified resources in Azure"
                            ]
                          ],
                          "old": [
                            [
                              "delete",
                              ""
                            ],
                            [
                              "detach",
                              ""
                            ]
                          ]
                        }
                      },
                      {
                        "#name": "managementGroups",
                        "Enum": {
                          "new": [
                            [
                              "delete",
                              "Delete the specified resources from Azure"
                            ],
                            [
                              "detach",
                              "Keep the specified resources in Azure"
                            ]
                          ],
                          "old": [
                            [
                              "delete",
                              ""
                            ],
                            [
                              "detach",
                              ""
                            ]
                          ]
                        }
                      }
                    ]
                  },
                  {
                    "#name": "provisioningState",
                    "Enum": {
                      "new": [
                        [
                          "creating",
                          "The deployment stack is currently being created"
                        ],
                        [
                          "validating",
                          "The deployment stack is currently being validated"
                        ],
                        [
                          "waiting",
                          "The deployment stack is currently waiting"
                        ],
                        [
                          "deploying",
                          "The deployment stack is currently deploying"
                        ],
                        [
                          "canceling",
                          "The deployment stack is being cancelled"
                        ],
                        [
                          "updatingDenyAssignments",
                          "The deployment stack is updating deny assignments"
                        ],
                        [
                          "deletingResources",
                          "The deployment stack is deleting resources"
                        ],
                        [
                          "succeeded",
                          "The deployment stack completed successfully"
                        ],
                        [
                          "failed",
                          "The deployment stack has failed"
                        ],
                        [
                          "canceled",
                          "The deployment stack has been cancelled"
                        ],
                        [
                          "deleting",
                          "The deployment stack is being deleted"
                        ]
                      ],
                      "old": [
                        [
                          "creating",
                          ""
                        ],
                        [
                          "validating",
                          ""
                        ],
                        [
                          "waiting",
                          ""
                        ],
                        [
                          "deploying",
                          ""
                        ],
                        [
                          "canceling",
                          ""
                        ],
                        [
                          "updatingDenyAssignments",
                          ""
                        ],
                        [
                          "deletingResources",
                          ""
                        ],
                        [
                          "succeeded",
                          ""
                        ],
                        [
                          "failed",
                          ""
                        ],
                        [
                          "canceled",
                          ""
                        ],
                        [
                          "deleting",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "detachedResources": {
                      "$properties": [
                        {
                          "#name": "id",
                          "Description": {
                            "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                            "old": "The resourceId of a resource managed by the deployment stack."
                          }
                        }
                      ]
                    }
                  },
                  {
                    "deletedResources": {
                      "$properties": [
                        {
                          "#name": "id",
                          "Description": {
                            "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                            "old": "The resourceId of a resource managed by the deployment stack."
                          }
                        }
                      ]
                    }
                  }
                ]
              },
              {
                "#name": "location",
                "Description": {
                  "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
                  "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
                }
              },
              {
                "#name": "tags",
                "Description": {
                  "new": "Resource tags.",
                  "old": "Deployment stack resource tags."
                }
              }
            ]
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "The URL to use for getting the next set of results."
          }
        }
      ]
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks
{
api-version: string ,
managementGroupId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_GetAtManagementGroup (updated)
Description Gets the Deployment stack with the given name.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_GetAtManagementGroup",
  "Description": {
    "new": "Gets the Deployment stack with the given name.",
    "old": "Gets a Deployment stack with a given name at Management Group scope."
  },
  "$parameters": [
    {
      "#name": "managementGroupId",
      "Description": {
        "new": "The name of the management group. The name is case insensitive.",
        "old": "Management Group id."
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": [
        {
          "properties": [
            {
              "actionOnUnmanage": [
                {
                  "#name": "resources",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "resourceGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "managementGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                }
              ]
            },
            {
              "#name": "provisioningState",
              "Enum": {
                "new": [
                  [
                    "creating",
                    "The deployment stack is currently being created"
                  ],
                  [
                    "validating",
                    "The deployment stack is currently being validated"
                  ],
                  [
                    "waiting",
                    "The deployment stack is currently waiting"
                  ],
                  [
                    "deploying",
                    "The deployment stack is currently deploying"
                  ],
                  [
                    "canceling",
                    "The deployment stack is being cancelled"
                  ],
                  [
                    "updatingDenyAssignments",
                    "The deployment stack is updating deny assignments"
                  ],
                  [
                    "deletingResources",
                    "The deployment stack is deleting resources"
                  ],
                  [
                    "succeeded",
                    "The deployment stack completed successfully"
                  ],
                  [
                    "failed",
                    "The deployment stack has failed"
                  ],
                  [
                    "canceled",
                    "The deployment stack has been cancelled"
                  ],
                  [
                    "deleting",
                    "The deployment stack is being deleted"
                  ]
                ],
                "old": [
                  [
                    "creating",
                    ""
                  ],
                  [
                    "validating",
                    ""
                  ],
                  [
                    "waiting",
                    ""
                  ],
                  [
                    "deploying",
                    ""
                  ],
                  [
                    "canceling",
                    ""
                  ],
                  [
                    "updatingDenyAssignments",
                    ""
                  ],
                  [
                    "deletingResources",
                    ""
                  ],
                  [
                    "succeeded",
                    ""
                  ],
                  [
                    "failed",
                    ""
                  ],
                  [
                    "canceled",
                    ""
                  ],
                  [
                    "deleting",
                    ""
                  ]
                ]
              }
            },
            {
              "detachedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            },
            {
              "deletedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "#name": "location",
          "Description": {
            "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
            "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
          }
        },
        {
          "#name": "tags",
          "Description": {
            "new": "Resource tags.",
            "old": "Deployment stack resource tags."
          }
        }
      ]
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
api-version: string ,
managementGroupId: string ,
deploymentStackName: string ,
}

⚐ Response (200)

{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_CreateOrUpdateAtManagementGroup (updated)
Description Creates or updates a Deployment stack at the specified scope.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_CreateOrUpdateAtManagementGroup",
  "Description": {
    "new": "Creates or updates a Deployment stack at the specified scope.",
    "old": "Creates or updates a Deployment stack at Management Group scope."
  },
  "$parameters": [
    {
      "#name": "managementGroupId",
      "Description": {
        "new": "The name of the management group. The name is case insensitive.",
        "old": "Management Group id."
      }
    },
    {
      "#name": "deploymentStack",
      "Description": {
        "new": "Resource create parameters.",
        "old": "Deployment stack supplied to the operation."
      },
      "$schema": {
        "$properties": [
          {
            "properties": [
              {
                "actionOnUnmanage": [
                  {
                    "#name": "resources",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "resourceGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "managementGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  }
                ]
              },
              {
                "#name": "provisioningState",
                "Enum": {
                  "new": [
                    [
                      "creating",
                      "The deployment stack is currently being created"
                    ],
                    [
                      "validating",
                      "The deployment stack is currently being validated"
                    ],
                    [
                      "waiting",
                      "The deployment stack is currently waiting"
                    ],
                    [
                      "deploying",
                      "The deployment stack is currently deploying"
                    ],
                    [
                      "canceling",
                      "The deployment stack is being cancelled"
                    ],
                    [
                      "updatingDenyAssignments",
                      "The deployment stack is updating deny assignments"
                    ],
                    [
                      "deletingResources",
                      "The deployment stack is deleting resources"
                    ],
                    [
                      "succeeded",
                      "The deployment stack completed successfully"
                    ],
                    [
                      "failed",
                      "The deployment stack has failed"
                    ],
                    [
                      "canceled",
                      "The deployment stack has been cancelled"
                    ],
                    [
                      "deleting",
                      "The deployment stack is being deleted"
                    ]
                  ],
                  "old": [
                    [
                      "creating",
                      ""
                    ],
                    [
                      "validating",
                      ""
                    ],
                    [
                      "waiting",
                      ""
                    ],
                    [
                      "deploying",
                      ""
                    ],
                    [
                      "canceling",
                      ""
                    ],
                    [
                      "updatingDenyAssignments",
                      ""
                    ],
                    [
                      "deletingResources",
                      ""
                    ],
                    [
                      "succeeded",
                      ""
                    ],
                    [
                      "failed",
                      ""
                    ],
                    [
                      "canceled",
                      ""
                    ],
                    [
                      "deleting",
                      ""
                    ]
                  ]
                }
              },
              {
                "detachedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              },
              {
                "deletedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "#name": "location",
            "Description": {
              "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
              "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
            }
          },
          {
            "#name": "tags",
            "Description": {
              "new": "Resource tags.",
              "old": "Deployment stack resource tags."
            }
          }
        ]
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": [
        {
          "properties": [
            {
              "actionOnUnmanage": [
                {
                  "#name": "resources",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "resourceGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "managementGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                }
              ]
            },
            {
              "#name": "provisioningState",
              "Enum": {
                "new": [
                  [
                    "creating",
                    "The deployment stack is currently being created"
                  ],
                  [
                    "validating",
                    "The deployment stack is currently being validated"
                  ],
                  [
                    "waiting",
                    "The deployment stack is currently waiting"
                  ],
                  [
                    "deploying",
                    "The deployment stack is currently deploying"
                  ],
                  [
                    "canceling",
                    "The deployment stack is being cancelled"
                  ],
                  [
                    "updatingDenyAssignments",
                    "The deployment stack is updating deny assignments"
                  ],
                  [
                    "deletingResources",
                    "The deployment stack is deleting resources"
                  ],
                  [
                    "succeeded",
                    "The deployment stack completed successfully"
                  ],
                  [
                    "failed",
                    "The deployment stack has failed"
                  ],
                  [
                    "canceled",
                    "The deployment stack has been cancelled"
                  ],
                  [
                    "deleting",
                    "The deployment stack is being deleted"
                  ]
                ],
                "old": [
                  [
                    "creating",
                    ""
                  ],
                  [
                    "validating",
                    ""
                  ],
                  [
                    "waiting",
                    ""
                  ],
                  [
                    "deploying",
                    ""
                  ],
                  [
                    "canceling",
                    ""
                  ],
                  [
                    "updatingDenyAssignments",
                    ""
                  ],
                  [
                    "deletingResources",
                    ""
                  ],
                  [
                    "succeeded",
                    ""
                  ],
                  [
                    "failed",
                    ""
                  ],
                  [
                    "canceled",
                    ""
                  ],
                  [
                    "deleting",
                    ""
                  ]
                ]
              }
            },
            {
              "detachedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            },
            {
              "deletedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "#name": "location",
          "Description": {
            "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
            "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
          }
        },
        {
          "#name": "tags",
          "Description": {
            "new": "Resource tags.",
            "old": "Deployment stack resource tags."
          }
        }
      ]
    },
    "201": {
      "$properties": [
        {
          "properties": [
            {
              "actionOnUnmanage": [
                {
                  "#name": "resources",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "resourceGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "managementGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                }
              ]
            },
            {
              "#name": "provisioningState",
              "Enum": {
                "new": [
                  [
                    "creating",
                    "The deployment stack is currently being created"
                  ],
                  [
                    "validating",
                    "The deployment stack is currently being validated"
                  ],
                  [
                    "waiting",
                    "The deployment stack is currently waiting"
                  ],
                  [
                    "deploying",
                    "The deployment stack is currently deploying"
                  ],
                  [
                    "canceling",
                    "The deployment stack is being cancelled"
                  ],
                  [
                    "updatingDenyAssignments",
                    "The deployment stack is updating deny assignments"
                  ],
                  [
                    "deletingResources",
                    "The deployment stack is deleting resources"
                  ],
                  [
                    "succeeded",
                    "The deployment stack completed successfully"
                  ],
                  [
                    "failed",
                    "The deployment stack has failed"
                  ],
                  [
                    "canceled",
                    "The deployment stack has been cancelled"
                  ],
                  [
                    "deleting",
                    "The deployment stack is being deleted"
                  ]
                ],
                "old": [
                  [
                    "creating",
                    ""
                  ],
                  [
                    "validating",
                    ""
                  ],
                  [
                    "waiting",
                    ""
                  ],
                  [
                    "deploying",
                    ""
                  ],
                  [
                    "canceling",
                    ""
                  ],
                  [
                    "updatingDenyAssignments",
                    ""
                  ],
                  [
                    "deletingResources",
                    ""
                  ],
                  [
                    "succeeded",
                    ""
                  ],
                  [
                    "failed",
                    ""
                  ],
                  [
                    "canceled",
                    ""
                  ],
                  [
                    "deleting",
                    ""
                  ]
                ]
              }
            },
            {
              "detachedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            },
            {
              "deletedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "#name": "location",
          "Description": {
            "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
            "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
          }
        },
        {
          "#name": "tags",
          "Description": {
            "new": "Resource tags.",
            "old": "Deployment stack resource tags."
          }
        }
      ]
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

PUT:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
api-version: string ,
managementGroupId: string ,
deploymentStackName: string ,
deploymentStack:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_DeleteAtManagementGroup (updated)
Description Deletes a Deployment stack by name at the specified scope. When operation completes, status code 200 returned without content.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_DeleteAtManagementGroup",
  "Description": {
    "new": "Deletes a Deployment stack by name at the specified scope. When operation completes, status code 200 returned without content.",
    "old": "Deletes a Deployment stack by name at Management Group scope. When operation completes, status code 200 returned without content."
  },
  "$parameters": [
    {
      "#name": "managementGroupId",
      "Description": {
        "new": "The name of the management group. The name is case insensitive.",
        "old": "Management Group id."
      }
    }
  ],
  "$responses": {
    "202": [
      {
        "@added_26c8cdb418544c6b8dcedfcdc966029d": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

DELETE:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
api-version: string ,
managementGroupId: string ,
deploymentStackName: string ,
unmanageAction.Resources: string ,
unmanageAction.ResourceGroups: string ,
unmanageAction.ManagementGroups: string ,
bypassStackOutOfSyncError: boolean ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_ExportTemplateAtManagementGroup (updated)
Description Exports the template used to create the Deployment stack at the specified scope.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_ExportTemplateAtManagementGroup",
  "Description": {
    "new": "Exports the template used to create the Deployment stack at the specified scope.",
    "old": "Exports the template used to create the Deployment stack at Management Group scope."
  },
  "$parameters": [
    {
      "#name": "managementGroupId",
      "Description": {
        "new": "The name of the management group. The name is case insensitive.",
        "old": "Management Group id."
      }
    }
  ],
  "$responses": {
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate
{
api-version: string ,
managementGroupId: string ,
deploymentStackName: string ,
}

⚐ Response (200)

{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_ValidateStackAtManagementGroup (updated)
Description Runs preflight validation on the Deployment stack template at the specified scope to verify its acceptance to Azure Resource Manager.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_ValidateStackAtManagementGroup",
  "Description": {
    "new": "Runs preflight validation on the Deployment stack template at the specified scope to verify its acceptance to Azure Resource Manager.",
    "old": "Runs preflight validation on the Management Group scoped Deployment stack template to verify its acceptance to Azure Resource Manager."
  },
  "$parameters": [
    {
      "#name": "managementGroupId",
      "Description": {
        "new": "The name of the management group. The name is case insensitive.",
        "old": "Management Group id."
      }
    },
    {
      "#name": "deploymentStack",
      "Description": {
        "new": "The content of the action request",
        "old": "Deployment stack to validate."
      },
      "$schema": {
        "$properties": [
          {
            "properties": [
              {
                "actionOnUnmanage": [
                  {
                    "#name": "resources",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "resourceGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "managementGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  }
                ]
              },
              {
                "#name": "provisioningState",
                "Enum": {
                  "new": [
                    [
                      "creating",
                      "The deployment stack is currently being created"
                    ],
                    [
                      "validating",
                      "The deployment stack is currently being validated"
                    ],
                    [
                      "waiting",
                      "The deployment stack is currently waiting"
                    ],
                    [
                      "deploying",
                      "The deployment stack is currently deploying"
                    ],
                    [
                      "canceling",
                      "The deployment stack is being cancelled"
                    ],
                    [
                      "updatingDenyAssignments",
                      "The deployment stack is updating deny assignments"
                    ],
                    [
                      "deletingResources",
                      "The deployment stack is deleting resources"
                    ],
                    [
                      "succeeded",
                      "The deployment stack completed successfully"
                    ],
                    [
                      "failed",
                      "The deployment stack has failed"
                    ],
                    [
                      "canceled",
                      "The deployment stack has been cancelled"
                    ],
                    [
                      "deleting",
                      "The deployment stack is being deleted"
                    ]
                  ],
                  "old": [
                    [
                      "creating",
                      ""
                    ],
                    [
                      "validating",
                      ""
                    ],
                    [
                      "waiting",
                      ""
                    ],
                    [
                      "deploying",
                      ""
                    ],
                    [
                      "canceling",
                      ""
                    ],
                    [
                      "updatingDenyAssignments",
                      ""
                    ],
                    [
                      "deletingResources",
                      ""
                    ],
                    [
                      "succeeded",
                      ""
                    ],
                    [
                      "failed",
                      ""
                    ],
                    [
                      "canceled",
                      ""
                    ],
                    [
                      "deleting",
                      ""
                    ]
                  ]
                }
              },
              {
                "detachedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              },
              {
                "deletedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "#name": "location",
            "Description": {
              "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
              "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
            }
          },
          {
            "#name": "tags",
            "Description": {
              "new": "Resource tags.",
              "old": "Deployment stack resource tags."
            }
          }
        ]
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@added_d04335b8bdb54f519a6be5f9b6f5523b": {
          "#name": "id",
          "Description": "String Id used to locate any resource on Azure.",
          "Required": false,
          "Type": "string"
        },
        "@added_749d0f0a7630481893ff58cc7877a0f6": {
          "#name": "name",
          "Description": "Name of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_a1dd1c842e2743ca92100f1810e28d3b": {
          "#name": "type",
          "Description": "Type of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_af27ad87abaa4613a256d40ec332e841": {
          "#name": "systemData",
          "Description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        },
        "@added_b67f794bbaa04c76aa33d45697688418": {
          "#name": "error",
          "Description": "The error detail.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "code",
              "Description": "The error code.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "message",
              "Description": "The error message.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "target",
              "Description": "The error target.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "details",
              "Description": "The error details.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The error detail.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "code",
                    "Description": "The error code.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "message",
                    "Description": "The error message.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "target",
                    "Description": "The error target.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "details",
                    "Description": "The error details.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Type": "string"
                    }
                  },
                  {
                    "#name": "additionalInfo",
                    "Description": "The error additional info.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Description": "The resource management error additional info.",
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "type",
                          "Description": "The additional info type.",
                          "Required": false,
                          "Type": "string"
                        },
                        {
                          "#name": "info",
                          "Description": "The additional info.",
                          "Required": false,
                          "Type": "object"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "#name": "additionalInfo",
              "Description": "The error additional info.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The resource management error additional info.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "type",
                    "Description": "The additional info type.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "info",
                    "Description": "The additional info.",
                    "Required": false,
                    "Type": "object"
                  }
                ]
              }
            }
          ]
        },
        "properties": [
          {
            "actionOnUnmanage": [
              {
                "#name": "resources",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "resourceGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "managementGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              }
            ]
          },
          {
            "validatedResources": {
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                    "old": "The resourceId of a resource managed by the deployment stack."
                  }
                }
              ]
            }
          }
        ]
      }
    },
    "202": [
      {
        "#name": "retry-after",
        "Description": {
          "new": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "old": "Number of seconds to wait before polling for status."
        },
        "Type": {
          "new": "integer",
          "old": "string"
        }
      }
    ],
    "400": {
      "$properties": {
        "@added_c3fc7e1cb67140208a23c605bf398ebe": {
          "#name": "id",
          "Description": "String Id used to locate any resource on Azure.",
          "Required": false,
          "Type": "string"
        },
        "@added_49d2a4b2905047f8b241e8a275cffb23": {
          "#name": "name",
          "Description": "Name of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_84e1037903d84779acaf8ebcb74561fa": {
          "#name": "type",
          "Description": "Type of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_d5ae15b619d14591afb35ef1d6044952": {
          "#name": "systemData",
          "Description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        },
        "@added_e160c6a575f64b43b81949864ae14782": {
          "#name": "error",
          "Description": "The error detail.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "code",
              "Description": "The error code.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "message",
              "Description": "The error message.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "target",
              "Description": "The error target.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "details",
              "Description": "The error details.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The error detail.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "code",
                    "Description": "The error code.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "message",
                    "Description": "The error message.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "target",
                    "Description": "The error target.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "details",
                    "Description": "The error details.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Type": "string"
                    }
                  },
                  {
                    "#name": "additionalInfo",
                    "Description": "The error additional info.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Description": "The resource management error additional info.",
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "type",
                          "Description": "The additional info type.",
                          "Required": false,
                          "Type": "string"
                        },
                        {
                          "#name": "info",
                          "Description": "The additional info.",
                          "Required": false,
                          "Type": "object"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "#name": "additionalInfo",
              "Description": "The error additional info.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The resource management error additional info.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "type",
                    "Description": "The additional info type.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "info",
                    "Description": "The additional info.",
                    "Required": false,
                    "Type": "object"
                  }
                ]
              }
            }
          ]
        },
        "properties": [
          {
            "actionOnUnmanage": [
              {
                "#name": "resources",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "resourceGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "managementGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              }
            ]
          },
          {
            "validatedResources": {
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                    "old": "The resourceId of a resource managed by the deployment stack."
                  }
                }
              ]
            }
          }
        ]
      }
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/validate
{
api-version: string ,
managementGroupId: string ,
deploymentStackName: string ,
deploymentStack:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
properties:
{
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
correlationId: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
deploymentScope: string ,
description: string ,
parameters: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
validatedResources:
[
{
id: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (400)

{
id: string ,
name: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
properties:
{
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
correlationId: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
deploymentScope: string ,
description: string ,
parameters: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
validatedResources:
[
{
id: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_ListAtSubscription (updated)
Description Lists Deployment stacks at the specified scope.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_ListAtSubscription",
  "Description": {
    "new": "Lists Deployment stacks at the specified scope.",
    "old": "Lists all the Deployment stacks within the specified Subscription."
  },
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a DeploymentStack list operation.",
        "old": "List of Deployment stacks."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The DeploymentStack items on this page",
            "old": "An array of Deployment stacks."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": [
              {
                "properties": [
                  {
                    "actionOnUnmanage": [
                      {
                        "#name": "resources",
                        "Enum": {
                          "new": [
                            [
                              "delete",
                              "Delete the specified resources from Azure"
                            ],
                            [
                              "detach",
                              "Keep the specified resources in Azure"
                            ]
                          ],
                          "old": [
                            [
                              "delete",
                              ""
                            ],
                            [
                              "detach",
                              ""
                            ]
                          ]
                        }
                      },
                      {
                        "#name": "resourceGroups",
                        "Enum": {
                          "new": [
                            [
                              "delete",
                              "Delete the specified resources from Azure"
                            ],
                            [
                              "detach",
                              "Keep the specified resources in Azure"
                            ]
                          ],
                          "old": [
                            [
                              "delete",
                              ""
                            ],
                            [
                              "detach",
                              ""
                            ]
                          ]
                        }
                      },
                      {
                        "#name": "managementGroups",
                        "Enum": {
                          "new": [
                            [
                              "delete",
                              "Delete the specified resources from Azure"
                            ],
                            [
                              "detach",
                              "Keep the specified resources in Azure"
                            ]
                          ],
                          "old": [
                            [
                              "delete",
                              ""
                            ],
                            [
                              "detach",
                              ""
                            ]
                          ]
                        }
                      }
                    ]
                  },
                  {
                    "#name": "provisioningState",
                    "Enum": {
                      "new": [
                        [
                          "creating",
                          "The deployment stack is currently being created"
                        ],
                        [
                          "validating",
                          "The deployment stack is currently being validated"
                        ],
                        [
                          "waiting",
                          "The deployment stack is currently waiting"
                        ],
                        [
                          "deploying",
                          "The deployment stack is currently deploying"
                        ],
                        [
                          "canceling",
                          "The deployment stack is being cancelled"
                        ],
                        [
                          "updatingDenyAssignments",
                          "The deployment stack is updating deny assignments"
                        ],
                        [
                          "deletingResources",
                          "The deployment stack is deleting resources"
                        ],
                        [
                          "succeeded",
                          "The deployment stack completed successfully"
                        ],
                        [
                          "failed",
                          "The deployment stack has failed"
                        ],
                        [
                          "canceled",
                          "The deployment stack has been cancelled"
                        ],
                        [
                          "deleting",
                          "The deployment stack is being deleted"
                        ]
                      ],
                      "old": [
                        [
                          "creating",
                          ""
                        ],
                        [
                          "validating",
                          ""
                        ],
                        [
                          "waiting",
                          ""
                        ],
                        [
                          "deploying",
                          ""
                        ],
                        [
                          "canceling",
                          ""
                        ],
                        [
                          "updatingDenyAssignments",
                          ""
                        ],
                        [
                          "deletingResources",
                          ""
                        ],
                        [
                          "succeeded",
                          ""
                        ],
                        [
                          "failed",
                          ""
                        ],
                        [
                          "canceled",
                          ""
                        ],
                        [
                          "deleting",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "detachedResources": {
                      "$properties": [
                        {
                          "#name": "id",
                          "Description": {
                            "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                            "old": "The resourceId of a resource managed by the deployment stack."
                          }
                        }
                      ]
                    }
                  },
                  {
                    "deletedResources": {
                      "$properties": [
                        {
                          "#name": "id",
                          "Description": {
                            "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                            "old": "The resourceId of a resource managed by the deployment stack."
                          }
                        }
                      ]
                    }
                  }
                ]
              },
              {
                "#name": "location",
                "Description": {
                  "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
                  "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
                }
              },
              {
                "#name": "tags",
                "Description": {
                  "new": "Resource tags.",
                  "old": "Deployment stack resource tags."
                }
              }
            ]
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "The URL to use for getting the next set of results."
          }
        }
      ]
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_GetAtSubscription (updated)
Description Gets the Deployment stack with the given name.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_GetAtSubscription",
  "Description": {
    "new": "Gets the Deployment stack with the given name.",
    "old": "Gets a Deployment stack with a given name at Subscription scope."
  },
  "$responses": {
    "200": {
      "$properties": [
        {
          "properties": [
            {
              "actionOnUnmanage": [
                {
                  "#name": "resources",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "resourceGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "managementGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                }
              ]
            },
            {
              "#name": "provisioningState",
              "Enum": {
                "new": [
                  [
                    "creating",
                    "The deployment stack is currently being created"
                  ],
                  [
                    "validating",
                    "The deployment stack is currently being validated"
                  ],
                  [
                    "waiting",
                    "The deployment stack is currently waiting"
                  ],
                  [
                    "deploying",
                    "The deployment stack is currently deploying"
                  ],
                  [
                    "canceling",
                    "The deployment stack is being cancelled"
                  ],
                  [
                    "updatingDenyAssignments",
                    "The deployment stack is updating deny assignments"
                  ],
                  [
                    "deletingResources",
                    "The deployment stack is deleting resources"
                  ],
                  [
                    "succeeded",
                    "The deployment stack completed successfully"
                  ],
                  [
                    "failed",
                    "The deployment stack has failed"
                  ],
                  [
                    "canceled",
                    "The deployment stack has been cancelled"
                  ],
                  [
                    "deleting",
                    "The deployment stack is being deleted"
                  ]
                ],
                "old": [
                  [
                    "creating",
                    ""
                  ],
                  [
                    "validating",
                    ""
                  ],
                  [
                    "waiting",
                    ""
                  ],
                  [
                    "deploying",
                    ""
                  ],
                  [
                    "canceling",
                    ""
                  ],
                  [
                    "updatingDenyAssignments",
                    ""
                  ],
                  [
                    "deletingResources",
                    ""
                  ],
                  [
                    "succeeded",
                    ""
                  ],
                  [
                    "failed",
                    ""
                  ],
                  [
                    "canceled",
                    ""
                  ],
                  [
                    "deleting",
                    ""
                  ]
                ]
              }
            },
            {
              "detachedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            },
            {
              "deletedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "#name": "location",
          "Description": {
            "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
            "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
          }
        },
        {
          "#name": "tags",
          "Description": {
            "new": "Resource tags.",
            "old": "Deployment stack resource tags."
          }
        }
      ]
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
api-version: string ,
subscriptionId: string ,
deploymentStackName: string ,
}

⚐ Response (200)

{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_CreateOrUpdateAtSubscription (updated)
Description Creates or updates a Deployment stack at the specified scope.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_CreateOrUpdateAtSubscription",
  "Description": {
    "new": "Creates or updates a Deployment stack at the specified scope.",
    "old": "Creates or updates a Deployment stack at Subscription scope."
  },
  "$parameters": [
    {
      "#name": "deploymentStack",
      "Description": {
        "new": "Resource create parameters.",
        "old": "Deployment stack supplied to the operation."
      },
      "$schema": {
        "$properties": [
          {
            "properties": [
              {
                "actionOnUnmanage": [
                  {
                    "#name": "resources",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "resourceGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "managementGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  }
                ]
              },
              {
                "#name": "provisioningState",
                "Enum": {
                  "new": [
                    [
                      "creating",
                      "The deployment stack is currently being created"
                    ],
                    [
                      "validating",
                      "The deployment stack is currently being validated"
                    ],
                    [
                      "waiting",
                      "The deployment stack is currently waiting"
                    ],
                    [
                      "deploying",
                      "The deployment stack is currently deploying"
                    ],
                    [
                      "canceling",
                      "The deployment stack is being cancelled"
                    ],
                    [
                      "updatingDenyAssignments",
                      "The deployment stack is updating deny assignments"
                    ],
                    [
                      "deletingResources",
                      "The deployment stack is deleting resources"
                    ],
                    [
                      "succeeded",
                      "The deployment stack completed successfully"
                    ],
                    [
                      "failed",
                      "The deployment stack has failed"
                    ],
                    [
                      "canceled",
                      "The deployment stack has been cancelled"
                    ],
                    [
                      "deleting",
                      "The deployment stack is being deleted"
                    ]
                  ],
                  "old": [
                    [
                      "creating",
                      ""
                    ],
                    [
                      "validating",
                      ""
                    ],
                    [
                      "waiting",
                      ""
                    ],
                    [
                      "deploying",
                      ""
                    ],
                    [
                      "canceling",
                      ""
                    ],
                    [
                      "updatingDenyAssignments",
                      ""
                    ],
                    [
                      "deletingResources",
                      ""
                    ],
                    [
                      "succeeded",
                      ""
                    ],
                    [
                      "failed",
                      ""
                    ],
                    [
                      "canceled",
                      ""
                    ],
                    [
                      "deleting",
                      ""
                    ]
                  ]
                }
              },
              {
                "detachedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              },
              {
                "deletedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "#name": "location",
            "Description": {
              "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
              "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
            }
          },
          {
            "#name": "tags",
            "Description": {
              "new": "Resource tags.",
              "old": "Deployment stack resource tags."
            }
          }
        ]
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": [
        {
          "properties": [
            {
              "actionOnUnmanage": [
                {
                  "#name": "resources",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "resourceGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "managementGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                }
              ]
            },
            {
              "#name": "provisioningState",
              "Enum": {
                "new": [
                  [
                    "creating",
                    "The deployment stack is currently being created"
                  ],
                  [
                    "validating",
                    "The deployment stack is currently being validated"
                  ],
                  [
                    "waiting",
                    "The deployment stack is currently waiting"
                  ],
                  [
                    "deploying",
                    "The deployment stack is currently deploying"
                  ],
                  [
                    "canceling",
                    "The deployment stack is being cancelled"
                  ],
                  [
                    "updatingDenyAssignments",
                    "The deployment stack is updating deny assignments"
                  ],
                  [
                    "deletingResources",
                    "The deployment stack is deleting resources"
                  ],
                  [
                    "succeeded",
                    "The deployment stack completed successfully"
                  ],
                  [
                    "failed",
                    "The deployment stack has failed"
                  ],
                  [
                    "canceled",
                    "The deployment stack has been cancelled"
                  ],
                  [
                    "deleting",
                    "The deployment stack is being deleted"
                  ]
                ],
                "old": [
                  [
                    "creating",
                    ""
                  ],
                  [
                    "validating",
                    ""
                  ],
                  [
                    "waiting",
                    ""
                  ],
                  [
                    "deploying",
                    ""
                  ],
                  [
                    "canceling",
                    ""
                  ],
                  [
                    "updatingDenyAssignments",
                    ""
                  ],
                  [
                    "deletingResources",
                    ""
                  ],
                  [
                    "succeeded",
                    ""
                  ],
                  [
                    "failed",
                    ""
                  ],
                  [
                    "canceled",
                    ""
                  ],
                  [
                    "deleting",
                    ""
                  ]
                ]
              }
            },
            {
              "detachedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            },
            {
              "deletedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "#name": "location",
          "Description": {
            "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
            "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
          }
        },
        {
          "#name": "tags",
          "Description": {
            "new": "Resource tags.",
            "old": "Deployment stack resource tags."
          }
        }
      ]
    },
    "201": {
      "$properties": [
        {
          "properties": [
            {
              "actionOnUnmanage": [
                {
                  "#name": "resources",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "resourceGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "managementGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                }
              ]
            },
            {
              "#name": "provisioningState",
              "Enum": {
                "new": [
                  [
                    "creating",
                    "The deployment stack is currently being created"
                  ],
                  [
                    "validating",
                    "The deployment stack is currently being validated"
                  ],
                  [
                    "waiting",
                    "The deployment stack is currently waiting"
                  ],
                  [
                    "deploying",
                    "The deployment stack is currently deploying"
                  ],
                  [
                    "canceling",
                    "The deployment stack is being cancelled"
                  ],
                  [
                    "updatingDenyAssignments",
                    "The deployment stack is updating deny assignments"
                  ],
                  [
                    "deletingResources",
                    "The deployment stack is deleting resources"
                  ],
                  [
                    "succeeded",
                    "The deployment stack completed successfully"
                  ],
                  [
                    "failed",
                    "The deployment stack has failed"
                  ],
                  [
                    "canceled",
                    "The deployment stack has been cancelled"
                  ],
                  [
                    "deleting",
                    "The deployment stack is being deleted"
                  ]
                ],
                "old": [
                  [
                    "creating",
                    ""
                  ],
                  [
                    "validating",
                    ""
                  ],
                  [
                    "waiting",
                    ""
                  ],
                  [
                    "deploying",
                    ""
                  ],
                  [
                    "canceling",
                    ""
                  ],
                  [
                    "updatingDenyAssignments",
                    ""
                  ],
                  [
                    "deletingResources",
                    ""
                  ],
                  [
                    "succeeded",
                    ""
                  ],
                  [
                    "failed",
                    ""
                  ],
                  [
                    "canceled",
                    ""
                  ],
                  [
                    "deleting",
                    ""
                  ]
                ]
              }
            },
            {
              "detachedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            },
            {
              "deletedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "#name": "location",
          "Description": {
            "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
            "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
          }
        },
        {
          "#name": "tags",
          "Description": {
            "new": "Resource tags.",
            "old": "Deployment stack resource tags."
          }
        }
      ]
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
api-version: string ,
subscriptionId: string ,
deploymentStackName: string ,
deploymentStack:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_DeleteAtSubscription (updated)
Description Deletes a Deployment stack by name at the specified scope. When operation completes, status code 200 returned without content.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_DeleteAtSubscription",
  "Description": {
    "new": "Deletes a Deployment stack by name at the specified scope. When operation completes, status code 200 returned without content.",
    "old": "Deletes a Deployment stack by name at Subscription scope. When operation completes, status code 200 returned without content."
  },
  "$responses": {
    "202": [
      {
        "@added_2661afc026e148768db6df54a675357c": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
api-version: string ,
subscriptionId: string ,
deploymentStackName: string ,
unmanageAction.Resources: string ,
unmanageAction.ResourceGroups: string ,
unmanageAction.ManagementGroups: string ,
bypassStackOutOfSyncError: boolean ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_ExportTemplateAtSubscription (updated)
Description Exports the template used to create the Deployment stack at the specified scope.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_ExportTemplateAtSubscription",
  "Description": {
    "new": "Exports the template used to create the Deployment stack at the specified scope.",
    "old": "Exports the template used to create the Deployment stack at Subscription scope."
  },
  "$responses": {
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate
{
api-version: string ,
subscriptionId: string ,
deploymentStackName: string ,
}

⚐ Response (200)

{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_ValidateStackAtSubscription (updated)
Description Runs preflight validation on the Deployment stack template at the specified scope to verify its acceptance to Azure Resource Manager.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_ValidateStackAtSubscription",
  "Description": {
    "new": "Runs preflight validation on the Deployment stack template at the specified scope to verify its acceptance to Azure Resource Manager.",
    "old": "Runs preflight validation on the Subscription scoped Deployment stack template to verify its acceptance to Azure Resource Manager."
  },
  "$parameters": [
    {
      "#name": "deploymentStack",
      "Description": {
        "new": "The content of the action request",
        "old": "Deployment stack to validate."
      },
      "$schema": {
        "$properties": [
          {
            "properties": [
              {
                "actionOnUnmanage": [
                  {
                    "#name": "resources",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "resourceGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "managementGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  }
                ]
              },
              {
                "#name": "provisioningState",
                "Enum": {
                  "new": [
                    [
                      "creating",
                      "The deployment stack is currently being created"
                    ],
                    [
                      "validating",
                      "The deployment stack is currently being validated"
                    ],
                    [
                      "waiting",
                      "The deployment stack is currently waiting"
                    ],
                    [
                      "deploying",
                      "The deployment stack is currently deploying"
                    ],
                    [
                      "canceling",
                      "The deployment stack is being cancelled"
                    ],
                    [
                      "updatingDenyAssignments",
                      "The deployment stack is updating deny assignments"
                    ],
                    [
                      "deletingResources",
                      "The deployment stack is deleting resources"
                    ],
                    [
                      "succeeded",
                      "The deployment stack completed successfully"
                    ],
                    [
                      "failed",
                      "The deployment stack has failed"
                    ],
                    [
                      "canceled",
                      "The deployment stack has been cancelled"
                    ],
                    [
                      "deleting",
                      "The deployment stack is being deleted"
                    ]
                  ],
                  "old": [
                    [
                      "creating",
                      ""
                    ],
                    [
                      "validating",
                      ""
                    ],
                    [
                      "waiting",
                      ""
                    ],
                    [
                      "deploying",
                      ""
                    ],
                    [
                      "canceling",
                      ""
                    ],
                    [
                      "updatingDenyAssignments",
                      ""
                    ],
                    [
                      "deletingResources",
                      ""
                    ],
                    [
                      "succeeded",
                      ""
                    ],
                    [
                      "failed",
                      ""
                    ],
                    [
                      "canceled",
                      ""
                    ],
                    [
                      "deleting",
                      ""
                    ]
                  ]
                }
              },
              {
                "detachedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              },
              {
                "deletedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "#name": "location",
            "Description": {
              "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
              "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
            }
          },
          {
            "#name": "tags",
            "Description": {
              "new": "Resource tags.",
              "old": "Deployment stack resource tags."
            }
          }
        ]
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@added_480045742d27448e8ffd494898f26806": {
          "#name": "id",
          "Description": "String Id used to locate any resource on Azure.",
          "Required": false,
          "Type": "string"
        },
        "@added_2f175a2fc1ac4af0a270e6413f573feb": {
          "#name": "name",
          "Description": "Name of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_463e2fea2b994af4bc97e181deadbc75": {
          "#name": "type",
          "Description": "Type of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_8de17657e61c4ff7a307398af5d344b6": {
          "#name": "systemData",
          "Description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        },
        "@added_e9976cc31cca4dca952ee176d0754592": {
          "#name": "error",
          "Description": "The error detail.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "code",
              "Description": "The error code.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "message",
              "Description": "The error message.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "target",
              "Description": "The error target.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "details",
              "Description": "The error details.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The error detail.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "code",
                    "Description": "The error code.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "message",
                    "Description": "The error message.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "target",
                    "Description": "The error target.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "details",
                    "Description": "The error details.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Type": "string"
                    }
                  },
                  {
                    "#name": "additionalInfo",
                    "Description": "The error additional info.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Description": "The resource management error additional info.",
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "type",
                          "Description": "The additional info type.",
                          "Required": false,
                          "Type": "string"
                        },
                        {
                          "#name": "info",
                          "Description": "The additional info.",
                          "Required": false,
                          "Type": "object"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "#name": "additionalInfo",
              "Description": "The error additional info.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The resource management error additional info.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "type",
                    "Description": "The additional info type.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "info",
                    "Description": "The additional info.",
                    "Required": false,
                    "Type": "object"
                  }
                ]
              }
            }
          ]
        },
        "properties": [
          {
            "actionOnUnmanage": [
              {
                "#name": "resources",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "resourceGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "managementGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              }
            ]
          },
          {
            "validatedResources": {
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                    "old": "The resourceId of a resource managed by the deployment stack."
                  }
                }
              ]
            }
          }
        ]
      }
    },
    "202": [
      {
        "#name": "retry-after",
        "Description": {
          "new": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "old": "Number of seconds to wait before polling for status."
        },
        "Type": {
          "new": "integer",
          "old": "string"
        }
      }
    ],
    "400": {
      "$properties": {
        "@added_b61c1799a402477a908d60db1b401a4f": {
          "#name": "id",
          "Description": "String Id used to locate any resource on Azure.",
          "Required": false,
          "Type": "string"
        },
        "@added_66c83dd1aa6247988ae0895d9b4b36a1": {
          "#name": "name",
          "Description": "Name of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_e50d0e84f9ec40af903c0c355d2e1df2": {
          "#name": "type",
          "Description": "Type of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_20dbbeaeea314de2801929c6528baf98": {
          "#name": "systemData",
          "Description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        },
        "@added_cacb85d3b26e4332ac26dcab7a812766": {
          "#name": "error",
          "Description": "The error detail.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "code",
              "Description": "The error code.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "message",
              "Description": "The error message.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "target",
              "Description": "The error target.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "details",
              "Description": "The error details.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The error detail.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "code",
                    "Description": "The error code.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "message",
                    "Description": "The error message.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "target",
                    "Description": "The error target.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "details",
                    "Description": "The error details.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Type": "string"
                    }
                  },
                  {
                    "#name": "additionalInfo",
                    "Description": "The error additional info.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Description": "The resource management error additional info.",
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "type",
                          "Description": "The additional info type.",
                          "Required": false,
                          "Type": "string"
                        },
                        {
                          "#name": "info",
                          "Description": "The additional info.",
                          "Required": false,
                          "Type": "object"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "#name": "additionalInfo",
              "Description": "The error additional info.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The resource management error additional info.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "type",
                    "Description": "The additional info type.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "info",
                    "Description": "The additional info.",
                    "Required": false,
                    "Type": "object"
                  }
                ]
              }
            }
          ]
        },
        "properties": [
          {
            "actionOnUnmanage": [
              {
                "#name": "resources",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "resourceGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "managementGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              }
            ]
          },
          {
            "validatedResources": {
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                    "old": "The resourceId of a resource managed by the deployment stack."
                  }
                }
              ]
            }
          }
        ]
      }
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/validate
{
api-version: string ,
subscriptionId: string ,
deploymentStackName: string ,
deploymentStack:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
properties:
{
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
correlationId: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
deploymentScope: string ,
description: string ,
parameters: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
validatedResources:
[
{
id: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (400)

{
id: string ,
name: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
properties:
{
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
correlationId: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
deploymentScope: string ,
description: string ,
parameters: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
validatedResources:
[
{
id: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_ListAtResourceGroup (updated)
Description Lists Deployment stacks at the specified scope.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_ListAtResourceGroup",
  "Description": {
    "new": "Lists Deployment stacks at the specified scope.",
    "old": "Lists all the Deployment stacks within the specified Resource Group."
  },
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a DeploymentStack list operation.",
        "old": "List of Deployment stacks."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The DeploymentStack items on this page",
            "old": "An array of Deployment stacks."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": [
              {
                "properties": [
                  {
                    "actionOnUnmanage": [
                      {
                        "#name": "resources",
                        "Enum": {
                          "new": [
                            [
                              "delete",
                              "Delete the specified resources from Azure"
                            ],
                            [
                              "detach",
                              "Keep the specified resources in Azure"
                            ]
                          ],
                          "old": [
                            [
                              "delete",
                              ""
                            ],
                            [
                              "detach",
                              ""
                            ]
                          ]
                        }
                      },
                      {
                        "#name": "resourceGroups",
                        "Enum": {
                          "new": [
                            [
                              "delete",
                              "Delete the specified resources from Azure"
                            ],
                            [
                              "detach",
                              "Keep the specified resources in Azure"
                            ]
                          ],
                          "old": [
                            [
                              "delete",
                              ""
                            ],
                            [
                              "detach",
                              ""
                            ]
                          ]
                        }
                      },
                      {
                        "#name": "managementGroups",
                        "Enum": {
                          "new": [
                            [
                              "delete",
                              "Delete the specified resources from Azure"
                            ],
                            [
                              "detach",
                              "Keep the specified resources in Azure"
                            ]
                          ],
                          "old": [
                            [
                              "delete",
                              ""
                            ],
                            [
                              "detach",
                              ""
                            ]
                          ]
                        }
                      }
                    ]
                  },
                  {
                    "#name": "provisioningState",
                    "Enum": {
                      "new": [
                        [
                          "creating",
                          "The deployment stack is currently being created"
                        ],
                        [
                          "validating",
                          "The deployment stack is currently being validated"
                        ],
                        [
                          "waiting",
                          "The deployment stack is currently waiting"
                        ],
                        [
                          "deploying",
                          "The deployment stack is currently deploying"
                        ],
                        [
                          "canceling",
                          "The deployment stack is being cancelled"
                        ],
                        [
                          "updatingDenyAssignments",
                          "The deployment stack is updating deny assignments"
                        ],
                        [
                          "deletingResources",
                          "The deployment stack is deleting resources"
                        ],
                        [
                          "succeeded",
                          "The deployment stack completed successfully"
                        ],
                        [
                          "failed",
                          "The deployment stack has failed"
                        ],
                        [
                          "canceled",
                          "The deployment stack has been cancelled"
                        ],
                        [
                          "deleting",
                          "The deployment stack is being deleted"
                        ]
                      ],
                      "old": [
                        [
                          "creating",
                          ""
                        ],
                        [
                          "validating",
                          ""
                        ],
                        [
                          "waiting",
                          ""
                        ],
                        [
                          "deploying",
                          ""
                        ],
                        [
                          "canceling",
                          ""
                        ],
                        [
                          "updatingDenyAssignments",
                          ""
                        ],
                        [
                          "deletingResources",
                          ""
                        ],
                        [
                          "succeeded",
                          ""
                        ],
                        [
                          "failed",
                          ""
                        ],
                        [
                          "canceled",
                          ""
                        ],
                        [
                          "deleting",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "detachedResources": {
                      "$properties": [
                        {
                          "#name": "id",
                          "Description": {
                            "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                            "old": "The resourceId of a resource managed by the deployment stack."
                          }
                        }
                      ]
                    }
                  },
                  {
                    "deletedResources": {
                      "$properties": [
                        {
                          "#name": "id",
                          "Description": {
                            "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                            "old": "The resourceId of a resource managed by the deployment stack."
                          }
                        }
                      ]
                    }
                  }
                ]
              },
              {
                "#name": "location",
                "Description": {
                  "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
                  "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
                }
              },
              {
                "#name": "tags",
                "Description": {
                  "new": "Resource tags.",
                  "old": "Deployment stack resource tags."
                }
              }
            ]
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "The URL to use for getting the next set of results."
          }
        }
      ]
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_GetAtResourceGroup (updated)
Description Gets the Deployment stack with the given name.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_GetAtResourceGroup",
  "Description": {
    "new": "Gets the Deployment stack with the given name.",
    "old": "Gets a Deployment stack with a given name at Resource Group scope."
  },
  "$responses": {
    "200": {
      "$properties": [
        {
          "properties": [
            {
              "actionOnUnmanage": [
                {
                  "#name": "resources",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "resourceGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "managementGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                }
              ]
            },
            {
              "#name": "provisioningState",
              "Enum": {
                "new": [
                  [
                    "creating",
                    "The deployment stack is currently being created"
                  ],
                  [
                    "validating",
                    "The deployment stack is currently being validated"
                  ],
                  [
                    "waiting",
                    "The deployment stack is currently waiting"
                  ],
                  [
                    "deploying",
                    "The deployment stack is currently deploying"
                  ],
                  [
                    "canceling",
                    "The deployment stack is being cancelled"
                  ],
                  [
                    "updatingDenyAssignments",
                    "The deployment stack is updating deny assignments"
                  ],
                  [
                    "deletingResources",
                    "The deployment stack is deleting resources"
                  ],
                  [
                    "succeeded",
                    "The deployment stack completed successfully"
                  ],
                  [
                    "failed",
                    "The deployment stack has failed"
                  ],
                  [
                    "canceled",
                    "The deployment stack has been cancelled"
                  ],
                  [
                    "deleting",
                    "The deployment stack is being deleted"
                  ]
                ],
                "old": [
                  [
                    "creating",
                    ""
                  ],
                  [
                    "validating",
                    ""
                  ],
                  [
                    "waiting",
                    ""
                  ],
                  [
                    "deploying",
                    ""
                  ],
                  [
                    "canceling",
                    ""
                  ],
                  [
                    "updatingDenyAssignments",
                    ""
                  ],
                  [
                    "deletingResources",
                    ""
                  ],
                  [
                    "succeeded",
                    ""
                  ],
                  [
                    "failed",
                    ""
                  ],
                  [
                    "canceled",
                    ""
                  ],
                  [
                    "deleting",
                    ""
                  ]
                ]
              }
            },
            {
              "detachedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            },
            {
              "deletedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "#name": "location",
          "Description": {
            "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
            "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
          }
        },
        {
          "#name": "tags",
          "Description": {
            "new": "Resource tags.",
            "old": "Deployment stack resource tags."
          }
        }
      ]
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
deploymentStackName: string ,
}

⚐ Response (200)

{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_CreateOrUpdateAtResourceGroup (updated)
Description Creates or updates a Deployment stack at the specified scope.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_CreateOrUpdateAtResourceGroup",
  "Description": {
    "new": "Creates or updates a Deployment stack at the specified scope.",
    "old": "Creates or updates a Deployment stack at Resource Group scope."
  },
  "$parameters": [
    {
      "#name": "deploymentStack",
      "Description": {
        "new": "Resource create parameters.",
        "old": "Deployment stack supplied to the operation."
      },
      "$schema": {
        "$properties": [
          {
            "properties": [
              {
                "actionOnUnmanage": [
                  {
                    "#name": "resources",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "resourceGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "managementGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  }
                ]
              },
              {
                "#name": "provisioningState",
                "Enum": {
                  "new": [
                    [
                      "creating",
                      "The deployment stack is currently being created"
                    ],
                    [
                      "validating",
                      "The deployment stack is currently being validated"
                    ],
                    [
                      "waiting",
                      "The deployment stack is currently waiting"
                    ],
                    [
                      "deploying",
                      "The deployment stack is currently deploying"
                    ],
                    [
                      "canceling",
                      "The deployment stack is being cancelled"
                    ],
                    [
                      "updatingDenyAssignments",
                      "The deployment stack is updating deny assignments"
                    ],
                    [
                      "deletingResources",
                      "The deployment stack is deleting resources"
                    ],
                    [
                      "succeeded",
                      "The deployment stack completed successfully"
                    ],
                    [
                      "failed",
                      "The deployment stack has failed"
                    ],
                    [
                      "canceled",
                      "The deployment stack has been cancelled"
                    ],
                    [
                      "deleting",
                      "The deployment stack is being deleted"
                    ]
                  ],
                  "old": [
                    [
                      "creating",
                      ""
                    ],
                    [
                      "validating",
                      ""
                    ],
                    [
                      "waiting",
                      ""
                    ],
                    [
                      "deploying",
                      ""
                    ],
                    [
                      "canceling",
                      ""
                    ],
                    [
                      "updatingDenyAssignments",
                      ""
                    ],
                    [
                      "deletingResources",
                      ""
                    ],
                    [
                      "succeeded",
                      ""
                    ],
                    [
                      "failed",
                      ""
                    ],
                    [
                      "canceled",
                      ""
                    ],
                    [
                      "deleting",
                      ""
                    ]
                  ]
                }
              },
              {
                "detachedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              },
              {
                "deletedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "#name": "location",
            "Description": {
              "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
              "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
            }
          },
          {
            "#name": "tags",
            "Description": {
              "new": "Resource tags.",
              "old": "Deployment stack resource tags."
            }
          }
        ]
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": [
        {
          "properties": [
            {
              "actionOnUnmanage": [
                {
                  "#name": "resources",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "resourceGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "managementGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                }
              ]
            },
            {
              "#name": "provisioningState",
              "Enum": {
                "new": [
                  [
                    "creating",
                    "The deployment stack is currently being created"
                  ],
                  [
                    "validating",
                    "The deployment stack is currently being validated"
                  ],
                  [
                    "waiting",
                    "The deployment stack is currently waiting"
                  ],
                  [
                    "deploying",
                    "The deployment stack is currently deploying"
                  ],
                  [
                    "canceling",
                    "The deployment stack is being cancelled"
                  ],
                  [
                    "updatingDenyAssignments",
                    "The deployment stack is updating deny assignments"
                  ],
                  [
                    "deletingResources",
                    "The deployment stack is deleting resources"
                  ],
                  [
                    "succeeded",
                    "The deployment stack completed successfully"
                  ],
                  [
                    "failed",
                    "The deployment stack has failed"
                  ],
                  [
                    "canceled",
                    "The deployment stack has been cancelled"
                  ],
                  [
                    "deleting",
                    "The deployment stack is being deleted"
                  ]
                ],
                "old": [
                  [
                    "creating",
                    ""
                  ],
                  [
                    "validating",
                    ""
                  ],
                  [
                    "waiting",
                    ""
                  ],
                  [
                    "deploying",
                    ""
                  ],
                  [
                    "canceling",
                    ""
                  ],
                  [
                    "updatingDenyAssignments",
                    ""
                  ],
                  [
                    "deletingResources",
                    ""
                  ],
                  [
                    "succeeded",
                    ""
                  ],
                  [
                    "failed",
                    ""
                  ],
                  [
                    "canceled",
                    ""
                  ],
                  [
                    "deleting",
                    ""
                  ]
                ]
              }
            },
            {
              "detachedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            },
            {
              "deletedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "#name": "location",
          "Description": {
            "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
            "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
          }
        },
        {
          "#name": "tags",
          "Description": {
            "new": "Resource tags.",
            "old": "Deployment stack resource tags."
          }
        }
      ]
    },
    "201": {
      "$properties": [
        {
          "properties": [
            {
              "actionOnUnmanage": [
                {
                  "#name": "resources",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "resourceGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                },
                {
                  "#name": "managementGroups",
                  "Enum": {
                    "new": [
                      [
                        "delete",
                        "Delete the specified resources from Azure"
                      ],
                      [
                        "detach",
                        "Keep the specified resources in Azure"
                      ]
                    ],
                    "old": [
                      [
                        "delete",
                        ""
                      ],
                      [
                        "detach",
                        ""
                      ]
                    ]
                  }
                }
              ]
            },
            {
              "#name": "provisioningState",
              "Enum": {
                "new": [
                  [
                    "creating",
                    "The deployment stack is currently being created"
                  ],
                  [
                    "validating",
                    "The deployment stack is currently being validated"
                  ],
                  [
                    "waiting",
                    "The deployment stack is currently waiting"
                  ],
                  [
                    "deploying",
                    "The deployment stack is currently deploying"
                  ],
                  [
                    "canceling",
                    "The deployment stack is being cancelled"
                  ],
                  [
                    "updatingDenyAssignments",
                    "The deployment stack is updating deny assignments"
                  ],
                  [
                    "deletingResources",
                    "The deployment stack is deleting resources"
                  ],
                  [
                    "succeeded",
                    "The deployment stack completed successfully"
                  ],
                  [
                    "failed",
                    "The deployment stack has failed"
                  ],
                  [
                    "canceled",
                    "The deployment stack has been cancelled"
                  ],
                  [
                    "deleting",
                    "The deployment stack is being deleted"
                  ]
                ],
                "old": [
                  [
                    "creating",
                    ""
                  ],
                  [
                    "validating",
                    ""
                  ],
                  [
                    "waiting",
                    ""
                  ],
                  [
                    "deploying",
                    ""
                  ],
                  [
                    "canceling",
                    ""
                  ],
                  [
                    "updatingDenyAssignments",
                    ""
                  ],
                  [
                    "deletingResources",
                    ""
                  ],
                  [
                    "succeeded",
                    ""
                  ],
                  [
                    "failed",
                    ""
                  ],
                  [
                    "canceled",
                    ""
                  ],
                  [
                    "deleting",
                    ""
                  ]
                ]
              }
            },
            {
              "detachedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            },
            {
              "deletedResources": {
                "$properties": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                      "old": "The resourceId of a resource managed by the deployment stack."
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "#name": "location",
          "Description": {
            "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
            "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
          }
        },
        {
          "#name": "tags",
          "Description": {
            "new": "Resource tags.",
            "old": "Deployment stack resource tags."
          }
        }
      ]
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
deploymentStackName: string ,
deploymentStack:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_DeleteAtResourceGroup (updated)
Description Deletes a Deployment stack by name at the specified scope. When operation completes, status code 200 returned without content.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_DeleteAtResourceGroup",
  "Description": {
    "new": "Deletes a Deployment stack by name at the specified scope. When operation completes, status code 200 returned without content.",
    "old": "Deletes a Deployment stack by name at Resource Group scope. When operation completes, status code 200 returned without content."
  },
  "$responses": {
    "202": [
      {
        "@added_5d50a0de967f463390280116ebcda333": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ],
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
deploymentStackName: string ,
unmanageAction.Resources: string ,
unmanageAction.ResourceGroups: string ,
unmanageAction.ManagementGroups: string ,
bypassStackOutOfSyncError: boolean ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_ExportTemplateAtResourceGroup (updated)
Description Exports the template used to create the Deployment stack at the specified scope.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_ExportTemplateAtResourceGroup",
  "Description": {
    "new": "Exports the template used to create the Deployment stack at the specified scope.",
    "old": "Exports the template used to create the Deployment stack at Resource Group scope."
  },
  "$responses": {
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/exportTemplate
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
deploymentStackName: string ,
}

⚐ Response (200)

{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentStacks_ValidateStackAtResourceGroup (updated)
Description Runs preflight validation on the Deployment stack template at the specified scope to verify its acceptance to Azure Resource Manager.
Reference Link ¶

⚶ Changes

{
  "#id": "DeploymentStacks_ValidateStackAtResourceGroup",
  "Description": {
    "new": "Runs preflight validation on the Deployment stack template at the specified scope to verify its acceptance to Azure Resource Manager.",
    "old": "Runs preflight validation on the Resource Group scoped Deployment stack template to verify its acceptance to Azure Resource Manager."
  },
  "$parameters": [
    {
      "#name": "deploymentStack",
      "Description": {
        "new": "The content of the action request",
        "old": "Deployment stack to validate."
      },
      "$schema": {
        "$properties": [
          {
            "properties": [
              {
                "actionOnUnmanage": [
                  {
                    "#name": "resources",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "resourceGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  },
                  {
                    "#name": "managementGroups",
                    "Enum": {
                      "new": [
                        [
                          "delete",
                          "Delete the specified resources from Azure"
                        ],
                        [
                          "detach",
                          "Keep the specified resources in Azure"
                        ]
                      ],
                      "old": [
                        [
                          "delete",
                          ""
                        ],
                        [
                          "detach",
                          ""
                        ]
                      ]
                    }
                  }
                ]
              },
              {
                "#name": "provisioningState",
                "Enum": {
                  "new": [
                    [
                      "creating",
                      "The deployment stack is currently being created"
                    ],
                    [
                      "validating",
                      "The deployment stack is currently being validated"
                    ],
                    [
                      "waiting",
                      "The deployment stack is currently waiting"
                    ],
                    [
                      "deploying",
                      "The deployment stack is currently deploying"
                    ],
                    [
                      "canceling",
                      "The deployment stack is being cancelled"
                    ],
                    [
                      "updatingDenyAssignments",
                      "The deployment stack is updating deny assignments"
                    ],
                    [
                      "deletingResources",
                      "The deployment stack is deleting resources"
                    ],
                    [
                      "succeeded",
                      "The deployment stack completed successfully"
                    ],
                    [
                      "failed",
                      "The deployment stack has failed"
                    ],
                    [
                      "canceled",
                      "The deployment stack has been cancelled"
                    ],
                    [
                      "deleting",
                      "The deployment stack is being deleted"
                    ]
                  ],
                  "old": [
                    [
                      "creating",
                      ""
                    ],
                    [
                      "validating",
                      ""
                    ],
                    [
                      "waiting",
                      ""
                    ],
                    [
                      "deploying",
                      ""
                    ],
                    [
                      "canceling",
                      ""
                    ],
                    [
                      "updatingDenyAssignments",
                      ""
                    ],
                    [
                      "deletingResources",
                      ""
                    ],
                    [
                      "succeeded",
                      ""
                    ],
                    [
                      "failed",
                      ""
                    ],
                    [
                      "canceled",
                      ""
                    ],
                    [
                      "deleting",
                      ""
                    ]
                  ]
                }
              },
              {
                "detachedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              },
              {
                "deletedResources": {
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                        "old": "The resourceId of a resource managed by the deployment stack."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "#name": "location",
            "Description": {
              "new": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
              "old": "The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations."
            }
          },
          {
            "#name": "tags",
            "Description": {
              "new": "Resource tags.",
              "old": "Deployment stack resource tags."
            }
          }
        ]
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@added_fcf379b46a0b45ac94097a11d1fdb261": {
          "#name": "id",
          "Description": "String Id used to locate any resource on Azure.",
          "Required": false,
          "Type": "string"
        },
        "@added_566842afcca34e77b9bc55bce1ec830d": {
          "#name": "name",
          "Description": "Name of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_4ebd35a044dd43f2b896a68dd2f472f7": {
          "#name": "type",
          "Description": "Type of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_8dbf68111f384dbe9f6820aceec308ba": {
          "#name": "systemData",
          "Description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        },
        "@added_3320875b8eaf4e96a96b8d80b71b891e": {
          "#name": "error",
          "Description": "The error detail.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "code",
              "Description": "The error code.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "message",
              "Description": "The error message.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "target",
              "Description": "The error target.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "details",
              "Description": "The error details.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The error detail.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "code",
                    "Description": "The error code.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "message",
                    "Description": "The error message.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "target",
                    "Description": "The error target.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "details",
                    "Description": "The error details.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Type": "string"
                    }
                  },
                  {
                    "#name": "additionalInfo",
                    "Description": "The error additional info.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Description": "The resource management error additional info.",
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "type",
                          "Description": "The additional info type.",
                          "Required": false,
                          "Type": "string"
                        },
                        {
                          "#name": "info",
                          "Description": "The additional info.",
                          "Required": false,
                          "Type": "object"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "#name": "additionalInfo",
              "Description": "The error additional info.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The resource management error additional info.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "type",
                    "Description": "The additional info type.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "info",
                    "Description": "The additional info.",
                    "Required": false,
                    "Type": "object"
                  }
                ]
              }
            }
          ]
        },
        "properties": [
          {
            "actionOnUnmanage": [
              {
                "#name": "resources",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "resourceGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "managementGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              }
            ]
          },
          {
            "validatedResources": {
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                    "old": "The resourceId of a resource managed by the deployment stack."
                  }
                }
              ]
            }
          }
        ]
      }
    },
    "202": [
      {
        "#name": "retry-after",
        "Description": {
          "new": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "old": "Number of seconds to wait before polling for status."
        },
        "Type": {
          "new": "integer",
          "old": "string"
        }
      }
    ],
    "400": {
      "$properties": {
        "@added_a27a20502d8142e39b96472f02d4c81d": {
          "#name": "id",
          "Description": "String Id used to locate any resource on Azure.",
          "Required": false,
          "Type": "string"
        },
        "@added_503f513d277d4948b68e52637f49e527": {
          "#name": "name",
          "Description": "Name of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_5423a3be9abb41f9bec5d18ffb556c9f": {
          "#name": "type",
          "Description": "Type of this resource.",
          "Required": false,
          "Type": "string"
        },
        "@added_8d4f8a5ab8f140a9a83159e04f19b171": {
          "#name": "systemData",
          "Description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        },
        "@added_695328a22b024c39a3c6f9398c04d76c": {
          "#name": "error",
          "Description": "The error detail.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "code",
              "Description": "The error code.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "message",
              "Description": "The error message.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "target",
              "Description": "The error target.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "details",
              "Description": "The error details.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The error detail.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "code",
                    "Description": "The error code.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "message",
                    "Description": "The error message.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "target",
                    "Description": "The error target.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "details",
                    "Description": "The error details.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Type": "string"
                    }
                  },
                  {
                    "#name": "additionalInfo",
                    "Description": "The error additional info.",
                    "Required": false,
                    "Type": "array",
                    "$items": {
                      "Description": "The resource management error additional info.",
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "type",
                          "Description": "The additional info type.",
                          "Required": false,
                          "Type": "string"
                        },
                        {
                          "#name": "info",
                          "Description": "The additional info.",
                          "Required": false,
                          "Type": "object"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "#name": "additionalInfo",
              "Description": "The error additional info.",
              "Required": false,
              "Type": "array",
              "$items": {
                "Description": "The resource management error additional info.",
                "Type": "object",
                "$properties": [
                  {
                    "#name": "type",
                    "Description": "The additional info type.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "info",
                    "Description": "The additional info.",
                    "Required": false,
                    "Type": "object"
                  }
                ]
              }
            }
          ]
        },
        "properties": [
          {
            "actionOnUnmanage": [
              {
                "#name": "resources",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "resourceGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              },
              {
                "#name": "managementGroups",
                "Enum": {
                  "new": [
                    [
                      "delete",
                      "Delete the specified resources from Azure"
                    ],
                    [
                      "detach",
                      "Keep the specified resources in Azure"
                    ]
                  ],
                  "old": [
                    [
                      "delete",
                      ""
                    ],
                    [
                      "detach",
                      ""
                    ]
                  ]
                }
              }
            ]
          },
          {
            "validatedResources": {
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The ARM Resource ID of a resource managed by the deployment stack.",
                    "old": "The resourceId of a resource managed by the deployment stack."
                  }
                }
              ]
            }
          }
        ]
      }
    },
    "default": {
      "Description": {
        "new": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
        "old": "Deployment Stacks error response."
      },
      "$properties": [
        {
          "#name": "error",
          "Description": {
            "new": "The error object.",
            "old": "The error detail."
          },
          "$properties": {
            "details": {
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}/validate
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
deploymentStackName: string ,
deploymentStack:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
debugSetting:
{
detailLevel: string ,
}
,
bypassStackOutOfSyncError: boolean ,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
correlationId: string ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
{
id: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
properties:
{
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
correlationId: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
deploymentScope: string ,
description: string ,
parameters: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
validatedResources:
[
{
id: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (400)

{
id: string ,
name: string ,
type: string ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
properties:
{
actionOnUnmanage:
{
resources: enum ,
resourceGroups: enum ,
managementGroups: enum ,
}
,
correlationId: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
deploymentScope: string ,
description: string ,
parameters: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
queryString: string ,
contentVersion: string ,
}
,
validatedResources:
[
{
id: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}