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/add-vm-use-shared-image.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,10 @@ description: Learn how to add a virtual machine (VM) using an image from the att
4
4
ms.topic: how-to
5
5
ms.author: rosemalcolm
6
6
author: RoseHJM
7
-
ms.date: 06/26/2020
7
+
ms.date: 02/28/2025
8
8
ms.custom: UpdateFrequency2
9
+
10
+
#customer intent: As a customer, I want to know how to add a VM using an image from the attached shared image gallery in Azure DevTest Labs.
9
11
---
10
12
11
13
# Add a VM using an image from the attached shared image gallery
@@ -25,14 +27,14 @@ Then, on the **Advanced settings** tab of the **Create lab resource** page, you
25
27
You can switch to using a different version of the image after the VM is created.
26
28
27
29
## Resource Manager template
28
-
If you're using an Azure Resource Manager template to create a virtual machine using a shared image gallery image, specify a value for the **sharedImageId** in the **Properties** section. See the following example:
30
+
If you're using an Azure Resource Manager template to create a virtual machine using a shared image gallery image, specify a value for the **sharedGalleryImageId** in the **Properties** section. See the following example:
@@ -50,7 +52,7 @@ For a complete Resource Manager template example, see
50
52
```rest
51
53
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/sharedgalleries/{name}/sharedimages?api-version= 2018-10-15-preview
52
54
```
53
-
2. Invoke the PUT method on virtual machines by passing the ID of the shared image you received from the previous call to the `properties.SharedImageId`.
55
+
2. Invoke the PUT method on virtual machines by passing the ID of the shared image you received from the previous call to the `properties.sharedGalleryImageId`.
54
56
55
57
## Next steps
56
58
To learn how to attach a shared image gallery to a lab and configure it, see [Configure shared image gallery](configure-shared-image-gallery.md).
0 commit comments