Microsoft.Resources (stable:2024-11-01)

2024/12/10 • 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 ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
tags: object ,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
tags: object ,
}

⚐ Response (202)

{}

⚐ 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 ,
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 ,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
tags: object ,
}

⚐ Response (202)

{}

⚐ 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 ,
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 ,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: enum ,
}
,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: enum ,
}
,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
tags: object ,
}

⚐ Response (202)

{}

⚐ 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 ,
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 ,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: enum ,
}
,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
parametersLink:
{
uri: string ,
contentVersion: string ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
type: enum ,
deploymentName: string ,
}
,
expressionEvaluationOptions:
{
scope: enum ,
}
,
validationLevel: enum ,
}
,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
diagnostics:
[
{
level: enum ,
code: string ,
message: string ,
target: string ,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
validationLevel: enum ,
}
,
tags: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Deployments_WhatIf (new)
Description Returns changes that will be made by the deployment if executed at the scope of the resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
status: string ,
properties:
{
changes:
[
{
resourceId: string ,
deploymentId: string ,
symbolicName: string ,
identifiers: 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 ,
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_ExportTemplate (new)
Description Exports the template used for specified deployment.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
template: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Deployments_ListByResourceGroup (new)
Description Get all the deployments for a resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
properties:
{
provisioningState: enum ,
correlationId: string ,
timestamp: string ,
duration: string ,
outputs: object ,
providers:
[
{
id: string ,
namespace: string ,
registrationState: string ,
registrationPolicy: string ,
resourceTypes:
[
{
resourceType: string ,
locations:
[
string ,
]
,
locationMappings:
[
{
location: string ,
type: string ,
extendedLocations:
[
string ,
]
,
}
,
]
,
aliases:
[
{
name: string ,
paths:
[
{
path: string ,
apiVersions:
[
string ,
]
,
pattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
metadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
type: enum ,
defaultPath: string ,
defaultPattern:
{
phrase: string ,
variable: string ,
type: enum ,
}
,
defaultMetadata:
{
type: enum ,
attributes: enum ,
}
,
}
,
]
,
apiVersions:
[
string ,
]
,
defaultApiVersion: string ,
zoneMappings:
[
{
location: string ,
zones:
[
string ,
]
,
}
,
]
,
apiProfiles:
[
{
profileVersion: string ,
apiVersion: string ,
}
,
]
,
capabilities: string ,
properties: object ,
}
,
]
,
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 ,
}
,
mode: enum ,
debugSetting:
{
detailLevel: string ,
}
,
onErrorDeployment:
{
provisioningState: string ,
type: enum ,
deploymentName: string ,
}
,
templateHash: string ,
outputResources:
[
{
id: string ,
}
,
]
,
validatedResources:
[
{
id: string ,
}
,
]
,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
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 ,
}
,
]
,
}
,
}
Providers_Unregister (new)
Description Unregisters a subscription from a resource provider.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister
{
resourceProviderNamespace: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

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

⚐ 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 ,
}
,
]
,
}
,
}
Providers_RegisterAtManagementGroupScope (new)
Description Registers a management group with a resource provider. Use this operation to register a resource provider with resource types that can be deployed at the management group scope. It does not recursively register subscriptions within the management group. Instead, you must register subscriptions individually.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Management/managementGroups/{groupId}/providers/{resourceProviderNamespace}/register
{
resourceProviderNamespace: string ,
api-version: string ,
groupId: string ,
}

⚐ Response (200)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Providers_ProviderPermissions (new)
Description Get the provider permissions.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/providerPermissions
{
resourceProviderNamespace: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
applicationId: string ,
roleDefinition:
{
id: string ,
name: string ,
isServiceRole: boolean ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
dataActions:
[
string ,
]
,
notDataActions:
[
string ,
]
,
}
,
]
,
scopes:
[
string ,
]
,
}
,
managedByRoleDefinition:
{
id: string ,
name: string ,
isServiceRole: boolean ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
dataActions:
[
string ,
]
,
notDataActions:
[
string ,
]
,
}
,
]
,
scopes:
[
string ,
]
,
}
,
providerAuthorizationConsentState: enum ,
}
,
]
,
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 ,
}
,
]
,
}
,
}
Providers_Register (new)
Description Registers a subscription with a resource provider.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register
{
resourceProviderNamespace: string ,
api-version: string ,
subscriptionId: string ,
properties:
{
thirdPartyProviderConsent:
{
consentToAuthorization: boolean ,
}
,
}
,
}

⚐ Response (200)

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

⚐ 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 ,
}
,
]
,
}
,
}
Providers_List (new)
Description Gets all resource providers for a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers
{
$expand: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
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 ,
}
,
]
,
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 ,
}
,
]
,
}
,
}
Providers_ListAtTenantScope (new)
Description Gets all resource providers for the tenant.
Reference Link ¶

⚼ Request

GET:  /providers
{
$expand: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
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 ,
}
,
]
,
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 ,
}
,
]
,
}
,
}
Providers_Get (new)
Description Gets the specified resource provider.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}
{
$expand: string ,
resourceProviderNamespace: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

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

⚐ 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 ,
}
,
]
,
}
,
}
ProviderResourceTypes_List (new)
Description List the resource types for a specified resource provider.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/resourceTypes
{
$expand: string ,
resourceProviderNamespace: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
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 ,
}
,
]
,
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 ,
}
,
]
,
}
,
}
Providers_GetAtTenantScope (new)
Description Gets the specified resource provider at the tenant level.
Reference Link ¶

⚼ Request

GET:  /providers/{resourceProviderNamespace}
{
$expand: string ,
resourceProviderNamespace: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ 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 ,
}
,
]
,
}
,
}
Resources_ListByResourceGroup (new)
Description Get all the resources for a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources
{
resourceGroupName: string ,
$filter: string ,
$expand: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
createdTime: string ,
changedTime: string ,
provisioningState: 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 ,
}
,
]
,
}
,
}
ResourceGroups_CheckExistence (new)
Description Checks whether a resource group exists.
Reference Link ¶

⚼ Request

HEAD:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}
{
resourceGroupName: 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 ,
}
,
]
,
}
,
}
ResourceGroups_CreateOrUpdate (new)
Description Creates or updates a resource group.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}
{
resourceGroupName: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: string ,
}
,
location: string ,
managedBy: string ,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: string ,
}
,
location: string ,
managedBy: string ,
tags: object ,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: string ,
}
,
location: string ,
managedBy: string ,
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 ,
}
,
]
,
}
,
}
ResourceGroups_Delete (new)
Description When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}
{
resourceGroupName: string ,
forceDeletionTypes: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: 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 ,
}
,
]
,
}
,
}
ResourceGroups_Get (new)
Description Gets a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: string ,
}
,
location: string ,
managedBy: string ,
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 ,
}
,
]
,
}
,
}
ResourceGroups_Update (new)
Description Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}
{
resourceGroupName: string ,
parameters:
{
name: string ,
properties:
{
provisioningState: string ,
}
,
managedBy: string ,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: string ,
}
,
location: string ,
managedBy: string ,
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 ,
}
,
]
,
}
,
}
ResourceGroups_ExportTemplate (new)
Description Captures the specified resource group as a template.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/exportTemplate
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
parameters:
{
resources:
[
string ,
]
,
options: string ,
outputFormat: enum ,
}
,
}

⚐ Response (200)

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

⚐ Response (202)

{}

⚐ Response (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 ,
}
,
]
,
}
,
}
ResourceGroups_List (new)
Description Gets all the resource groups for a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups
{
$filter: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: string ,
}
,
location: string ,
managedBy: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Resources_MoveResources (new)
Description The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources
{
sourceResourceGroupName: string ,
parameters:
{
resources:
[
string ,
]
,
targetResourceGroup: 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 ,
}
,
]
,
}
,
}
Resources_ValidateMoveResources (new)
Description This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/validateMoveResources
{
sourceResourceGroupName: string ,
parameters:
{
resources:
[
string ,
]
,
targetResourceGroup: 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 ,
}
,
]
,
}
,
}
Resources_List (new)
Description Get all the resources in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resources
{
$filter: string ,
$expand: string ,
$top: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
createdTime: string ,
changedTime: string ,
provisioningState: 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 ,
}
,
]
,
}
,
}
Resources_CheckExistence (new)
Description Checks whether a resource exists.
Reference Link ¶

⚼ Request

HEAD:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: 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 ,
}
,
]
,
}
,
}
Resources_Delete (new)
Description Deletes a resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Resources_CreateOrUpdate (new)
Description Creates a resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
parameters:
{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
subscriptionId: string ,
}

⚐ Response (200)

{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Resources_Update (new)
Description Updates a resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
parameters:
{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
subscriptionId: string ,
}

⚐ Response (200)

{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Resources_Get (new)
Description Gets a resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: 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 ,
}
,
]
,
}
,
}
Resources_CheckExistenceById (new)
Description Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource.
Reference Link ¶

⚼ Request

HEAD:  /{resourceId}
{
resourceId: 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 ,
}
,
]
,
}
,
}
Resources_DeleteById (new)
Description Deletes a resource by ID.
Reference Link ¶

⚼ Request

DELETE:  /{resourceId}
{
resourceId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Resources_CreateOrUpdateById (new)
Description Create a resource by ID.
Reference Link ¶

⚼ Request

PUT:  /{resourceId}
{
resourceId: string ,
api-version: string ,
parameters:
{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Resources_UpdateById (new)
Description Updates a resource by ID.
Reference Link ¶

⚼ Request

PATCH:  /{resourceId}
{
resourceId: string ,
api-version: string ,
parameters:
{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
]
,
}
,
}
Resources_GetById (new)
Description Gets a resource by ID.
Reference Link ¶

⚼ Request

GET:  /{resourceId}
{
resourceId: string ,
api-version: string ,
}

⚐ Response (200)

{
plan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
version: string ,
}
,
properties: object ,
kind: string ,
managedBy: string ,
sku:
{
name: string ,
tier: string ,
size: string ,
family: string ,
model: string ,
capacity: integer ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: 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 ,
}
,
]
,
}
,
}
Tags_DeleteValue (new)
Description This operation allows deleting a value from the list of predefined values for an existing predefined tag name. The value being deleted must not be in use as a tag value for the given tag name for any resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}
{
tagName: string ,
tagValue: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tags_CreateOrUpdateValue (new)
Description This operation allows adding a value to the list of predefined values for an existing predefined tag name. A tag value can have a maximum of 256 characters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}
{
tagName: string ,
tagValue: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
tagValue: string ,
count:
{
type: string ,
value: integer ,
}
,
}

⚐ Response (201)

{
id: string ,
tagValue: string ,
count:
{
type: string ,
value: integer ,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
}
Tags_CreateOrUpdate (new)
Description This operation allows adding a name to the list of predefined tag names for the given subscription. A tag name can have a maximum of 512 characters and is case-insensitive. Tag names cannot have the following prefixes which are reserved for Azure use: 'microsoft', 'azure', 'windows'.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/tagNames/{tagName}
{
tagName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
tagName: string ,
count:
{
type: string ,
value: integer ,
}
,
values:
[
{
id: string ,
tagValue: string ,
count:
{
type: string ,
value: integer ,
}
,
}
,
]
,
}

⚐ Response (201)

{
id: string ,
tagName: string ,
count:
{
type: string ,
value: integer ,
}
,
values:
[
{
id: string ,
tagValue: string ,
count:
{
type: string ,
value: integer ,
}
,
}
,
]
,
}

⚐ 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 ,
}
,
]
,
}
,
}
Tags_Delete (new)
Description This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/tagNames/{tagName}
{
tagName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tags_List (new)
Description This operation performs a union of predefined tags, resource tags, resource group tags and subscription tags, and returns a summary of usage for each tag name and value under the given subscription. In case of a large number of tags, this operation may return a previously cached result.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/tagNames
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
tagName: string ,
count:
{
type: string ,
value: integer ,
}
,
values:
[
{
id: string ,
tagValue: string ,
count:
{
type: string ,
value: integer ,
}
,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentOperations_GetAtScope (new)
Description Gets a deployments operation.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentOperations_ListAtScope (new)
Description Gets all deployments operations for a deployment.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentOperations_GetAtTenantScope (new)
Description Gets a deployments operation.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentOperations_ListAtTenantScope (new)
Description Gets all deployments operations for a deployment.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentOperations_GetAtManagementGroupScope (new)
Description Gets a deployments operation.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentOperations_ListAtManagementGroupScope (new)
Description Gets all deployments operations for a deployment.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentOperations_GetAtSubscriptionScope (new)
Description Gets a deployments operation.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentOperations_ListAtSubscriptionScope (new)
Description Gets all deployments operations for a deployment.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentOperations_Get (new)
Description Gets a deployments operation.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeploymentOperations_List (new)
Description Gets all deployments operations for a deployment.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
id: string ,
operationId: string ,
properties:
{
provisioningOperation: enum ,
provisioningState: string ,
timestamp: string ,
duration: string ,
serviceRequestId: string ,
statusCode: string ,
statusMessage:
{
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
targetResource:
{
id: string ,
resourceName: string ,
resourceType: string ,
}
,
request:
{
content: object ,
}
,
response:
{
content: object ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Deployments_CalculateTemplateHash (new)
Description Calculate the hash of the given template.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
minifiedTemplate: string ,
templateHash: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tags_CreateOrUpdateAtScope (new)
Description This operation allows adding or replacing the entire set of tags on the specified resource or subscription. The specified entity can have a maximum of 50 tags.
Reference Link ¶

⚼ Request

PUT:  /{scope}/providers/Microsoft.Resources/tags/default
{
scope: string ,
api-version: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
properties:
{
tags: object ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (202)

{
location: 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 ,
}
,
]
,
}
,
}
Tags_UpdateAtScope (new)
Description This operation allows replacing, merging or selectively deleting tags on the specified resource or subscription. The specified entity can have a maximum of 50 tags at the end of the operation. The 'replace' option replaces the entire set of existing tags with a new set. The 'merge' option allows adding tags with new names and updating the values of tags with existing names. The 'delete' option allows selectively deleting tags based on given names or name/value pairs.
Reference Link ¶

⚼ Request

PATCH:  /{scope}/providers/Microsoft.Resources/tags/default
{
scope: string ,
api-version: string ,
parameters:
{
operation: enum ,
properties:
{
tags: object ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (202)

{
location: 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 ,
}
,
]
,
}
,
}
Tags_GetAtScope (new)
Description Gets the entire set of tags on a resource or subscription.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Resources/tags/default
{
scope: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
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 ,
}
,
]
,
}
,
}
Tags_DeleteAtScope (new)
Description Deletes the entire set of tags on a resource or subscription.
Reference Link ¶

⚼ Request

DELETE:  /{scope}/providers/Microsoft.Resources/tags/default
{
scope: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: 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 ,
}
,
]
,
}
,
}