How it works...
All resources are referenced by their type. The type consists of the resource provider, for example, Microsoft.Storage, and the type, which, in this recipe, was storageAccounts. The API version of each resource provider is very important. This defines the capabilities of the API endpoint so that you can interact both with Azure Stack as well as the Azure Cloud.
The parameters you have defined in your template are all automatically picked up and can be used as dynamic parameters in your New-AzResourceGroupDeployment cmdlet.
ARM templates are essentially just huge hash tables that are converted into the JSON format. In Step 1, you began your template by creating a hash table containing the mandatory $schema key. In Steps 2
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access