Manage Azure resources by Using ARM Templates
Create an Azure managed disk by using an ARM template
1. In the Azure portal, search for and select Deploy a custom template.
2. On the Custom deployment blade, click Build your own template in the editor.
3. On the Edit template blade, click Load file and upload your “template.json” file.
4. Within the editor pane, check the code and change what you think it’s necessary.
5. Save the changes.
6. Back on the Custom deployment blade, click Edit parameters.
7. On the Edit parameters blade, click Load file and upload your “parameters.json” file, and Save the changes.
8. Back on the Custom deployment blade, specify the required settings for your scenario.
9. Select Review + Create and then select Create.
10. Verify that the deployment was completed successfully.
Review the ARM template-based deployment of the managed disk
1. In the Azure portal, search for and select Resource groups.
2. In the list of resource groups, click the resource group you need, in our example, az104-03b-rg1.
3. On the az104-03b-rg1 resource group blade, in the Settings section, click Deployments.
4. From the az104-03b-rg1 - Deployments blade, click the first entry in the list of deployments and review the content of the Input and Template blades.