Microsoft.Resources (stable:2025-04-01)

2025/04/21 • 95 new methods

Operations_List (new)
Description Lists all of the available Microsoft.Resources REST API operations.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: 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 ,
externalInputs: object ,
externalInputDefinitions: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
extensionConfigs: object ,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: enum ,
}
,
tags: object ,
identity:
{
type: enum ,
userAssignedIdentities: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
externalInputs: object ,
externalInputDefinitions: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
extensionConfigs: object ,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: enum ,
}
,
tags: object ,
identity:
{
type: enum ,
userAssignedIdentities: 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 ,
}
,
]
,
}
,
id: string ,
name: string ,
type: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
id: string ,
name: string ,
type: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
}

⚐ 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
externalInputs: object ,
externalInputDefinitions: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
extensionConfigs: object ,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
externalInputs: object ,
externalInputDefinitions: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
extensionConfigs: object ,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: 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 ,
}
,
]
,
}
,
id: string ,
name: string ,
type: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
id: string ,
name: string ,
type: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
}

⚐ 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 ,
deploymentId: string ,
symbolicName: string ,
identifiers: object ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
changeType: enum ,
unsupportedReason: string ,
before: object ,
after: object ,
delta:
[
{
path: string ,
propertyChangeType: enum ,
before: object ,
after: object ,
children:
[
string ,
]
,
}
,
]
,
}
,
]
,
potentialChanges:
[
{
resourceId: string ,
deploymentId: string ,
symbolicName: string ,
identifiers: object ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
changeType: enum ,
unsupportedReason: string ,
before: object ,
after: object ,
delta:
[
{
path: string ,
propertyChangeType: enum ,
before: object ,
after: object ,
children:
[
string ,
]
,
}
,
]
,
}
,
]
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
externalInputs: object ,
externalInputDefinitions: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
extensionConfigs: object ,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
externalInputs: object ,
externalInputDefinitions: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
extensionConfigs: object ,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: 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 ,
}
,
]
,
}
,
id: string ,
name: string ,
type: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
id: string ,
name: string ,
type: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
}

⚐ 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 ,
deploymentId: string ,
symbolicName: string ,
identifiers: object ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
changeType: enum ,
unsupportedReason: string ,
before: object ,
after: object ,
delta:
[
{
path: string ,
propertyChangeType: enum ,
before: object ,
after: object ,
children:
[
string ,
]
,
}
,
]
,
}
,
]
,
potentialChanges:
[
{
resourceId: string ,
deploymentId: string ,
symbolicName: string ,
identifiers: object ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
changeType: enum ,
unsupportedReason: string ,
before: object ,
after: object ,
delta:
[
{
path: string ,
propertyChangeType: enum ,
before: object ,
after: object ,
children:
[
string ,
]
,
}
,
]
,
}
,
]
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
externalInputs: object ,
externalInputDefinitions: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
extensionConfigs: object ,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: enum ,
}
,
tags: object ,
identity:
{
type: enum ,
userAssignedIdentities: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
externalInputs: object ,
externalInputDefinitions: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
extensionConfigs: object ,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: enum ,
}
,
tags: object ,
identity:
{
type: enum ,
userAssignedIdentities: 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 ,
}
,
]
,
}
,
id: string ,
name: string ,
type: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
id: string ,
name: string ,
type: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
}

⚐ 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 ,
deploymentId: string ,
symbolicName: string ,
identifiers: object ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
changeType: enum ,
unsupportedReason: string ,
before: object ,
after: object ,
delta:
[
{
path: string ,
propertyChangeType: enum ,
before: object ,
after: object ,
children:
[
string ,
]
,
}
,
]
,
}
,
]
,
potentialChanges:
[
{
resourceId: string ,
deploymentId: string ,
symbolicName: string ,
identifiers: object ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
changeType: enum ,
unsupportedReason: string ,
before: object ,
after: object ,
delta:
[
{
path: string ,
propertyChangeType: enum ,
before: object ,
after: object ,
children:
[
string ,
]
,
}
,
]
,
}
,
]
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
externalInputs: object ,
externalInputDefinitions: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
extensionConfigs: object ,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: enum ,
}
,
tags: object ,
identity:
{
type: enum ,
userAssignedIdentities: 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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
}
,
]
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
extensions:
[
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
]
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
extension:
{
alias: string ,
name: string ,
version: string ,
configId: string ,
config: object ,
}
,
resourceType: string ,
identifiers: object ,
apiVersion: 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 ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
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 ,
externalInputs: object ,
externalInputDefinitions: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
extensionConfigs: object ,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: enum ,
}
,
tags: object ,
identity:
{
type: enum ,
userAssignedIdentities: 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 ,
}
,
]
,
}
,
id: string ,
name: string ,
type: 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: