Skip to content

Commit 9e26e05

Browse files
committed
update the template reference tutorial
1 parent 58a3bdc commit 9e26e05

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed
Loading
Loading
Loading

articles/azure-resource-manager/templates/template-tutorial-use-template-reference.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ To complete this article, you need:
6464

6565
![Resource Manager template storage account definition](./media/template-tutorial-use-template-reference/resource-manager-template-storage-resource.png)
6666

67+
The SKU name uses a parameter value. The parameter is called **storageAccountType**.
68+
69+
1. Expand **parameters** to see how **storageAccountType** is defined:
70+
71+
![Resource Manager template storage account definition](./media/template-tutorial-use-template-reference/resource-manager-template-storage-resource.png)
72+
73+
The parameter has four allowed values.
74+
6775
## Find the template reference
6876

6977
1. Browse to [Azure Template reference](https://docs.microsoft.com/azure/templates/).
@@ -73,7 +81,9 @@ To complete this article, you need:
7381

7482
A resource provider usually has several API versions:
7583

76-
![Resource Manager template reference storage account versions](./media/template-tutorial-use-template-reference/resource-manager-template-resources-reference-storage-accounts-versions.png)
84+
![Resource Manager template storage account resources skus](./media/template-tutorial-use-template-reference/resource-manager-template-storage-resources-skus-old.png)
85+
86+
7787

7888
1. Select **All resources** under **Storage** from the left pane. This page lists the resource types and versions of the storage resource provider. It is recommended to use the latest API versions for the resource types defined in your template.
7989

@@ -93,7 +103,15 @@ From Visual Studio Code, add the additional storage account types as shown in th
93103

94104
## Deploy the template
95105

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.
106+
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 switches to the deployment command:
107+
108+
```azurecli
109+
--parameters storageAccountType 'Premium_ZRS'
110+
```
111+
112+
```azurepowershell
113+
-storageAccountType "Premium_ZRS"
114+
```
97115

98116
## Clean up resources
99117

0 commit comments

Comments
 (0)