Created
July 2, 2017 10:18
-
-
Save mrik23/dcfda62fc5f2ce3bed6704e99ed13720 to your computer and use it in GitHub Desktop.
ARM Template syntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "", | |
"parameters": { | |
"<parameter-name>" : { | |
"type" : "<type-of-parameter-value>", | |
"defaultValue": "<default-value-of-parameter>", | |
"allowedValues": [ "<array-of-allowed-values>" ], | |
"minValue": <minimum-value-for-int>, | |
"maxValue": <maximum-value-for-int>, | |
"minLength": <minimum-length-for-string-or-array>, | |
"maxLength": <maximum-length-for-string-or-array-parameters>, | |
"metadata": { | |
"description": "<description-of-the parameter>" | |
} | |
} | |
}, | |
"variables": { | |
"<variable-name>": "<variable-value>", | |
"<variable-name>": { | |
<variable-complex-type-value> | |
} | |
}, | |
"resources": [ | |
{ | |
"condition": "<boolean-value-whether-to-deploy>", | |
"apiVersion": "<api-version-of-resource>", | |
"type": "<resource-provider-namespace/resource-type-name>", | |
"name": "<name-of-the-resource>", | |
"location": "<location-of-resource>", | |
"tags": { | |
"<tag-name1>": "<tag-value1>", | |
"<tag-name2>": "<tag-value2>" | |
}, | |
"comments": "<your-reference-notes>", | |
"copy": { | |
"name": "<name-of-copy-loop>", | |
"count": "<number-of-iterations>", | |
"mode": "<serial-or-parallel>", | |
"batchSize": "<number-to-deploy-serially>" | |
}, | |
"dependsOn": [ | |
"<array-of-related-resource-names>" | |
], | |
"properties": { | |
"<settings-for-the-resource>", | |
"copy": [ | |
{ | |
"name": , | |
"count": , | |
"input": {} | |
} | |
] | |
}, | |
"resources": [ | |
"<array-of-child-resources>" | |
] | |
} | |
], | |
"outputs": { | |
"<outputName>" : { | |
"type" : "<type-of-output-value>", | |
"value": "<output-value-expression>" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment