Microsoft.Resources (preview:2022-08-01)

2025/06/04 • 15 new, 15 deleted methods

DeploymentStacks_ListAtResourceGroup (new)
Description Lists all the Deployment Stacks within the specified resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_ListAtSubscription (new)
Description Lists all the Deployment Stacks within the specified subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_ListAtManagementGroup (new)
Description Lists all the Deployment Stacks within the specified management group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_CreateOrUpdateAtResourceGroup (new)
Description Creates or updates a Deployment Stack.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
subscriptionId: string ,
resourceGroupName: string ,
deploymentStackName: string ,
api-version: string ,
deploymentStack:
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
}

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (201)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_CreateOrUpdateAtSubscription (new)
Description Creates or updates a Deployment Stack.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
subscriptionId: string ,
deploymentStackName: string ,
api-version: string ,
deploymentStack:
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
}

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (201)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_CreateOrUpdateAtManagementGroup (new)
Description Creates or updates a Deployment Stack.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
managementGroupId: string ,
deploymentStackName: string ,
api-version: string ,
deploymentStack:
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
}

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (201)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_ListAtResourceGroup (removed)
Description Lists all the Deployment Stacks within the specified resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_ListAtSubscription (removed)
Description Lists all the Deployment Stacks within the specified subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_ListAtManagementGroup (removed)
Description Lists all the Deployment Stacks within the specified management group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_CreateOrUpdateAtResourceGroup (removed)
Description Creates or updates a Deployment Stack.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
subscriptionId: string ,
resourceGroupName: string ,
deploymentStackName: string ,
api-version: string ,
deploymentStack:
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
}

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (201)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_CreateOrUpdateAtSubscription (removed)
Description Creates or updates a Deployment Stack.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
subscriptionId: string ,
deploymentStackName: string ,
api-version: string ,
deploymentStack:
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
}

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (201)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
DeploymentStacks_CreateOrUpdateAtManagementGroup (removed)
Description Creates or updates a Deployment Stack.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
{
managementGroupId: string ,
deploymentStackName: string ,
api-version: string ,
deploymentStack:
{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}
,
}

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (201)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
location: string ,
tags: object ,
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 ,
}
,
deploymentScope: string ,
description: string ,
denySettings:
{
mode: enum ,
excludedPrincipals:
[
string ,
]
,
excludedActions:
[
string ,
]
,
applyToChildScopes: boolean ,
}
,
provisioningState: enum ,
detachedResources:
[
{
id: string ,
}
,
]
,
deletedResources:
[
{
id: string ,
}
,
]
,
failedResources:
[
object ,
]
,
resources:
[
{
status: enum ,
denyStatus: enum ,
}
,
]
,
deploymentId: string ,
outputs: object ,
duration: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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