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/devtest-labs/devtest-lab-use-resource-manager-template.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Create and manage ARM templates for VMs
3
-
description: Learn how to view, edit, store, and access Azure Resource Manager (ARM) virtual machine (VM) templates, and how lab admins can add template repositories to labs.
3
+
description: Learn how to create and manage Azure Resource Manager (ARM) virtual machine (VM) templates, and how lab admins can add template repositories to labs.
4
4
ms.topic: how-to
5
5
ms.author: rosemalcolm
6
6
author: RoseHJM
@@ -16,7 +16,7 @@ This article describes how DevTest Labs users can:
16
16
17
17
- View, edit, and save Azure Resource Manager (ARM) templates for creating Azure VMs.
18
18
- Store the ARM templates in source control repositories.
19
-
-Access the ARM template repositories in Azure DevTest Labs to use the templates.
19
+
-Add and access ARM template repositories in Azure DevTest Labs.
@@ -69,7 +69,7 @@ For an example template, see [Create a new VM in a lab with a specified expirati
69
69
70
70
### Create multiple VMs at once
71
71
72
-
In the Azure portal, you can create more than one instance of a VM at a time by specifying **Number of instances** on the **Advanced Settings** tab of the VM creation screen. In an ARM template, you can add or edit the `copy` parameter in the `resources` section to specify the number of instances to create.
72
+
In the Azure portal, you can create more than one VM at a time by specifying **Number of instances** on the **Advanced Settings** tab of the VM creation screen. In an ARM template, you can add or edit the `copy` parameter in the `resources` section to specify the number of instances to create.
73
73
74
74
```json
75
75
"copy": {
@@ -108,16 +108,17 @@ The **Public Artifact Repo** and **Public Environment Repo** at the [DevTest Lab
108
108
109
109
## Add template repositories to labs
110
110
111
-
Lab owners or contributors can add ARM template repositories to their labs so all lab users can access the templates. To add a repo, select **Add** in the top menu bar of the **Repositories** page.
111
+
Lab owners or contributors can add ARM template repositories to their labs so all lab users can access the templates. To add a repo to your lab:
112
112
113
113
# [GitHub repo](#tab/GitHubRepo/)
114
114
115
+
1. Select **Add** in the top menu bar of the **Repositories** page.
115
116
1. On the **Repository** screen, enter the following information:
116
117
-**Name**: Repository name.
117
118
-**Git clone URL**: The Git HTTPS clone URL from GitHub.
118
119
-**Branch** (optional): The branch that has the ARM template definitions.
119
120
-**Azure Resource Manager template folder path**: The folder path, relative to the Git clone URI, for the ARM template definitions.
120
-
-**Authentication type**: The authentication method to securely access the repository,**Personal access token** or **GitHub App**.
121
+
-**Authentication type**: The authentication method to securely access the repository:**Personal access token** or **GitHub App**.
121
122
- To get a personal access token, select your profile in GitHub and then select **Settings** > **Developer settings** > **Personal access tokens**.
122
123
- To use the GitHub app, select **Sign in with GitHub** and sign in if necessary. You must have the [Microsoft DevCenter GitHub App](https://github.com/apps/microsoft-devcenter) installed.
123
124
1. Select **Save**.
@@ -126,12 +127,13 @@ Lab owners or contributors can add ARM template repositories to their labs so al
126
127
127
128
# [Azure Repos repo](#tab/DevOpsRepo/)
128
129
130
+
1. Select **Add** in the top menu bar of the **Repositories** page.
129
131
1. On the **Repository** screen, enter the following information:
130
132
-**Name**: Repository name.
131
133
-**Git clone URL**: The Git HTTPS clone URL from Azure Repos.
132
134
-**Branch** (optional): The branch that has the ARM template definitions.
133
135
-**Azure Resource Manager template folder path**: The folder path, relative to the Git clone URI, for the ARM template definitions.
134
-
-**Authentication type**: The authentication method to securely access the repository,**Personal access token** or **Managed Identity**.
136
+
-**Authentication type**: The authentication method to securely access the repository:**Personal access token** or **Managed Identity**.
135
137
- To get a personal access token, select **User settings** at upper right in Azure DevOps and then select **Personal access tokens**.
136
138
- To use managed identity, add the lab's system-assigned managed identity to the Azure DevOps organization as a user. For more information, see [Add an artifact repo](add-artifact-repository.md?tabs=DevOpsRepoMSI#add-an-artifact-repo).
0 commit comments