Skip to content

Commit fe6efc6

Browse files
committed
update the dependent tutorial
1 parent c47e17b commit fe6efc6

7 files changed

+22
-14
lines changed
Loading

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

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,33 +62,43 @@ When you explore the template in this section, try to answer these questions:
6262

6363
![Visual Studio Code Azure Resource Manager templates](./media/template-tutorial-create-templates-with-dependent-resources/resource-manager-template-visual-studio-code.png)
6464

65-
There are five resources defined by the template:
65+
There are six resources defined by the template:
6666

67-
* `Microsoft.Storage/storageAccounts`. See the [template reference](https://docs.microsoft.com/azure/templates/Microsoft.Storage/storageAccounts).
68-
* `Microsoft.Network/publicIPAddresses`. See the [template reference](https://docs.microsoft.com/azure/templates/microsoft.network/publicipaddresses).
69-
* `Microsoft.Network/virtualNetworks`. See the [template reference](https://docs.microsoft.com/azure/templates/microsoft.network/virtualnetworks).
70-
* `Microsoft.Network/networkInterfaces`. See the [template reference](https://docs.microsoft.com/azure/templates/microsoft.network/networkinterfaces).
71-
* `Microsoft.Compute/virtualMachines`. See the [template reference](https://docs.microsoft.com/azure/templates/microsoft.compute/virtualmachines).
67+
* `Microsoft.Storage/storageAccounts`. See the [template reference](/azure/templates/Microsoft.Storage/storageAccounts).
68+
* `Microsoft.Network/publicIPAddresses`. See the [template reference](/azure/templates/microsoft.network/publicipaddresses).
69+
* `Microsoft.Network/networkSecurityGroups`. See the [template reference](/azure/templates/microsoft.network/networksecuritygroups).
70+
* `Microsoft.Network/virtualNetworks`. See the [template reference](/azure/templates/microsoft.network/virtualnetworks).
71+
* `Microsoft.Network/networkInterfaces`. See the [template reference](/azure/templates/microsoft.network/networkinterfaces).
72+
* `Microsoft.Compute/virtualMachines`. See the [template reference](/azure/templates/microsoft.compute/virtualmachines).
7273

7374
It is helpful to get some basic understanding of the template before customizing it.
7475

75-
2. Expand the first resource. It is a storage account. Compare the resource definition to the [template reference](https://docs.microsoft.com/azure/templates/Microsoft.Storage/storageAccounts).
76+
1. Expand the first resource. It is a storage account. Compare the resource definition to the [template reference](/azure/templates/Microsoft.Storage/storageAccounts).
7677

7778
![Visual Studio Code Azure Resource Manager templates storage account definition](./media/template-tutorial-create-templates-with-dependent-resources/resource-manager-template-storage-account-definition.png)
7879

79-
3. Expand the second resource. The resource type is `Microsoft.Network/publicIPAddresses`. Compare the resource definition to the [template reference](https://docs.microsoft.com/azure/templates/microsoft.network/publicipaddresses).
80+
1. Expand the second resource. The resource type is `Microsoft.Network/publicIPAddresses`. Compare the resource definition to the [template reference](/azure/templates/microsoft.network/publicipaddresses).
8081

8182
![Visual Studio Code Azure Resource Manager templates public IP address definition](./media/template-tutorial-create-templates-with-dependent-resources/resource-manager-template-public-ip-address-definition.png)
82-
4. Expand the fourth resource. The resource type is `Microsoft.Network/networkInterfaces`:
8383

84-
![Visual Studio Code Azure Resource Manager templates dependsOn](./media/template-tutorial-create-templates-with-dependent-resources/resource-manager-template-visual-studio-code-dependson.png)
84+
1. Expand the third resource. The resource type is `Microsoft.Network/networkSecurityGroups`. Compare the resource definition to the [template reference](/azure/templates/microsoft.network/networksecuritygroups).
8585

86-
The dependsOn element enables you to define one resource as a dependent on one or more resources. The resource depends on two other resources:
86+
![Visual Studio Code Azure Resource Manager templates network security group definition](./media/template-tutorial-create-templates-with-dependent-resources/resource-manager-template-network-security-group-definition.png)
87+
88+
1. Expand the fourth resource. The resource type is `Microsoft.Network/virtualNetworks`:
89+
90+
![Visual Studio Code Azure Resource Manager templates virtual network dependsOn](./media/template-tutorial-create-templates-with-dependent-resources/resource-manager-template-virtual-network-definition.png)
91+
92+
The dependsOn element enables you to define one resource as a dependent on one or more resources. The dependsOn element enables you to define one resource as a dependent on one or more resources. This resource depends on one other resource:
93+
94+
* `Microsoft.Network/networkSecurityGroups`
95+
96+
1. Expand the fifty resource. The resource type is `Microsoft.Network/networkInterfaces`. The resource depends on two other resources:
8797

8898
* `Microsoft.Network/publicIPAddresses`
8999
* `Microsoft.Network/virtualNetworks`
90100

91-
5. Expand the fifth resource. This resource is a virtual machine. It depends on two other resources:
101+
1. Expand the sixth resource. This resource is a virtual machine. It depends on two other resources:
92102

93103
* `Microsoft.Storage/storageAccounts`
94104
* `Microsoft.Network/networkInterfaces`
@@ -101,8 +111,6 @@ By specifying the dependencies, Resource Manager efficiently deploys the solutio
101111

102112
## Deploy the template
103113

104-
[!INCLUDE [updated-for-az](../../../includes/updated-for-az.md)]
105-
106114
There are many methods for deploying templates. In this tutorial, you use Cloud Shell from the Azure portal.
107115

108116
1. Sign in to the [Cloud Shell](https://shell.azure.com).

0 commit comments

Comments
 (0)