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
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/quickstart-create-templates-use-the-portal.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,29 +26,29 @@ Rather than manually building an entire ARM template, let's start by retrieving
26
26
1. In a web browser, go to the [Azure portal](https://portal.azure.com) and sign in.
27
27
1. From the Azure portal search bar, search for **deploy a custom template** and then select it from the available options.
28
28
29
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/search-custom-template.png" alt-text="Search for Custom Template":::
29
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/search-custom-template.png" alt-text="Screenshot of Search for Custom Template.":::
30
30
31
31
1. For **Template** source, notice that **Quickstart template** is selected by default. You can keep this selection. In the drop-down, search for *quickstarts/microsoft.storage/storage-account-create* and select it. After finding the quickstart template, select **Select template.**
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/select-custom-template.png" alt-text="Screenshot of Select Quickstart Template.":::
34
34
35
35
1. In the next blade, you provide custom values to use for the deployment.
36
36
37
37
For **Resource group**, select **Create new** and provide *myResourceGroup* for the name. You can use the default values for the other fields. When you've finished providing values, select **Review + create**.
38
38
39
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/input-fields-template.png" alt-text="Input Fields for Template":::
39
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/input-fields-template.png" alt-text="Screenshot for Input Fields for Template.":::
40
40
41
41
1. The portal validates your template and the values you provided. After validation succeeds, select **Create** to start the deployment.
42
42
43
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/template-validation.png" alt-text="Validation and create":::
43
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/template-validation.png" alt-text="Screenshot for Validation and create.":::
44
44
45
45
1. Once your validation has passed, you'll see the status of the deployment. When it completes successfully, select **Go to resource** to see the storage account.
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/view-storage-account.png" alt-text="Screenshot for View Deployment Page.":::
52
52
53
53
## Edit and deploy the template
54
54
@@ -60,11 +60,11 @@ In this section, let's suppose you have an ARM template that you want to deploy
60
60
61
61
1. This time, select **Build your own template in the editor**.
62
62
63
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/build-own-template.png" alt-text="Build your own template":::
63
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/build-own-template.png" alt-text="Screenshot for Build your own template.":::
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/blank-template.png" alt-text="Screenshot for Blank Template.":::
68
68
69
69
1. Replace the blank template with the following template. It deploys a virtual network with a subnet.
70
70
@@ -143,25 +143,25 @@ In this section, let's suppose you have an ARM template that you want to deploy
143
143
144
144
1. When the deployment completes, you see the status of the deployment. This time select the name of the resource group.
145
145
146
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/view-second-deployment.png" alt-text="View second deployment":::
146
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/view-second-deployment.png" alt-text="Screenshot for View second deployment.":::
147
147
148
148
1. Notice that your resource group now contains a storage account and a virtual network.
149
149
150
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/view-resource-group.png" alt-text="View Storage Account and Virtual Network":::
150
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/view-resource-group.png" alt-text="Screenshot for View Storage Account and Virtual Network.":::
151
151
152
152
## Export a custom template
153
153
154
154
Sometimes the easiest way to work with an ARM template is to have the portal generate it for you. The portal can create an ARM template based on the current state of your resource group.
155
155
156
156
1. In your resource group, select **Export template**.
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/export-template.png" alt-text="Screenshot for Export Template.":::
159
159
160
160
1. The portal generates a template for you based on the current state of the resource group. Notice that this template isn't the same as either template you deployed earlier. It contains definitions for both the storage account and virtual network, along with other resources like a blob service that was automatically created for your storage account.
161
161
162
162
1. To save this template for later use, select **Download**.
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/download-template.png" alt-text="Screenshot for Download exported template.":::
165
165
166
166
You now have an ARM template that represents the current state of the resource group. This template is auto-generated. Before using the template for production deployments, you may want to revise it, such as adding parameters for template reuse.
0 commit comments