Microsoft.Resources (stable:2016-07-01)

2025/06/04 • 11 new methods

Deployments_Delete (new)
Description Delete deployment.
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)

{}
Deployments_CheckExistence (new)
Description Checks whether 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)

{}
Deployments_CreateOrUpdate (new)
Description Create a named template deployment using a template.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}
{
resourceGroupName: string ,
deploymentName: string ,
parameters:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
properties:
{
provisioningState: string ,
correlationId: string ,
timestamp: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
}
,
]
,
}
,
]
,
apiVersions:
[
string ,
]
,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
template: object ,
templateLink:
{
uri: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}

⚐ Response (201)

{
id: string ,
name: string ,
properties:
{
provisioningState: string ,
correlationId: string ,
timestamp: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
}
,
]
,
}
,
]
,
apiVersions:
[
string ,
]
,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
template: object ,
templateLink:
{
uri: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: 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 ,
}
,
]
,
}
,
}
,
}
Deployments_Get (new)
Description Get 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 ,
properties:
{
provisioningState: string ,
correlationId: string ,
timestamp: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
}
,
]
,
}
,
]
,
apiVersions:
[
string ,
]
,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
template: object ,
templateLink:
{
uri: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: 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 ,
}
,
]
,
}
,
}
,
}
Deployments_Cancel (new)
Description Cancel a currently running template deployment.
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)

{}
Deployments_Validate (new)
Description Validate a deployment template.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate
{
resourceGroupName: string ,
deploymentName: string ,
parameters:
{
properties:
{
template: object ,
templateLink:
{
uri: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
properties:
{
provisioningState: string ,
correlationId: string ,
timestamp: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
}
,
]
,
}
,
]
,
apiVersions:
[
string ,
]
,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
template: object ,
templateLink:
{
uri: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}

⚐ Response (400)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
properties:
{
provisioningState: string ,
correlationId: string ,
timestamp: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
}
,
]
,
}
,
]
,
apiVersions:
[
string ,
]
,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
template: object ,
templateLink:
{
uri: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: 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 ,
}
,
]
,
}
,
}
,
}
Deployments_ExportTemplate (new)
Description Exports a deployment template.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
template: object ,
}
Deployments_List (new)
Description Get a list of deployments.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
properties:
{
provisioningState: string ,
correlationId: string ,
timestamp: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
}
,
]
,
}
,
]
,
apiVersions:
[
string ,
]
,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
properties: object ,
}
,
]
,
}
,
]
,
dependencies:
[
{
dependsOn:
[
{
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
id: string ,
resourceType: string ,
resourceName: string ,
}
,
]
,
template: object ,
templateLink:
{
uri: string ,
contentVersion: string ,
}
,
parameters: object ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: 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 ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}
DeploymentOperations_Get (new)
Description Get a list of deployments operations.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningState: string ,
timestamp: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage: string ,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}
DeploymentOperations_List (new)
Description Gets a list of deployments operations.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningState: string ,
timestamp: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage: string ,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}
,
]
,
nextLink: string ,
}
Deployments_CalculateTemplateHash (new)
Description Calculate the hash of the given template.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
minifiedTemplate: string ,
templateHash: string ,
}

⚐ Response (default)

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