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
,
}