Nested templates

A second special type of resource is template deployment. This way, one template can trigger the deployment of another. An example of defining a template deployment as a resource in a template looks as follows:

{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2018-05-01",
"name": "linkedTemplate",
"properties": {
"mode": "Incremental",
"templateLink": {
"uri":"https://.../myLinkedTemplate.json"
},
"parametersLink": {
"uri":"https://.../myParameters.json"
}
}
}

The locations of the template and parameter file can be specified using both HTTP and HTTPS, but have to be publicly accessible locations. As an alternative, a single property template can be specified. This should then contain a whole template as a JSON object.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset