Microsoft.Resources (stable:2020-10-01)

2025/06/04 • 63 new, 8 deleted methods

DeploymentScripts_Create (new)
Description Creates a deployment script.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
deploymentScript:
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Update (new)
Description Updates deployment script tags with specified values.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
deploymentScript:
{
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Get (new)
Description Gets a deployment script with a given name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Delete (new)
Description Deletes a deployment script. When operation completes, status code 200 returned without content.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ 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 ,
}
,
]
,
}
,
}
DeploymentScripts_ListBySubscription (new)
Description Lists all deployment scripts for a given subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
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 ,
}
,
]
,
}
,
}
DeploymentScripts_GetLogs (new)
Description Gets deployment script logs for a given deployment script name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
log: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_GetLogsDefault (new)
Description Gets deployment script logs for a given deployment script name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs/default
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
tail: integer ,
}

⚐ Response (200)

{
properties:
{
log: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_ListByResourceGroup (new)
Description Lists deployments scripts.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
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 ,
}
,
]
,
}
,
}
Deployments_DeleteAtScope (new)
Description A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Reference Link ¶

⚼ Request

DELETE:  /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
{
scope: string ,
deploymentName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_CheckExistenceAtScope (new)
Description Checks whether the deployment exists.
Reference Link ¶

⚼ Request

HEAD:  /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
{
scope: string ,
deploymentName: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_CreateOrUpdateAtScope (new)
Description You can provide the template and parameters directly in the request or link to JSON files.
Reference Link ¶

⚼ Request

PUT:  /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
{
scope: string ,
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
tags: object ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_GetAtScope (new)
Description Gets a deployment.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
{
scope: string ,
deploymentName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_CancelAtScope (new)
Description You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.
Reference Link ¶

⚼ Request

POST:  /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel
{
scope: string ,
deploymentName: string ,
api-version: string ,
}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_ValidateAtScope (new)
Description Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Reference Link ¶

⚼ Request

POST:  /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/validate
{
scope: string ,
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
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:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (400)

{
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:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_ExportTemplateAtScope (new)
Description Exports the template used for specified deployment.
Reference Link ¶

⚼ Request

POST:  /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate
{
scope: string ,
deploymentName: string ,
api-version: string ,
}

⚐ Response (200)

{
template: 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 ,
}
,
]
,
}
,
}
Deployments_ListAtScope (new)
Description Get all the deployments at the given scope.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Resources/deployments/
{
scope: string ,
$filter: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_DeleteAtTenantScope (new)
Description A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Resources/deployments/{deploymentName}
{
deploymentName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_CheckExistenceAtTenantScope (new)
Description Checks whether the deployment exists.
Reference Link ¶

⚼ Request

HEAD:  /providers/Microsoft.Resources/deployments/{deploymentName}
{
deploymentName: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_CreateOrUpdateAtTenantScope (new)
Description You can provide the template and parameters directly in the request or link to JSON files.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Resources/deployments/{deploymentName}
{
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
tags: object ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_GetAtTenantScope (new)
Description Gets a deployment.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Resources/deployments/{deploymentName}
{
deploymentName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_CancelAtTenantScope (new)
Description You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Resources/deployments/{deploymentName}/cancel
{
deploymentName: string ,
api-version: string ,
}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_ValidateAtTenantScope (new)
Description Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Resources/deployments/{deploymentName}/validate
{
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
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:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (400)

{
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:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_WhatIfAtTenantScope (new)
Description Returns changes that will be made by the deployment if executed at the scope of the tenant group.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Resources/deployments/{deploymentName}/whatIf
{
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
whatIfSettings:
{
resultFormat: enum ,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
status: string ,
properties:
{
changes:
[
{
resourceId: string ,
changeType: enum ,
before: object ,
after: object ,
delta:
[
{
path: string ,
propertyChangeType: enum ,
before: object ,
after: object ,
children:
[
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 ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: 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 ,
}
,
]
,
}
,
}
Deployments_ExportTemplateAtTenantScope (new)
Description Exports the template used for specified deployment.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate
{
deploymentName: string ,
api-version: string ,
}

⚐ Response (200)

{
template: 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 ,
}
,
]
,
}
,
}
Deployments_ListAtTenantScope (new)
Description Get all the deployments at the tenant scope.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Resources/deployments/
{
$filter: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_DeleteAtManagementGroupScope (new)
Description A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}
{
groupId: string ,
deploymentName: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_CheckExistenceAtManagementGroupScope (new)
Description Checks whether the deployment exists.
Reference Link ¶

⚼ Request

HEAD:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}
{
groupId: string ,
deploymentName: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_CreateOrUpdateAtManagementGroupScope (new)
Description You can provide the template and parameters directly in the request or link to JSON files.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}
{
groupId: string ,
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
tags: object ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_GetAtManagementGroupScope (new)
Description Gets a deployment.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}
{
groupId: string ,
deploymentName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_CancelAtManagementGroupScope (new)
Description You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel
{
groupId: string ,
deploymentName: string ,
api-version: string ,
}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_ValidateAtManagementGroupScope (new)
Description Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate
{
groupId: string ,
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
}
,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
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:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (400)

{
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:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_WhatIfAtManagementGroupScope (new)
Description Returns changes that will be made by the deployment if executed at the scope of the management group.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf
{
groupId: string ,
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
whatIfSettings:
{
resultFormat: enum ,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
status: string ,
properties:
{
changes:
[
{
resourceId: string ,
changeType: enum ,
before: object ,
after: object ,
delta:
[
{
path: string ,
propertyChangeType: enum ,
before: object ,
after: object ,
children:
[
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 ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: 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 ,
}
,
]
,
}
,
}
Deployments_ExportTemplateAtManagementGroupScope (new)
Description Exports the template used for specified deployment.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate
{
groupId: string ,
deploymentName: string ,
api-version: string ,
}

⚐ Response (200)

{
template: 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 ,
}
,
]
,
}
,
}
Deployments_ListAtManagementGroupScope (new)
Description Get all the deployments for a management group.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/
{
groupId: string ,
$filter: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_DeleteAtSubscriptionScope (new)
Description A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}
{
deploymentName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_CheckExistenceAtSubscriptionScope (new)
Description Checks whether the deployment exists.
Reference Link ¶

⚼ Request

HEAD:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}
{
deploymentName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_CreateOrUpdateAtSubscriptionScope (new)
Description You can provide the template and parameters directly in the request or link to JSON files.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}
{
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
}
,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
tags: object ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_GetAtSubscriptionScope (new)
Description Gets a deployment.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_CancelAtSubscriptionScope (new)
Description You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel
{
deploymentName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_ValidateAtSubscriptionScope (new)
Description Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate
{
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
}
,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
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:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (400)

{
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:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_WhatIfAtSubscriptionScope (new)
Description Returns changes that will be made by the deployment if executed at the scope of the subscription.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf
{
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
whatIfSettings:
{
resultFormat: enum ,
}
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
status: string ,
properties:
{
changes:
[
{
resourceId: string ,
changeType: enum ,
before: object ,
after: object ,
delta:
[
{
path: string ,
propertyChangeType: enum ,
before: object ,
after: object ,
children:
[
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 ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: 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 ,
}
,
]
,
}
,
}
Deployments_ExportTemplateAtSubscriptionScope (new)
Description Exports the template used for specified deployment.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
template: 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 ,
}
,
]
,
}
,
}
Deployments_ListAtSubscriptionScope (new)
Description Get all the deployments for a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/
{
$filter: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_Delete (new)
Description A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}
{
resourceGroupName: string ,
deploymentName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_CheckExistence (new)
Description Checks whether the deployment exists.
Reference Link ¶

⚼ Request

HEAD:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}
{
resourceGroupName: string ,
deploymentName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_CreateOrUpdate (new)
Description You can provide the template and parameters directly in the request or link to JSON files.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}
{
resourceGroupName: string ,
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
}
,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
tags: object ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_Get (new)
Description Gets a deployment.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}
{
resourceGroupName: string ,
deploymentName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
Deployments_Cancel (new)
Description You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel
{
resourceGroupName: string ,
deploymentName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_Validate (new)
Description Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate
{
resourceGroupName: string ,
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
template: object ,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
}
,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
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:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (400)

{
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:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
}
Deployments_WhatIf (new)
Description Returns changes that will be made by the deployment if executed at the scope of the resource group.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf
{
resourceGroupName: string ,
deploymentName: string ,
parameters:
{
location: string ,
properties:
{
whatIfSettings:
{
resultFormat: enum ,
}
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
status: string ,
properties:
{
changes:
[
{
resourceId: string ,
changeType: enum ,
before: object ,
after: object ,
delta:
[
{
path: string ,
propertyChangeType: enum ,
before: object ,
after: object ,
children:
[
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 ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: 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 ,
}
,
]
,
}
,
}
Deployments_ExportTemplate (new)
Description Exports the template used for specified deployment.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate
{
resourceGroupName: string ,
deploymentName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
template: 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 ,
}
,
]
,
}
,
}
Deployments_ListByResourceGroup (new)
Description Get all the deployments for a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/
{
resourceGroupName: string ,
$filter: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
templateLink:
{
uri: string ,
id: string ,
relativePath: string ,
contentVersion: string ,
queryString: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
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 ,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
}
DeploymentOperations_GetAtScope (new)
Description Gets a deployments operation.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
{
scope: string ,
deploymentName: string ,
operationId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: 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 ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: 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 ,
}
,
]
,
}
,
}
DeploymentOperations_ListAtScope (new)
Description Gets all deployments operations for a deployment.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations
{
scope: string ,
deploymentName: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: 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 ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: 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 ,
}
,
]
,
}
,
}
DeploymentOperations_GetAtTenantScope (new)
Description Gets a deployments operation.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
{
deploymentName: string ,
operationId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: 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 ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: 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 ,
}
,
]
,
}
,
}
DeploymentOperations_ListAtTenantScope (new)
Description Gets all deployments operations for a deployment.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Resources/deployments/{deploymentName}/operations
{
deploymentName: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: 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 ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: 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 ,
}
,
]
,
}
,
}
DeploymentOperations_GetAtManagementGroupScope (new)
Description Gets a deployments operation.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
{
groupId: string ,
deploymentName: string ,
operationId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: 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 ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: 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 ,
}
,
]
,
}
,
}
DeploymentOperations_ListAtManagementGroupScope (new)
Description Gets all deployments operations for a deployment.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations
{
groupId: string ,
deploymentName: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: 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 ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: 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 ,
}
,
]
,
}
,
}
DeploymentOperations_GetAtSubscriptionScope (new)
Description Gets a deployments operation.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
{
deploymentName: string ,
operationId: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: 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 ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: 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 ,
}
,
]
,
}
,
}
DeploymentOperations_ListAtSubscriptionScope (new)
Description Gets all deployments operations for a deployment.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations
{
deploymentName: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: 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 ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: 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 ,
}
,
]
,
}
,
}
DeploymentOperations_Get (new)
Description Gets a deployments operation.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}
{
resourceGroupName: string ,
deploymentName: string ,
operationId: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: 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 ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: 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 ,
}
,
]
,
}
,
}
DeploymentOperations_List (new)
Description Gets all deployments operations for a deployment.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations
{
resourceGroupName: string ,
deploymentName: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: 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 ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: 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 ,
}
,
]
,
}
,
}
Deployments_CalculateTemplateHash (new)
Description Calculate the hash of the given template.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Resources/calculateTemplateHash
{
api-version: string ,
template: object ,
}

⚐ Response (200)

{
minifiedTemplate: string ,
templateHash: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Create (removed)
Description Creates a deployment script.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
deploymentScript:
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Update (removed)
Description Updates deployment script tags with specified values.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
deploymentScript:
{
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Get (removed)
Description Gets a deployment script with a given name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
}

⚐ Response (200)

{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_Delete (removed)
Description Deletes a deployment script. When operation completes, status code 200 returned without content.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ 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 ,
}
,
]
,
}
,
}
DeploymentScripts_ListBySubscription (removed)
Description Lists all deployment scripts for a given subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
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 ,
}
,
]
,
}
,
}
DeploymentScripts_GetLogs (removed)
Description Gets deployment script logs for a given deployment script name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
log: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_GetLogsDefault (removed)
Description Gets deployment script logs for a given deployment script name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs/default
{
subscriptionId: string ,
resourceGroupName: string ,
scriptName: string ,
api-version: string ,
tail: integer ,
}

⚐ Response (200)

{
properties:
{
log: 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 ,
}
,
]
,
}
,
}
DeploymentScripts_ListByResourceGroup (removed)
Description Lists deployments scripts.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
identity:
{
type: enum ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
location: string ,
tags: object ,
kind: enum ,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
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 ,
}
,
]
,
}
,
}