Skip to content

Commit 9873135

Browse files
committed
upldate alt text
1 parent 7217bb2 commit 9873135

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

articles/azure-resource-manager/templates/deploy-portal.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ This article shows both methods.
2222

2323
1. To create a new resource group, select **Resource groups** from the [Azure portal](https://portal.azure.com).
2424

25-
![Select resource groups](./media/deploy-portal/select-resource-groups.png)
25+
:::image type="content" source="./media/deploy-portal/select-resource-groups.png" alt-text="Screenshot of selecting resource groups in Azure portal":::
2626

2727
1. Under Resource groups, select **Add**.
2828

29-
![Add resource group](./media/deploy-portal/add-resource-group.png)
29+
:::image type="content" source="./media/deploy-portal/add-resource-group.png" alt-text="Screenshot of adding a resource group in Azure portal":::
3030

3131
1. Select or enter the following property values:
3232

3333
- **Subscription**: Select an Azure subscription.
3434
- **Resource group**: Give the resource group a name.
3535
- **Region**: Specify an Azure location. This location is where the resource group stores metadata about the resources. For compliance reasons, you may want to specify where that metadata is stored. In general, we recommend that you specify a location where most of your resources will be. Using the same location can simplify your template.
3636

37-
![Set group values](./media/deploy-portal/set-group-properties.png)
37+
:::image type="content" source="./media/deploy-portal/set-group-properties.png" alt-text="Screenshot of setting resource group property values in Azure portal":::
3838

3939
1. Select **Review + create**.
4040
1. Review the values, and then select **Create**.
@@ -46,25 +46,25 @@ After you create a resource group, you can deploy resources to the group from th
4646

4747
1. To start a deployment, select **Create a resource** from the [Azure portal](https://portal.azure.com).
4848

49-
![New resource](./media/deploy-portal/new-resources.png)
49+
:::image type="content" source="./media/deploy-portal/new-resources.png" alt-text="Screenshot of creating a new resource in Azure portal":::
5050

5151
1. Find the type of resource you would like to deploy. The resources are organized in categories. If you don't see the particular solution you would like to deploy, you can search the Marketplace for it. The following screenshot shows that Ubuntu Server is selected.
5252

53-
![Select resource type](./media/deploy-portal/select-resource-type.png)
53+
:::image type="content" source="./media/deploy-portal/select-resource-type.png" alt-text="Screenshot of selecting a resource type in Azure portal":::
5454

5555
1. Depending on the type of selected resource, you have a collection of relevant properties to set before deployment. For all types, you must select a destination resource group. The following image shows how to create a Linux virtual machine and deploy it to the resource group you created.
5656

57-
![Create resource group](./media/deploy-portal/select-existing-group.png)
57+
:::image type="content" source="./media/deploy-portal/select-existing-group.png" alt-text="Screenshot of creating a Linux virtual machine and deploying it to a resource group in Azure portal":::
5858

5959
You can decide to create a resource group when deploying your resources. Select **Create new** and give the resource group a name.
6060

6161
1. Your deployment begins. The deployment could take several minutes. Some resources take longer time than other resources. When the deployment has finished, you see a notification. Select **Go to resource** to open
6262

63-
![View notification](./media/deploy-portal/view-notification.png)
63+
:::image type="content" source="./media/deploy-portal/view-notification.png" alt-text="Screenshot of viewing deployment notification in Azure portal":::
6464

6565
1. After deploying your resources, you can add more resources to the resource group by selecting **Add**.
6666

67-
![Add resource](./media/deploy-portal/add-resource.png)
67+
:::image type="content" source="./media/deploy-portal/add-resource.png" alt-text="Screenshot of adding a resource to a resource group in Azure portal":::
6868

6969
Although you didn't see it, the portal used an ARM template to deploy the resources you selected. You can find the template from the deployment history. For more information, see [Export template after deployment](export-template-portal.md#export-template-after-deployment).
7070

@@ -77,7 +77,7 @@ If you want to execute a deployment but not use any of the templates in the Mark
7777
7878
1. To deploy a customized template through the portal, select **Create a resource**, search for **template**. and then select **Template deployment**.
7979

80-
![Search template deployment](./media/deploy-portal/search-template.png)
80+
:::image type="content" source="./media/deploy-portal/search-template.png" alt-text="Screenshot of searching for template deployment in Azure portal":::
8181

8282
1. Select **Create**.
8383
1. You see several options for creating a template:
@@ -86,7 +86,7 @@ If you want to execute a deployment but not use any of the templates in the Mark
8686
- **Common templates**: Select from common solutions.
8787
- **Load a GitHub quickstart template**: Select from [quickstart templates](https://azure.microsoft.com/resources/templates/).
8888

89-
![View options](./media/deploy-portal/see-options.png)
89+
:::image type="content" source="./media/deploy-portal/see-options.png" alt-text="Screenshot of template creation options in Azure portal":::
9090

9191
This tutorial provides the instruction for loading a quickstart template.
9292

@@ -99,7 +99,7 @@ If you want to execute a deployment but not use any of the templates in the Mark
9999

100100
1. Select **Edit template** to explore the portal template editor. The template is loaded in the editor. Notice there are two parameters: `storageAccountType` and `location`.
101101

102-
![Create template](./media/deploy-portal/show-json.png)
102+
:::image type="content" source="./media/deploy-portal/show-json.png" alt-text="Screenshot of editing a JSON template in Azure portal":::
103103

104104
1. Make a minor change to the template. For example, update the `storageAccountName` variable to:
105105

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ You also can upload the file by using the Azure portal or the Azure CLI.
212212
2. Open the container group. The default container group name is the project name appended with *cg*. The container instance is in the **Running** state.
213213
3. In the resource menu, select **Containers**. The container instance name is the project name appended with *container*.
214214

215-
![Screenshot of the deployment script connect container instance in the Azure portal.](./media/deployment-script-template-configure-dev/deployment-script-container-instance-connect.png)
215+
:::image type="content" source="./media/deployment-script-template-configure-dev/deployment-script-container-instance-connect.png" alt-text="Screenshot of the deployment script connect container instance option in the Azure portal.":::
216216

217217
4. Select **Connect**, and then select **Connect**. If you can't connect to the container instance, restart the container group and try again.
218218
5. In the console pane, run the following commands:
@@ -225,7 +225,7 @@ You also can upload the file by using the Azure portal or the Azure CLI.
225225

226226
The output is **Hello John Dole**.
227227

228-
![Screenshot of the deployment script connect container instance test output in the console.](./media/deployment-script-template-configure-dev/deployment-script-container-instance-test.png)
228+
:::image type="content" source="./media/deployment-script-template-configure-dev/deployment-script-container-instance-test.png" alt-text="Screenshot of the deployment script connect container instance test output displayed in the console.":::
229229

230230
## Use an Azure CLI container instance
231231

@@ -402,7 +402,7 @@ You also can upload the file by using the Azure portal or the Azure CLI.
402402
1. Open the container group. The default container group name is the project name appended with *cg*. The container instance is shown in the **Running** state.
403403
1. In the resource menu, select **Containers**. The container instance name is the project name appended with *container*.
404404

405-
![deployment script connect container instance](./media/deployment-script-template-configure-dev/deployment-script-container-instance-connect.png)
405+
:::image type="content" source="./media/deployment-script-template-configure-dev/deployment-script-container-instance-connect.png" alt-text="Screenshot of the deployment script connect container instance option in the Azure portal.":::
406406

407407
1. Select **Connect**, and then select **Connect**. If you can't connect to the container instance, restart the container group and try again.
408408
1. In the console pane, run the following commands:
@@ -415,7 +415,7 @@ You also can upload the file by using the Azure portal or the Azure CLI.
415415

416416
The output is **Hello John Dole**.
417417

418-
![deployment script container instance test](./media/deployment-script-template-configure-dev/deployment-script-container-instance-test-cli.png)
418+
:::image type="content" source="./media/deployment-script-template-configure-dev/deployment-script-container-instance-test-cli.png" alt-text="Screenshot of the deployment script container instance test output displayed in the console.":::
419419

420420
## Use Docker
421421

@@ -460,7 +460,7 @@ You also need to configure file sharing to mount the directory, which contains t
460460

461461
1. The following screenshot shows how to run a PowerShell script, given that you have a *helloworld.ps1* file in the shared drive.
462462

463-
![Resource Manager template deployment script docker cmd](./media/deployment-script-template/resource-manager-deployment-script-docker-cmd.png)
463+
:::image type="content" source="./media/deployment-script-template/resource-manager-deployment-script-docker-cmd.png" alt-text="Screenshot of the Resource Manager template deployment script using Docker command.":::
464464

465465
After the script is tested successfully, you can use it as a deployment script in your templates.
466466

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Write-Host "Press [ENTER] to continue ..."
225225

226226
The output looks like:
227227

228-
![Resource Manager template deployment script hello world output](./media/deployment-script-template/resource-manager-template-deployment-script-helloworld-output.png)
228+
:::image type="content" source="./media/deployment-script-template/resource-manager-template-deployment-script-helloworld-output.png" alt-text="Screenshot of Resource Manager template deployment script hello world output.":::
229229

230230
## Use external scripts
231231

@@ -366,7 +366,7 @@ The max allowed size for environment variables is 64 KB.
366366

367367
The script service creates a [storage account](../../storage/common/storage-account-overview.md) (unless you specify an existing storage account) and a [container instance](../../container-instances/container-instances-overview.md) for script execution. If these resources are automatically created by the script service, both resources have the `azscripts` suffix in the resource names.
368368

369-
![Resource Manager template deployment script resource names](./media/deployment-script-template/resource-manager-template-deployment-script-resources.png)
369+
:::image type="content" source="./media/deployment-script-template/resource-manager-template-deployment-script-resources.png" alt-text="Screenshot of Resource Manager template deployment script resource names.":::
370370

371371
The user script, the execution results, and the stdout file are stored in the files shares of the storage account. There's a folder called `azscripts`. In the folder, there are two more folders for the input and the output files: `azscriptinput` and `azscriptoutput`.
372372

@@ -376,7 +376,7 @@ The output folder contains a _executionresult.json_ and the script output file.
376376

377377
After you deploy a deployment script resource, the resource is listed under the resource group in the Azure portal. The following screenshot shows the **Overview** page of a deployment script resource:
378378

379-
![Resource Manager template deployment script portal overview](./media/deployment-script-template/resource-manager-deployment-script-portal.png)
379+
:::image type="content" source="./media/deployment-script-template/resource-manager-deployment-script-portal.png" alt-text="Screenshot of Resource Manager template deployment script portal overview.":::
380380

381381
The overview page displays some important information of the resource, such as **Provisioning state**, **Storage account**, **Container instance**, and **Logs**.
382382

@@ -568,7 +568,7 @@ It only works before the deployment script resources are deleted.
568568

569569
To see the deploymentScripts resource in the portal, select **Show hidden types**:
570570

571-
![Resource Manager template deployment script, show hidden types, portal](./media/deployment-script-template/resource-manager-deployment-script-portal-show-hidden-types.png)
571+
:::image type="content" source="./media/deployment-script-template/resource-manager-deployment-script-portal-show-hidden-types.png" alt-text="Screenshot of Resource Manager template deployment script with show hidden types option in portal.":::
572572

573573
## Clean up deployment script resources
574574

articles/azure-resource-manager/templates/deployment-tutorial-pipeline.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ If you don't have a GitHub account, see [Prerequisites](#prerequisites).
4848
1. Sign in to [GitHub](https://github.com).
4949
1. Select your account image on the upper right corner, and then select **Your repositories**.
5050

51-
![Azure Resource Manager Azure DevOps Azure Pipelines create GitHub repository](./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-github-repository.png)
51+
:::image type="content" source="./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-github-repository.png" alt-text="Screenshot of creating a GitHub repository for Azure Resource Manager Azure DevOps Azure Pipelines.":::
5252

5353
1. Select **New**, a green button.
5454
1. In **Repository name**, enter a repository name. For example, **ARMPipeline-repo**. Remember to replace any of **ARMPipeline** with your project name. You can select either **Public** or **private** for going through this tutorial. And then select **Create repository**.
@@ -115,7 +115,7 @@ A DevOps organization is needed before you can proceed to the next procedure. If
115115
1. Select a DevOps organization from the left, and then select **New project**. If you don't have any projects, the create project page is opened automatically.
116116
1. Enter the following values:
117117

118-
![Azure Resource Manager Azure DevOps Azure Pipelines create Azure DevOps project](./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-create-devops-project.png)
118+
:::image type="content" source="./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-create-devops-project.png" alt-text="Screenshot of creating an Azure DevOps project for Azure Resource Manager Azure DevOps Azure Pipelines.":::
119119

120120
* **Project name**: Enter a project name. You can use the project name you picked at the very beginning of the tutorial.
121121
* **Visibility**: Select **Private**.
@@ -151,7 +151,7 @@ To create a pipeline with a step to deploy a template:
151151
1. Select **Create pipeline**.
152152
1. From the **Connect** tab, select **GitHub**. If asked, enter your GitHub credentials, and then follow the instructions. If you see the following screen, select **Only select repositories**, and verify your repository is in the list before you select **Approve & Install**.
153153

154-
![Azure Resource Manager Azure DevOps Azure Pipelines only select repositories](./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-only-select-repositories.png)
154+
:::image type="content" source="./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-only-select-repositories.png" alt-text="Screenshot of selecting repositories for Azure Resource Manager Azure DevOps Azure Pipelines.":::
155155

156156
1. From the **Select** tab, select your repository. The default name is `[YourAccountName]/[YourGitHubRepositoryName]`.
157157
1. From the **Configure** tab, select **Starter pipeline**. It shows the _azure-pipelines.yml_ pipeline file with two script steps.
@@ -174,21 +174,21 @@ To create a pipeline with a step to deploy a template:
174174
* **Deployment mode**: Select **Incremental**.
175175
* **Deployment name**: Enter **DeployPipelineTemplate**. Select **Advanced** before you can see **Deployment name**.
176176

177-
![Screenshot shows the ARM template deployment page with required values entered.](./media/deployment-tutorial-pipeline/resource-manager-template-pipeline-configure.png)
177+
:::image type="content" source="./media/deployment-tutorial-pipeline/resource-manager-template-pipeline-configure.png" alt-text="Screenshot of the ARM template deployment page with required values entered for Azure DevOps Azure Pipelines.":::
178178

179179
1. Select **Add**.
180180

181181
For more information about the task, see [Azure Resource Group Deployment task](/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment), and [Azure Resource Manager template deployment task](https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureResourceManagerTemplateDeploymentV3/README.md)
182182

183183
The _.yml_ file shall be similar to:
184184

185-
![Screenshot shows the Review page with the new pipeline titled Review your pipeline YAML.](./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-yml.png)
185+
:::image type="content" source="./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-yml.png" alt-text="Screenshot of the Review page with the new pipeline titled Review your pipeline YAML for Azure DevOps Azure Pipelines.":::
186186

187187
1. Select **Save and run**.
188188
1. From the **Save and run** pane, select **Save and run** again. A copy of the YAML file is saved into the connected repository. You can see the YAML file by browse to your repository.
189189
1. Verify that the pipeline is executed successfully.
190190

191-
![Azure Resource Manager Azure DevOps Azure Pipelines yaml](./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-status.png)
191+
:::image type="content" source="./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-status.png" alt-text="Screenshot of Azure Resource Manager Azure DevOps Azure Pipelines YAML file.":::
192192

193193
## Verify the deployment
194194

@@ -204,7 +204,7 @@ When you update the template and push the changes to the remote repository, the
204204
1. Open _linkedStorageAccount.json_ from your local repository in Visual Studio Code or any text editor.
205205
1. Update the **defaultValue** of **storageAccountType** to **Standard_GRS**. See the following screenshot:
206206

207-
![Azure Resource Manager Azure DevOps Azure Pipelines update yaml](./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-update-yml.png)
207+
:::image type="content" source="./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-update-yml.png" alt-text="Screenshot of updating the YAML file for Azure Resource Manager Azure DevOps Azure Pipelines.":::
208208

209209
1. Save the changes.
210210
1. Push the changes to the remote repository by running the following commands from Git Bash/Shell.

0 commit comments

Comments
 (0)