Skip to content

Commit 9d687aa

Browse files
committed
reorder elements
1 parent d8c2e38 commit 9d687aa

6 files changed

+27
-29
lines changed
Loading
Loading

articles/azure-resource-manager/templates/overview.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Templates overview
33
description: Describes the benefits using Azure Resource Manager templates for deployment of resources.
44
ms.topic: conceptual
5-
ms.date: 09/25/2019
5+
ms.date: 01/02/2020
66
---
77
# Azure Resource Manager templates overview
88

@@ -67,16 +67,15 @@ When you deploy a template, Resource Manager converts the template into REST API
6767
```json
6868
"resources": [
6969
{
70-
"apiVersion": "2016-01-01",
7170
"type": "Microsoft.Storage/storageAccounts",
71+
"apiVersion": "2016-01-01",
7272
"name": "mystorageaccount",
7373
"location": "westus",
7474
"sku": {
7575
"name": "Standard_LRS"
7676
},
7777
"kind": "Storage",
78-
"properties": {
79-
}
78+
"properties": {}
8079
}
8180
]
8281
```
@@ -89,12 +88,11 @@ https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{reso
8988
REQUEST BODY
9089
{
9190
"location": "westus",
92-
"properties": {
93-
}
9491
"sku": {
9592
"name": "Standard_LRS"
9693
},
97-
"kind": "Storage"
94+
"kind": "Storage",
95+
"properties": {}
9896
}
9997
```
10098

articles/azure-resource-manager/templates/quickstart-create-templates-use-the-portal.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ Creating a Resource Manager template from scratch is not an easy task, especiall
2525
Many experienced template developers use this method to generate templates when they try to deploy Azure resources that they are not familiar with. For more information about exporting templates by using the portal, see [Export resource groups to templates](../management/manage-resource-groups-portal.md#export-resource-groups-to-templates). The other way to find a working template is from [Azure Quickstart templates](https://azure.microsoft.com/resources/templates/).
2626

2727
1. In a web browser, go to the [Azure portal](https://portal.azure.com) and sign in.
28-
2. From the Azure portal menu, select **Create a resource**.
28+
1. From the Azure portal menu, select **Create a resource**.
2929

3030
![Select Create a resource from Azure portal menu](./media/quickstart-create-templates-use-the-portal/azure-resource-manager-template-tutorial-create-a-resource.png)
3131

32-
3. Select **Storage** > **Storage account**.
32+
1. Select **Storage** > **Storage account**.
3333

3434
![Create an Azure storage account](./media/quickstart-create-templates-use-the-portal/azure-resource-manager-template-tutorial-create-storage-account-portal.png)
3535
1. Enter the following information:
@@ -46,8 +46,8 @@ Many experienced template developers use this method to generate templates when
4646
> [!NOTE]
4747
> Some of the exported templates require some edits before you can deploy them.
4848
49-
5. Select **Review + create** on the bottom of the screen. Do not select **Create** in the next step.
50-
6. Select **Download a template for automation** on the bottom of the screen. The portal shows the generated template:
49+
1. Select **Review + create** on the bottom of the screen. Do not select **Create** in the next step.
50+
1. Select **Download a template for automation** on the bottom of the screen. The portal shows the generated template:
5151

5252
![Generate a template from the portal](./media/quickstart-create-templates-use-the-portal/azure-resource-manager-template-tutorial-create-storage-account-template.png)
5353

@@ -56,9 +56,9 @@ Many experienced template developers use this method to generate templates when
5656
There are six parameters defined. One of them is called **storageAccountName**. The second highlighted part on the previous screenshot shows how to reference this parameter in the template. In the next section, you edit the template to use a generated name for the storage account.
5757

5858
In the template, one Azure resource is defined. The type is `Microsoft.Storage/storageAccounts`. Take a look of how the resource is defined, and the definition structure.
59-
7. Select **Download** from the top of the screen.
60-
8. Open the downloaded zip file, and then save **template.json** to your computer. In the next section, you use a template deployment tool to edit the template.
61-
9. Select the **Parameter** tab to see the values you provided for the parameters. Write down these values, you need them in the next section when you deploy the template.
59+
1. Select **Download** from the top of the screen.
60+
1. Open the downloaded zip file, and then save **template.json** to your computer. In the next section, you use a template deployment tool to edit the template.
61+
1. Select the **Parameter** tab to see the values you provided for the parameters. Write down these values, you need them in the next section when you deploy the template.
6262

6363
![Generate a template from the portal](./media/quickstart-create-templates-use-the-portal/azure-resource-manager-template-tutorial-create-storage-account-template-parameters.png)
6464

@@ -74,14 +74,14 @@ The Azure portal can be used to perform some basic template editing. In this qui
7474
Azure requires that each Azure service has a unique name. The deployment could fail if you entered a storage account name that already exists. To avoid this issue, you modify the template to use a template function call `uniquestring()` to generate a unique storage account name.
7575

7676
1. From the Azure portal menu or from the **Home** page, select **Create a resource**.
77-
2. In **Search the Marketplace**, type **template deployment**, and then press **ENTER**.
78-
3. Select **Template deployment**.
77+
1. In **Search the Marketplace**, type **template deployment**, and then press **ENTER**.
78+
1. Select **Template deployment**.
7979

8080
![Azure Resource Manager templates library](./media/quickstart-create-templates-use-the-portal/azure-resource-manager-template-library.png)
81-
4. Select **Create**.
82-
5. Select **Build your own template in the editor**.
83-
6. Select **Load file**, and then follow the instructions to load template.json you downloaded in the last section.
84-
7. Make the following three changes to the template:
81+
1. Select **Create**.
82+
1. Select **Build your own template in the editor**.
83+
1. Select **Load file**, and then follow the instructions to load template.json you downloaded in the last section.
84+
1. Make the following three changes to the template:
8585

8686
![Azure Resource Manager templates](./media/quickstart-create-templates-use-the-portal/azure-resource-manager-template-tutorial-edit-storage-account-template-revised.png)
8787

@@ -145,8 +145,8 @@ Azure requires that each Azure service has a unique name. The deployment could f
145145
"outputs": {}
146146
}
147147
```
148-
8. Select **Save**.
149-
9. Enter the following values:
148+
1. Select **Save**.
149+
1. Enter the following values:
150150

151151
|Name|Value|
152152
|----|----|
@@ -162,12 +162,12 @@ Azure requires that each Azure service has a unique name. The deployment could f
162162

163163
![Azure Resource Manager templates deployment](./media/quickstart-create-templates-use-the-portal/azure-resource-manager-template-tutorial-deploy.png)
164164

165-
10. Select **Purchase**.
166-
11. Select the bell icon (notifications) from the top of the screen to see the deployment status. You shall see **Deployment in progress**. Wait until the deployment is completed.
165+
1. Select **Purchase**.
166+
1. Select the bell icon (notifications) from the top of the screen to see the deployment status. You shall see **Deployment in progress**. Wait until the deployment is completed.
167167

168168
![Azure Resource Manager templates deployment notification](./media/quickstart-create-templates-use-the-portal/azure-resource-manager-template-tutorial-portal-notification.png)
169169

170-
12. Select **Go to resource group** from the notification pane. You shall see a screen similar to:
170+
1. Select **Go to resource group** from the notification pane. You shall see a screen similar to:
171171

172172
![Azure Resource Manager templates deployment resource group](./media/quickstart-create-templates-use-the-portal/azure-resource-manager-template-tutorial-portal-deployment-resource-group.png)
173173

@@ -178,9 +178,9 @@ Azure requires that each Azure service has a unique name. The deployment could f
178178
When the Azure resources are no longer needed, clean up the resources you deployed by deleting the resource group.
179179

180180
1. In the Azure portal, select **Resource group** on the left menu.
181-
2. Enter the resource group name in the **Filter by name** field.
182-
3. Select the resource group name. You shall see the storage account in the resource group.
183-
4. Select **Delete resource group** in the top menu.
181+
1. Enter the resource group name in the **Filter by name** field.
182+
1. Select the resource group name. You shall see the storage account in the resource group.
183+
1. Select **Delete resource group** in the top menu.
184184

185185
## Next steps
186186

articles/azure-resource-manager/templates/template-tutorial-add-tags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ You tag resources to add values that help you identify their use. For example, y
3131

3232
The following example highlights the changes to the template. Copy the whole file and replace your template with its contents.
3333

34-
[!code-json[](~/resourcemanager-templates/get-started-with-templates/add-tags/azuredeploy.json?range=1-118&highlight=46-52,64,78,100)]
34+
[!code-json[](~/resourcemanager-templates/get-started-with-templates/add-tags/azuredeploy.json?range=1-118&highlight=46-52,64,86,103)]
3535

3636
## Deploy template
3737

0 commit comments

Comments
 (0)