您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Define resources in ARM templates

When creating Azure Resource Manager templates (ARM templates), you need to understand what resource types are available, and what values to use in your template. The ARM template reference documentation provides these values.

Learn how to create templates

For an introduction to working with templates, see Tutorial: Create and deploy your first ARM template .

To learn about ARM templates through a guided set of modules on Microsoft Learn, see Deploy and manage resources in Azure by using ARM templates.

Microsoft recommends that you use VS Code to create ARM templates. When you add the Azure Resource Managed tools extension, you get intellisense for the template properties. For more information, see Quickstart: Create ARM templates with Visual Studio Code.

Template structure

To learn about the sections of an ARM template, see Understand the structure and syntax of ARM templates.

To determine locations that available for a resource type, see Set location in templates.

To set the deployment order, see Define the order for deploying resources in ARM templates.

To add tags to resources, see Tag resources in Azure Resource Manager templates.

Find resources

If you know the resource type, you can go directly to it with the following URL format: https://docs.microsoft.com/azure/templates/{provider-namespace}/{resource-type}. For example, the SQL database reference content is available at: https://docs.microsoft.com/azure/templates/microsoft.sql/servers/databases.

The resource types are located under the Reference node. Expand the resource provider that contains the type you are looking for. The following image shows the types for Compute.

show resource types

Or, you can filter the resource types in navigation pane:

filter resource types