You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/template-tutorial-use-template-reference.md
+24-6Lines changed: 24 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
-
title: Utilize template reference
3
-
description: Utilize the Azure Resource Manager template reference to create a template.
2
+
title: Use template reference
3
+
description: Use the Azure Resource Manager template reference to create a template.
4
4
author: mumian
5
5
ms.date: 03/27/2020
6
6
ms.topic: tutorial
7
7
ms.author: jgao
8
8
ms.custom: seodec18
9
9
---
10
10
11
-
# Tutorial: Utilize the ARM template reference
11
+
# Tutorial: Utilize the Resource Manager template reference
12
12
13
13
Learn how to find the template schema information, and use the information to create Azure Resource Manager (ARM) templates.
14
14
@@ -60,10 +60,14 @@ To complete this article, you need:
60
60
* **resources**: specify the resource types that are deployed or updated in a resource group.
61
61
* **outputs**: specify the values that are returned after deployment.
62
62
63
-
1. Expand **resources**. There is a `Microsoft.Storage/storageAccounts` resource defined.
63
+
1. Expand **resources**. There is a `Microsoft.Storage/storageAccounts` resource defined. The SKU name uses a parameter value. The parameter is called **storageAccountType**.
1. Expand **parameters** to see how **storageAccountType** is defined. The parameter has four allowed values. You will find the other allowed values, and then revise the parameter definition.
1. Select the latest version of the **storageAccount** resource type. The latest version is **2019-06-01** when this article is written.
86
+
1. Select the latest version of the **storageAccount** resource type. The latest version is **2019-06-01** when this article is written. Make sure this version matches the version used for the storage account resource in your template. If you update the API version, verify the resource definition matches the template reference.
83
87
84
88
1. This page lists the details of the storageAccount resource type. For example, it lists the allowed values for the **Sku** object. There are more skus than what is listed in the quickstart template that you opened earlier. You can customize the quickstart template to include all the available storage types.
85
89
@@ -93,7 +97,21 @@ From Visual Studio Code, add the additional storage account types as shown in th
93
97
94
98
## Deploy the template
95
99
96
-
Refer to the [Deploy the template](quickstart-create-templates-use-visual-studio-code.md#deploy-the-template) section in the Visual Studio Code quickstart for the deployment procedure. When you deploy the template, specify the **storageAccountType** parameter with a newly added value, for example, **Premium_ZRS**. The deploy would fail if you use the original quickstart template because **Premium_ZRS** was not an allowed value.
100
+
Refer to the [Deploy the template](quickstart-create-templates-use-visual-studio-code.md#deploy-the-template) section in the Visual Studio Code quickstart for the deployment procedure. When you deploy the template, specify the **storageAccountType** parameter with a newly added value, for example, **Premium_ZRS**. The deploy would fail if you use the original quickstart template because **Premium_ZRS** was not an allowed value. To pass the parameter value, add the following switch to the deployment command:
0 commit comments