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
1. Verify the deployment with Azure CLI or PowerShell.
222
+
223
+
```azurepowershell
224
+
Get-AzTemplateSpec `
225
+
-ResourceGroupName templateSpecRG `
226
+
-Name storageSpec
227
+
```
228
+
229
+
```azurecli
230
+
az ts show \
231
+
--resource-group templateSpecRG \
232
+
--name storageSpec
233
+
```
234
+
221
235
---
222
236
223
237
## Deploy template spec
@@ -312,7 +326,7 @@ To deploy a template spec, use the same deployment commands as you would use to
312
326
313
327
# [ARM Template](#tab/azure-resource-manager)
314
328
315
-
1. Copy the following template and save it locally to a file named **deployTemplateSpec.json**.
329
+
1. Copy the following template and save it locally to a file named **C:\Templates\deployTemplateSpecV1.json**.
316
330
317
331
```json
318
332
{
@@ -336,7 +350,7 @@ To deploy a template spec, use the same deployment commands as you would use to
336
350
}
337
351
```
338
352
339
-
In the template, **templateSpecRG** is the name of the resource group that contains the template spec, **storageSpec** is the name of the template spec, and **1.0** is the version of the template spec.
353
+
In the template, **templateSpecRG** is the name of the resource group that contains the template spec, **storageSpec** is the name of the template spec, and **1.0** is the version of the template spec.
340
354
341
355
1. Use Azure CLI or PowerShell to create a new resource group for the storage account.
342
356
@@ -357,13 +371,25 @@ To deploy a template spec, use the same deployment commands as you would use to
1. Verify the deployment with Azure CLI or PowerShell.
384
+
385
+
```azurepowershell
386
+
Get-AzResource `
387
+
-ResourceGroupName storageRG
388
+
```
389
+
390
+
```azurecli
391
+
az resource list \
392
+
--resource-group storageRG
367
393
```
368
394
369
395
---
@@ -470,15 +496,16 @@ Instead of creating a new template spec for the revised template, add a new vers
470
496
471
497
# [Portal](#tab/azure-portal)
472
498
473
-
1. Open the template spec, select **Create new version**.
499
+
1. Open the template spec**storageSpec**, select **Create new version**.
474
500
475
501
:::image type="content" source="./media/quickstart-create-template-specs/select-versions.png" alt-text="Screenshot of 'Create new version' button in Template spec details.":::
476
502
503
+
1. Select **1.0** as the base template, and then select **Create**.
477
504
1. Name the new version `2.0` and optionally add notes. Select **Edit template**.
478
505
479
506
:::image type="content" source="./media/quickstart-create-template-specs/add-version-name.png" alt-text="Screenshot of naming the new version and selecting 'Edit template' button.":::
480
507
481
-
1. Replace the contents of the template with your updated template. Select **Review + Save**.
508
+
1. Replace the contents of the template with the updated template. Select **Review + Save**.
482
509
1. Select **Save changes**.
483
510
484
511
1. To deploy the new version, select **Versions**.
@@ -565,7 +592,23 @@ Instead of creating a new template spec for the revised template, add a new vers
0 commit comments