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
:::image type="content" source="./media/deployment-models/arm_arch3.png" alt-text="Diagram that shows Resource Manager architecture with SRP, CRP, and NRP.":::
:::image type="content" source="./media/deployment-models/arm_arch1.png" alt-text="Diagram that shows classic architecture for hosting a virtual machine.":::
90
90
91
91
The classic solution for hosting a virtual machine includes:
:::image type="content" source="./media/deploy-cloud-shell/open-cloud-shell.png" alt-text="Screenshot of the button to open Cloud Shell.":::
24
24
25
25
1. To deploy the template, use the following commands:
26
26
@@ -56,11 +56,11 @@ To deploy a local template, you must first upload your template to the storage a
56
56
57
57
1. Select either **PowerShell** or **Bash**.
58
58
59
-
:::image type="content" source="./media/deploy-cloud-shell/cloud-shell-bash-powershell.png" alt-text="Select Bash or PowerShell":::
59
+
:::image type="content" source="./media/deploy-cloud-shell/cloud-shell-bash-powershell.png" alt-text="Screenshot of the option to select Bash or PowerShell in Cloud Shell.":::
60
60
61
61
1. Select **Upload/Download files**, and then select **Upload**.
:::image type="content" source="./media/deploy-cloud-shell/cloud-shell-upload.png" alt-text="Screenshot of the Cloud Shell interface with the Upload file option highlighted.":::
64
64
65
65
1. Select the ARM template you want to upload, and then select **Open**.
:::image type="content" source="./media/deploy-to-azure-button/select-raw.png" alt-text="Screenshot showing how to select Raw in GitHub.":::
47
47
48
48
The format of the URL is:
49
49
@@ -136,11 +136,11 @@ For Git with Azure repo, the button is in the format:
136
136
137
137
To test the full solution, select the following button:
138
138
139
-
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.storage%2Fstorage-account-create%2Fazuredeploy.json)
139
+
:::image type="content" source="https://aka.ms/deploytoazurebutton" alt-text="Screenshot of Deploy to Azure button with link." link="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.storage%2Fstorage-account-create%2Fazuredeploy.json":::
140
140
141
141
The portal displays a pane that allows you to easily provide parameter values. The parameters are pre-filled with the default values from the template. The camel-cased parameter name, *storageAccountType*, defined in the template is turned into a space-separated string when displayed on the portal.
142
142
143
-

143
+
:::image type="content" source="./media/deploy-to-azure-button/portal.png" alt-text="Screenshot of Azure portal displaying pane for providing parameter values.":::
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/linked-templates.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -442,7 +442,7 @@ You may reference templates using parameters that include HTTP or HTTPS. For exa
442
442
443
443
If you're linking to a template in GitHub, use the raw URL. The link has the format: `https://raw.githubusercontent.com/Azure/azure-docs-json-samples/master/get-started-with-templates/quickstart-template/azuredeploy.json`. To get the raw link, select **Raw**.
444
444
445
-
:::image type="content" source="./media/linked-templates/select-raw.png" alt-text="Select raw URL":::
445
+
:::image type="content" source="./media/linked-templates/select-raw.png" alt-text="Screenshot of selecting raw URL in GitHub.":::
446
446
447
447
[!INCLUDE [Deploy templates in private GitHub repo](../../../includes/resource-manager-private-github-repo-templates.md)]
448
448
@@ -506,7 +506,7 @@ The `relativePath` property of `Microsoft.Resources/deployments` makes it easier
The following template shows how *mainTemplate.json* deploys *nestedChild.json* illustrated in the preceding image.
512
512
@@ -707,7 +707,7 @@ To use the public IP address from the preceding template when deploying a load b
707
707
708
708
Resource Manager processes each template as a separate deployment in the deployment history. A main template with three linked or nested templates appears in the deployment history as:
:::image type="content" source="./media/linked-templates/deployment-history.png" alt-text="Screenshot of deployment history in Azure portal.":::
711
711
712
712
You can use these separate entries in the history to retrieve output values after the deployment. The following template creates a public IP address and outputs the IP address:
:::image type="content" source="./media/quickstart-create-template-specs/search-template-spec.png" alt-text="Screenshot of search bar with 'template specs' query.":::
:::image type="content" source="./media/quickstart-create-template-specs/open-folder.png" alt-text="Screenshot of folder icon to open file explorer.":::
90
90
91
91
1. Navigate to the local template you saved and select it. Select **Open**.
:::image type="content" source="./media/quickstart-create-template-specs/select-import.png" alt-text="Screenshot of 'Import' button after selecting a template file.":::
95
95
96
96
1. Provide the following values:
97
97
@@ -304,11 +304,11 @@ To deploy a template spec, use the same deployment commands as you would use to
:::image type="content" source="./media/quickstart-create-template-specs/select-template-spec.png" alt-text="Screenshot of Template specs list with one item selected.":::
:::image type="content" source="./media/quickstart-create-template-specs/deploy-template-spec.png" alt-text="Screenshot of 'Deploy' button in the selected Template spec.":::
312
312
313
313
1. Provide the following values:
314
314
@@ -453,22 +453,22 @@ Rather than creating a new template spec for the revised template, add a new ver
453
453
454
454
1. In your template spec, select **Create new version**.
455
455
456
-
:::image type="content" source="./media/quickstart-create-template-specs/select-versions.png" alt-text="create new version":::
456
+
:::image type="content" source="./media/quickstart-create-template-specs/select-versions.png" alt-text="Screenshot of 'Create new version' button in Template spec details.":::
457
457
458
458
1. Name the new version `2.0` and optionally add notes. Select **Edit template**.
459
459
460
-
:::image type="content" source="./media/quickstart-create-template-specs/add-version-name.png" alt-text="name new version":::
460
+
:::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.":::
461
461
462
462
1. Replace the contents of the template with your updated template. Select **Review + Save**.
:::image type="content" source="./media/quickstart-create-template-specs/see-versions.png" alt-text="Screenshot of 'Versions' tab in Template spec details.":::
468
468
469
469
1. For the version you want to deploy, select the three dots and **Deploy**.
470
470
471
-
:::image type="content" source="./media/quickstart-create-template-specs/deploy-version.png" alt-text="select version to deploy":::
471
+
:::image type="content" source="./media/quickstart-create-template-specs/deploy-version.png" alt-text="Screenshot of 'Deploy' option in the context menu of a specific version.":::
472
472
473
473
1. Fill in the fields as you did when deploying the earlier version.
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="Screenshot of Search for Custom Template.":::
29
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/search-custom-template.png" alt-text="Screenshot of searching for custom template in Azure portal.":::
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.**
32
32
33
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/select-custom-template.png" alt-text="Screenshot of Select Quickstart Template.":::
33
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/select-custom-template.png" alt-text="Screenshot of selecting a Quickstart Template in Azure portal.":::
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="Screenshot for Input Fields for Template.":::
39
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/input-fields-template.png" alt-text="Screenshot of input fields for custom template in Azure portal.":::
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="Screenshot for Validation and create.":::
43
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/template-validation.png" alt-text="Screenshot of template validation and create button in Azure portal.":::
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.
46
46
47
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/deploy-success.png" alt-text="Screenshot for Deployment Succeeded Notification.":::
47
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/deploy-success.png" alt-text="Screenshot of deployment succeeded notification in Azure portal.":::
48
48
49
49
1. From this screen, you can view the new storage account and its properties.
50
50
51
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/view-storage-account.png" alt-text="Screenshot for View Deployment Page.":::
51
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/view-storage-account.png" alt-text="Screenshot of view deployment page with storage account in Azure portal.":::
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="Screenshot for Build your own template.":::
63
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/build-own-template.png" alt-text="Screenshot of build your own template option in Azure portal.":::
64
64
65
65
1. You see a blank template.
66
66
67
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/blank-template.png" alt-text="Screenshot for Blank Template.":::
67
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/blank-template.png" alt-text="Screenshot of blank ARM template in Azure portal.":::
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="Screenshot for View second deployment.":::
146
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/view-second-deployment.png" alt-text="Screenshot of view second deployment page in Azure portal.":::
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="Screenshot for 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 of resource group with storage account and virtual network in Azure portal.":::
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**.
157
157
158
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/export-template.png" alt-text="Screenshot for Export Template.":::
158
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/export-template.png" alt-text="Screenshot of export template option in Azure portal.":::
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**.
163
163
164
-
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/download-template.png" alt-text="Screenshot for Download exported template.":::
164
+
:::image type="content" source="./media/quickstart-create-templates-use-the-portal/download-template.png" alt-text="Screenshot of download button for exported ARM template in Azure portal.":::
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