Skip to content

Commit b091147

Browse files
authored
Merge pull request #100451 from mumian/0108-deployment-script
new deployment script articles
2 parents d8e1c38 + ee31e2b commit b091147

10 files changed

+666
-4
lines changed

articles/azure-resource-manager/templates/deployment-script-template.md

Lines changed: 307 additions & 0 deletions
Large diffs are not rendered by default.
Loading
Loading
Loading
Loading
Loading
Loading

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Learn how to create an Azure Resource Manager template to deploy multiple resour
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 Azure Resource Manager Templates](./define-resource-dependency.md).
1515

16-
![resource manager template dependent resources deployment order diagram](./media/template-tutorial-create-templates-with-dependent-resources/resource-manager-template-dependent-resources-diagram.png)
16+
![Resource Manager template dependent resources deployment order diagram](./media/template-tutorial-create-templates-with-dependent-resources/resource-manager-template-dependent-resources-diagram.png)
1717

1818
This tutorial covers the following tasks:
1919

@@ -112,7 +112,7 @@ There are many methods for deploying templates. In this tutorial, you use Cloud
112112
![Azure portal Cloud shell upload file](./media/template-tutorial-create-templates-with-dependent-resources/azure-portal-cloud-shell-upload-file.png)
113113
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.
114114
115-
You can optionally use the **ls $HOME** command and the **cat $HOME/azuredeploy.json** command to verify the files areis uploaded successfully.
115+
You can optionally use the **ls $HOME** command and the **cat $HOME/azuredeploy.json** command to verify the files are uploaded successfully.
116116
117117
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).
118118
@@ -156,7 +156,7 @@ When the Azure resources are no longer needed, clean up the resources you deploy
156156
157157
## Next steps
158158
159-
In this tutorial, you developed and deployed a template to create a virtual machine, a virtual network, and the dependent resources. To learn how to deploy Azure resources based on conditions, see:
159+
In this tutorial, you developed and deployed a template to create a virtual machine, a virtual network, and the dependent resources. To learn how to use deployment scripts to perform pre/post deployment operations, see:
160160
161161
> [!div class="nextstepaction"]
162-
> [Use conditions](./template-tutorial-use-conditions.md)
162+
> [Use deployment script](./template-tutorial-deployment-script.md)

articles/azure-resource-manager/templates/template-tutorial-deployment-script.md

Lines changed: 349 additions & 0 deletions
Large diffs are not rendered by default.

articles/azure-resource-manager/templates/toc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
- name: Set resource deployment order
4545
displayName: dependent resources, dependency
4646
href: template-tutorial-create-templates-with-dependent-resources.md
47+
- name: Use deployment script
48+
displayName: custom script
49+
href: template-tutorial-deployment-script.md
4750
- name: Use conditions
4851
href: template-tutorial-use-conditions.md
4952
- name: Integrate Key Vault
@@ -122,6 +125,9 @@
122125
href: add-resource-extensions.md
123126
- name: Outputs
124127
href: template-outputs.md
128+
- name: Deployment script
129+
displayName: custom script
130+
href: deployment-script-template.md
125131
- name: Modularize templates
126132
displayName: linked templates, nested templates
127133
href: linked-templates.md

0 commit comments

Comments
 (0)