Description | : Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "Deployments_ValidateAtScope", "$responses": { "200": { "Description": { "new": "Information from validate template deployment response.", "old": "Deployment information." }, "$properties": [ { "@added_df0e4f4a156a4aa1a1797c37a2b382ba": { "#name": "error", "Description": "The deployment validation error.", "Required": false, "Type": "object", "$properties": [ { "#name": "code", "Description": "The error code.", "Required": false, "Type": "string" }, { "#name": "message", "Description": "The error message.", "Required": false, "Type": "string" }, { "#name": "target", "Description": "The error target.", "Required": false, "Type": "string" }, { "#name": "details", "Description": "The error details.", "Required": false, "Type": "array", "$items": { "Description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)", "Type": "object", "$properties": [ { "#name": "code", "Description": "The error code.", "Required": false, "Type": "string" }, { "#name": "message", "Description": "The error message.", "Required": false, "Type": "string" }, { "#name": "target", "Description": "The error target.", "Required": false, "Type": "string" }, { "#name": "details", "Description": "The error details.", "Required": false, "Type": "array", "$items": { "Type": "string" } }, { "#name": "additionalInfo", "Description": "The error additional info.", "Required": false, "Type": "array", "$items": { "Description": "The resource management error additional info.", "Type": "object", "$properties": [ { "#name": "type", "Description": "The additional info type.", "Required": false, "Type": "string" }, { "#name": "info", "Description": "The additional info.", "Required": false, "Type": "object" } ] } } ] } }, { "#name": "additionalInfo", "Description": "The error additional info.", "Required": false, "Type": "array", "$items": { "Description": "The resource management error additional info.", "Type": "object", "$properties": [ { "#name": "type", "Description": "The additional info type.", "Required": false, "Type": "string" }, { "#name": "info", "Description": "The additional info.", "Required": false, "Type": "object" } ] } } ] } }, { "#name": "properties", "Description": { "new": "The template deployment properties.", "old": "Deployment properties." } }, { "@removed_054bc53dd1374fdd880059f2ff68d848": { "#name": "location", "Description": "the location of the deployment.", "Required": false, "Type": "string" } }, { "@removed_d18ea4bf392843cfbdda1825b0957239": { "#name": "tags", "Description": "Deployment tags", "Required": false, "Type": "object" } } ] }, "@added_c7cc9cc19ab84b06937a683f43a3dfa9": { "400": { "Description": "Information from validate template deployment response.", "Type": "object", "$properties": [ { "#name": "error", "Description": "The deployment validation error.", "Required": false, "Type": "object", "$properties": [ { "#name": "code", "Description": "The error code.", "Required": false, "Type": "string" }, { "#name": "message", "Description": "The error message.", "Required": false, "Type": "string" }, { "#name": "target", "Description": "The error target.", "Required": false, "Type": "string" }, { "#name": "details", "Description": "The error details.", "Required": false, "Type": "array", "$items": { "Description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)", "Type": "object", "$properties": [ { "#name": "code", "Description": "The error code.", "Required": false, "Type": "string" }, { "#name": "message", "Description": "The error message.", "Required": false, "Type": "string" }, { "#name": "target", "Description": "The error target.", "Required": false, "Type": "string" }, { "#name": "details", "Description": "The error details.", "Required": false, "Type": "array", "$items": { "Type": "string" } }, { "#name": "additionalInfo", "Description": "The error additional info.", "Required": false, "Type": "array", "$items": { "Description": "The resource management error additional info.", "Type": "object", "$properties": [ { "#name": "type", "Description": "The additional info type.", "Required": false, "Type": "string" }, { "#name": "info", "Description": "The additional info.", "Required": false, "Type": "object" } ] } } ] } }, { "#name": "additionalInfo", "Description": "The error additional info.", "Required": false, "Type": "array", "$items": { "Description": "The resource management error additional info.", "Type": "object", "$properties": [ { "#name": "type", "Description": "The additional info type.", "Required": false, "Type": "string" }, { "#name": "info", "Description": "The additional info.", "Required": false, "Type": "object" } ] } } ] }, { "#name": "id", "Description": "The ID of the deployment.", "Required": false, "Type": "string" }, { "#name": "name", "Description": "The name of the deployment.", "Required": false, "Type": "string" }, { "#name": "type", "Description": "The type of the deployment.", "Required": false, "Type": "string" }, { "#name": "properties", "Description": "The template deployment properties.", "Required": false, "Type": "object", "$properties": [ { "#name": "provisioningState", "Description": "Denotes the state of provisioning.", "Enum": [ [ "NotSpecified", "" ], [ "Accepted", "" ], [ "Running", "" ], [ "Ready", "" ], [ "Creating", "" ], [ "Created", "" ], [ "Deleting", "" ], [ "Deleted", "" ], [ "Canceled", "" ], [ "Failed", "" ], [ "Succeeded", "" ], [ "Updating", "" ] ], "Required": false, "Type": "string" }, { "#name": "correlationId", "Description": "The correlation ID of the deployment.", "Required": false, "Type": "string" }, { "#name": "timestamp", "Description": "The timestamp of the template deployment.", "Format": "date-time", "Required": false, "Type": "string" }, { "#name": "duration", "Description": "The duration of the template deployment.", "Required": false, "Type": "string" }, { "#name": "outputs", "Description": "Key/value pairs that represent deployment output.", "Required": false, "Type": "object" }, { "#name": "providers", "Description": "The list of resource providers needed for the deployment.", "Required": false, "Type": "array", "$items": { "Description": "Resource provider information.", "Type": "object", "$properties": [ { "#name": "id", "Description": "The provider ID.", "Required": false, "Type": "string" }, { "#name": "namespace", "Description": "The namespace of the resource provider.", "Required": false, "Type": "string" }, { "#name": "registrationState", "Description": "The registration state of the resource provider.", "Required": false, "Type": "string" }, { "#name": "registrationPolicy", "Description": "The registration policy of the resource provider.", "Required": false, "Type": "string" }, { "#name": "resourceTypes", "Description": "The collection of provider resource types.", "Required": false, "Type": "array", "$items": { "Description": "Resource type managed by the resource provider.", "Type": "object", "$properties": [ { "#name": "resourceType", "Description": "The resource type.", "Required": false, "Type": "string" }, { "#name": "locations", "Description": "The collection of locations where this resource type can be created.", "Required": false, "Type": "array", "$items": { "Type": "string" } }, { "#name": "locationMappings", "Description": "The location mappings that are supported by this resource type.", "Required": false, "Type": "array", "$items": { "Description": "The provider extended location. ", "Type": "object", "$properties": [ { "#name": "location", "Description": "The azure location.", "Required": false, "Type": "string" }, { "#name": "type", "Description": "The extended location type.", "Required": false, "Type": "string" }, { "#name": "extendedLocations", "Description": "The extended locations for the azure location.", "Required": false, "Type": "array", "$items": { "Type": "string" } } ] } }, { "#name": "aliases", "Description": "The aliases that are supported by this resource type.", "Required": false, "Type": "array", "$items": { "Description": "The alias type. ", "Type": "object", "$properties": [ { "#name": "name", "Description": "The alias name.", "Required": false, "Type": "string" }, { "#name": "paths", "Description": "The paths for an alias.", "Required": false, "Type": "array", "$items": { "Description": "The type of the paths for alias.", "Type": "object", "$properties": [ { "#name": "path", "Description": "The path of an alias.", "Required": false, "Type": "string" }, { "#name": "apiVersions", "Description": "The API versions.", "Required": false, "Type": "array", "$items": { "Type": "string" } }, { "#name": "pattern", "Description": "The pattern for an alias path.", "Required": false, "Type": "object", "$properties": [ { "#name": "phrase", "Description": "The alias pattern phrase.", "Required": false, "Type": "string" }, { "#name": "variable", "Description": "The alias pattern variable.", "Required": false, "Type": "string" }, { "#name": "type", "Description": "The type of alias pattern", "Enum": [ [ "NotSpecified", "NotSpecified is not allowed." ], [ "Extract", "Extract is the only allowed value." ] ], "Required": false, "Type": "string" } ] }, { "#name": "metadata", "Description": "The metadata of the alias path. If missing, fall back to the default metadata of the alias.", "Required": false, "Type": "object", "$properties": [ { "#name": "type", "Description": "The type of the token that the alias path is referring to.", "Enum": [ [ "NotSpecified", "The token type is not specified." ], [ "Any", "The token type can be anything." ], [ "String", "The token type is string." ], [ "Object", "The token type is object." ], [ "Array", "The token type is array." ], [ "Integer", "The token type is integer." ], [ "Number", "The token type is number." ], [ "Boolean", "The token type is boolean." ] ], "Required": false, "Type": "string" }, { "#name": "attributes", "Description": "The attributes of the token that the alias path is referring to.", "Enum": [ [ "None", "The token that the alias path is referring to has no attributes." ], [ "Modifiable", "The token that the alias path is referring to is modifiable by policies with 'modify' effect." ] ], "Required": false, "Type": "string" } ] } ] } }, { "#name": "type", "Description": "The type of the alias.", "Enum": [ [ "NotSpecified", "Alias type is unknown (same as not providing alias type)." ], [ "PlainText", "Alias value is not secret." ], [ "Mask", "Alias value is secret." ] ], "Required": false, "Type": "string" }, { "#name": "defaultPath", "Description": "The default path for an alias.", "Required": false, "Type": "string" }, { "#name": "defaultPattern", "Description": "The default pattern for an alias.", "Required": false, "Type": "object", "$properties": [ { "#name": "phrase", "Description": "The alias pattern phrase.", "Required": false, "Type": "string" }, { "#name": "variable", "Description": "The alias pattern variable.", "Required": false, "Type": "string" }, { "#name": "type", "Description": "The type of alias pattern", "Enum": [ [ "NotSpecified", "NotSpecified is not allowed." ], [ "Extract", "Extract is the only allowed value." ] ], "Required": false, "Type": "string" } ] }, { "#name": "defaultMetadata", "Description": "The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata", "Required": false, "Type": "object", "$properties": [ { "#name": "type", "Description": "The type of the token that the alias path is referring to.", "Enum": [ [ "NotSpecified", "The token type is not specified." ], [ "Any", "The token type can be anything." ], [ "String", "The token type is string." ], [ "Object", "The token type is object." ], [ "Array", "The token type is array." ], [ "Integer", "The token type is integer." ], [ "Number", "The token type is number." ], [ "Boolean", "The token type is boolean." ] ], "Required": false, "Type": "string" }, { "#name": "attributes", "Description": "The attributes of the token that the alias path is referring to.", "Enum": [ [ "None", "The token that the alias path is referring to has no attributes." ], [ "Modifiable", "The token that the alias path is referring to is modifiable by policies with 'modify' effect." ] ], "Required": false, "Type": "string" } ] } ] } }, { "#name": "apiVersions", "Description": "The API version.", "Required": false, "Type": "array", "$items": { "Type": "string" } }, { "#name": "defaultApiVersion", "Description": "The default API version.", "Required": false, "Type": "string" }, { "#name": "zoneMappings", "Required": false, "Type": "array", "$items": { "Type": "object", "$properties": [ { "#name": "location", "Description": "The location of the zone mapping.", "Required": false, "Type": "string" }, { "#name": "zones", "Required": false, "Type": "array", "$items": { "Type": "string" } } ] } }, { "#name": "apiProfiles", "Description": "The API profiles for the resource provider.", "Required": false, "Type": "array", "$items": { "Type": "object", "$properties": [ { "#name": "profileVersion", "Description": "The profile version.", "Required": false, "Type": "string" }, { "#name": "apiVersion", "Description": "The API version.", "Required": false, "Type": "string" } ] } }, { "#name": "capabilities", "Description": "The additional capabilities offered by this resource type.", "Required": false, "Type": "string" }, { "#name": "properties", "Description": "The properties.", "Required": false, "Type": "object" } ] } }, { "#name": "providerAuthorizationConsentState", "Description": "The provider authorization consent state.", "Enum": [ [ "NotSpecified", "" ], [ "Required", "" ], [ "NotRequired", "" ], [ "Consented", "" ] ], "Required": false, "Type": "string" } ] } }, { "#name": "dependencies", "Description": "The list of deployment dependencies.", "Required": false, "Type": "array", "$items": { "Description": "Deployment dependency information.", "Type": "object", "$properties": [ { "#name": "dependsOn", "Description": "The list of dependencies.", "Required": false, "Type": "array", "$items": { "Description": "Deployment dependency information.", "Type": "object", "$properties": [ { "#name": "id", "Description": "The ID of the dependency.", "Required": false, "Type": "string" }, { "#name": "resourceType", "Description": "The dependency resource type.", "Required": false, "Type": "string" }, { "#name": "resourceName", "Description": "The dependency resource name.", "Required": false, "Type": "string" } ] } }, { "#name": "id", "Description": "The ID of the dependency.", "Required": false, "Type": "string" }, { "#name": "resourceType", "Description": "The dependency resource type.", "Required": false, "Type": "string" }, { "#name": "resourceName", "Description": "The dependency resource name.", "Required": false, "Type": "string" } ] } }, { "#name": "templateLink", "Description": "The URI referencing the template.", "Required": false, "Type": "object", "$properties": [ { "#name": "uri", "Description": "The URI of the template to deploy. Use either the uri or id property, but not both.", "Required": false, "Type": "string" }, { "#name": "id", "Description": "The resource id of a Template Spec. Use either the id or uri property, but not both.", "Required": false, "Type": "string" }, { "#name": "relativePath", "Description": "The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs", "Required": false, "Type": "string" }, { "#name": "contentVersion", "Description": "If included, must match the ContentVersion in the template.", "Required": false, "Type": "string" }, { "#name": "queryString", "Description": "The query string (for example, a SAS token) to be used with the templateLink URI.", "Required": false, "Type": "string" } ] }, { "#name": "parameters", "Description": "Deployment parameters. ", "Required": false, "Type": "object" }, { "#name": "parametersLink", "Description": "The URI referencing the parameters. ", "Required": false, "Type": "object", "$properties": [ { "#name": "uri", "Description": "The URI of the parameters file.", "Required": true, "Type": "string" }, { "#name": "contentVersion", "Description": "If included, must match the ContentVersion in the template.", "Required": false, "Type": "string" } ] }, { "#name": "mode", "Description": "The deployment mode. Possible values are Incremental and Complete.", "Enum": [ [ "Incremental", "" ], [ "Complete", "" ] ], "Required": false, "Type": "string" }, { "#name": "debugSetting", "Description": "The debug setting of the deployment.", "Required": false, "Type": "object", "$properties": [ { "#name": "detailLevel", "Description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.", "Required": false, "Type": "string" } ] }, { "#name": "onErrorDeployment", "Description": "The deployment on error behavior.", "Required": false, "Type": "object", "$properties": [ { "#name": "provisioningState", "Description": "The state of the provisioning for the on error deployment.", "Required": false, "Type": "string" }, { "#name": "type", "Description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.", "Enum": [ [ "LastSuccessful", "" ], [ "SpecificDeployment", "" ] ], "Required": false, "Type": "string" }, { "#name": "deploymentName", "Description": "The deployment to be used on error case.", "Required": false, "Type": "string" } ] }, { "#name": "templateHash", "Description": "The hash produced for the template.", "Required": false, "Type": "string" }, { "#name": "outputResources", "Description": "Array of provisioned resources.", "Required": false, "Type": "array", "$items": { "Description": "Details of provisioned resources.", "Type": "object", "$properties": [ { "#name": "id", "Description": "The fully qualified resource Id.", "Required": false, "Type": "string" } ] } }, { "#name": "validatedResources", "Description": "Array of validated resources.", "Required": false, "Type": "array", "$items": { "Description": "Details of validated resources.", "Type": "object", "$properties": [ { "#name": "id", "Description": "The fully qualified resource Id.", "Required": false, "Type": "string" } ] } }, { "#name": "error", "Description": "The deployment error.", "Required": false, "Type": "object", "$properties": [ { "#name": "code", "Description": "The error code.", "Required": false, "Type": "string" }, { "#name": "message", "Description": "The error message.", "Required": false, "Type": "string" }, { "#name": "target", "Description": "The error target.", "Required": false, "Type": "string" }, { "#name": "details", "Description": "The error details.", "Required": false, "Type": "array", "$items": { "Description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)", "Type": "object", "$properties": [ { "#name": "code", "Description": "The error code.", "Required": false, "Type": "string" }, { "#name": "message", "Description": "The error message.", "Required": false, "Type": "string" }, { "#name": "target", "Description": "The error target.", "Required": false, "Type": "string" }, { "#name": "details", "Description": "The error details.", "Required": false, "Type": "array", "$items": { "Type": "string" } }, { "#name": "additionalInfo", "Description": "The error additional info.", "Required": false, "Type": "array", "$items": { "Description": "The resource management error additional info.", "Type": "object", "$properties": [ { "#name": "type", "Description": "The additional info type.", "Required": false, "Type": "string" }, { "#name": "info", "Description": "The additional info.", "Required": false, "Type": "object" } ] } } ] } }, { "#name": "additionalInfo", "Description": "The error additional info.", "Required": false, "Type": "array", "$items": { "Description": "The resource management error additional info.", "Type": "object", "$properties": [ { "#name": "type", "Description": "The additional info type.", "Required": false, "Type": "string" }, { "#name": "info", "Description": "The additional info.", "Required": false, "Type": "object" } ] } } ] }, { "#name": "diagnostics", "Description": "Contains diagnostic information collected during validation process.", "Required": false, "Type": "array", "$items": { "Type": "object", "$properties": [ { "#name": "level", "Description": "Denotes the additional response level.", "Enum": [ [ "Warning", "" ], [ "Info", "" ], [ "Error", "" ] ], "Required": true, "Type": "string" }, { "#name": "code", "Description": "The error code.", "Required": true, "Type": "string" }, { "#name": "message", "Description": "The error message.", "Required": true, "Type": "string" }, { "#name": "target", "Description": "The error target.", "Required": false, "Type": "string" }, { "#name": "additionalInfo", "Description": "The error additional info.", "Required": false, "Type": "array", "$items": { "Description": "The resource management error additional info.", "Type": "object", "$properties": [ { "#name": "type", "Description": "The additional info type.", "Required": false, "Type": "string" }, { "#name": "info", "Description": "The additional info.", "Required": false, "Type": "object" } ] } } ] } }, { "#name": "validationLevel", "Description": "The validation level of the deployment", "Enum": [ [ "Template", "Static analysis of the template is performed." ], [ "Provider", "Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Validates that the caller has RBAC write permissions on each resource." ], [ "ProviderNoRbac", "Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Skips validating that the caller has RBAC write permissions on each resource." ] ], "Required": false, "Type": "string" } ] } ] } } } }
⚼ 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)
{
error:
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
]
,
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}
id:
string
,
name:
string
,
type:
string
,
properties:
}
{
,
provisioningState:
enum
,
correlationId:
string
,
timestamp:
string
,
duration:
string
,
outputs:
object
,
providers:
[
]
,
{
,
id:
string
,
namespace:
string
,
registrationState:
string
,
registrationPolicy:
string
,
resourceTypes:
[
]
,
{
,
resourceType:
string
,
locations:
[
,
string
,
]
locationMappings:
[
]
,
{
,
location:
string
,
type:
string
,
extendedLocations:
}
[
,
string
,
]
aliases:
[
]
,
{
,
name:
string
,
paths:
[
]
,
{
,
path:
string
,
apiVersions:
[
,
string
,
]
pattern:
{
,
phrase:
string
,
variable:
string
,
type:
enum
,
}
metadata:
}
{
,
type:
enum
,
attributes:
enum
,
}
type:
enum
,
defaultPath:
string
,
defaultPattern:
{
,
phrase:
string
,
variable:
string
,
type:
enum
,
}
defaultMetadata:
}
{
,
type:
enum
,
attributes:
enum
,
}
apiVersions:
[
,
string
,
]
defaultApiVersion:
string
,
zoneMappings:
[
]
,
{
,
location:
string
,
zones:
}
[
,
string
,
]
apiProfiles:
[
]
,
{
,
profileVersion:
string
,
apiVersion:
string
,
}
capabilities:
string
,
properties:
object
,
}
providerAuthorizationConsentState:
enum
,
}
dependencies:
[
]
,
{
,
dependsOn:
[
]
,
{
,
id:
string
,
resourceType:
string
,
resourceName:
string
,
}
id:
string
,
resourceType:
string
,
resourceName:
string
,
}
templateLink:
{
,
uri:
string
,
id:
string
,
relativePath:
string
,
contentVersion:
string
,
queryString:
string
,
}
parameters:
object
,
parametersLink:
{
,
uri:
string
,
contentVersion:
string
,
}
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
,
}
⚐ Response (202)
{}
⚐ Response (400)
{
error:
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
]
,
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}
id:
string
,
name:
string
,
type:
string
,
properties:
}
{
,
provisioningState:
enum
,
correlationId:
string
,
timestamp:
string
,
duration:
string
,
outputs:
object
,
providers:
[
]
,
{
,
id:
string
,
namespace:
string
,
registrationState:
string
,
registrationPolicy:
string
,
resourceTypes:
[
]
,
{
,
resourceType:
string
,
locations:
[
,
string
,
]
locationMappings:
[
]
,
{
,
location:
string
,
type:
string
,
extendedLocations:
}
[
,
string
,
]
aliases:
[
]
,
{
,
name:
string
,
paths:
[
]
,
{
,
path:
string
,
apiVersions:
[
,
string
,
]
pattern:
{
,
phrase:
string
,
variable:
string
,
type:
enum
,
}
metadata:
}
{
,
type:
enum
,
attributes:
enum
,
}
type:
enum
,
defaultPath:
string
,
defaultPattern:
{
,
phrase:
string
,
variable:
string
,
type:
enum
,
}
defaultMetadata:
}
{
,
type:
enum
,
attributes:
enum
,
}
apiVersions:
[
,
string
,
]
defaultApiVersion:
string
,
zoneMappings:
[
]
,
{
,
location:
string
,
zones:
}
[
,
string
,
]
apiProfiles:
[
]
,
{
,
profileVersion:
string
,
apiVersion:
string
,
}
capabilities:
string
,
properties:
object
,
}
providerAuthorizationConsentState:
enum
,
}
dependencies:
[
]
,
{
,
dependsOn:
[
]
,
{
,
id:
string
,
resourceType:
string
,
resourceName:
string
,
}
id:
string
,
resourceType:
string
,
resourceName:
string
,
}
templateLink:
{
,
uri:
string
,
id:
string
,
relativePath:
string
,
contentVersion:
string
,
queryString:
string
,
}
parameters:
object
,
parametersLink:
{
,
uri:
string
,
contentVersion:
string
,
}
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
,
}
⚐ 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
,
}