Skip to content

Commit a2197b2

Browse files
committed
update
1 parent aef7b00 commit a2197b2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/azure-resource-manager/templates/template-tutorial-create-templates-with-dependent-resources.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
title: Template with dependent resources
33
description: Learn how to create an Azure Resource Manager template with multiple resources, and how to deploy it using the Azure portal
44
author: mumian
5-
ms.date: 03/04/2019
5+
ms.date: 04/10/2020
66
ms.topic: tutorial
77
ms.author: jgao
88
---
99

1010
# Tutorial: Create ARM templates with dependent resources
1111

12-
Learn how to create an Azure Resource Manager (ARM) template to deploy multiple resources and configure the deployment order. After you create the template, you deploy the template using the Cloud shell from the Azure portal.
12+
Learn how to create an Azure Resource Manager (ARM) template to deploy multiple resources and configure the deployment order. After you create the template, you deploy the template using the Cloud Shell from the Azure portal.
1313

1414
In this tutorial, you create a storage account, a virtual machine, a virtual network, and some other dependent resources. Some of the resources cannot be deployed until another resource exists. For example, you can't create the virtual machine until its storage account and network interface exist. You define this relationship by making one resource as dependent on the other resources. Resource Manager evaluates the dependencies between resources, and deploys them in their dependent order. When resources aren't dependent on each other, Resource Manager deploys them in parallel. For more information, see [Define the order for deploying resources in ARM templates](./define-resource-dependency.md).
1515

@@ -34,6 +34,7 @@ To complete this article, you need:
3434
```console
3535
openssl rand -base64 32
3636
```
37+
3738
Azure Key Vault is designed to safeguard cryptographic keys and other secrets. For more information, see [Tutorial: Integrate Azure Key Vault in ARM template deployment](./template-tutorial-use-key-vault.md). We also recommend you to update your password every three months.
3839

3940
## Open a Quickstart template
@@ -46,6 +47,7 @@ Azure QuickStart Templates is a repository for ARM templates. Instead of creatin
4647
```url
4748
https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-vm-simple-windows/azuredeploy.json
4849
```
50+
4951
3. Select **Open** to open the file.
5052
4. Select **File**>**Save As** to save a copy of the file to your local computer with the name **azuredeploy.json**.
5153

@@ -114,15 +116,15 @@ By specifying the dependencies, Resource Manager efficiently deploys the solutio
114116
There are many methods for deploying templates. In this tutorial, you use Cloud Shell from the Azure portal.
115117

116118
1. Sign in to the [Cloud Shell](https://shell.azure.com).
117-
1. Select **PowerShell** from the upper left corner of the Cloud shell, and then select **Confirm**. You use PowerShell in this tutorial.
118-
1. Select **Upload file** from the Cloud shell:
119+
1. Select **PowerShell** from the upper left corner of the Cloud Shell, and then select **Confirm**. You use PowerShell in this tutorial.
120+
1. Select **Upload file** from the Cloud Shell:
119121

120-
![Azure portal Cloud shell upload file](./media/template-tutorial-create-templates-with-dependent-resources/azure-portal-cloud-shell-upload-file.png)
122+
![Azure portal Cloud Shell upload file](./media/template-tutorial-create-templates-with-dependent-resources/azure-portal-cloud-shell-upload-file.png)
121123
1. Select the template you saved earlier in the tutorial. The default name is **azuredeploy.json**. If you have a file with the same file name, the old file is overwritten without any notification.
122124

123125
You can optionally use the **ls $HOME** command and the **cat $HOME/azuredeploy.json** command to verify the files are uploaded successfully.
124126

125-
1. From the Cloud shell, run the following PowerShell commands. To increase security, use a generated password for the virtual machine administrator account. See [Prerequisites](#prerequisites).
127+
1. From the Cloud Shell, run the following PowerShell commands. To increase security, use a generated password for the virtual machine administrator account. See [Prerequisites](#prerequisites).
126128

127129
```azurepowershell
128130
$projectName = Read-Host -Prompt "Enter a project name that is used to generate resource group name"

0 commit comments

Comments
 (0)