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/virtual-machines/azure-compute-gallery.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ There are three main ways to share images in an Azure Compute Gallery, depending
89
89
| Share with\:| Option |
90
90
|----|----|
91
91
|[Specific people, groups, or service principals](#rbac)| Role-based access control (RBAC) lets you share resources to specific people, groups, or service principals on a granular level. |
92
-
|[Subscriptions or tenants](#direct-sharing-to-a-tenant-or-subscription)| Direct sharing (preview) lets you share to everyone in a subscription or tenant. |
92
+
|[Subscriptions or tenants](#direct-sharing-to-a-tenant-or-subscription)| Direct shared gallery (preview) lets you share to everyone in a subscription or tenant. |
93
93
|[Everyone](#community-gallery)| Community gallery (preview) lets you share your entire gallery publicly, to all Azure users. |
94
94
95
95
### RBAC
@@ -106,12 +106,12 @@ We recommend sharing at the Gallery level for the best experience. We do not rec
106
106
For more information, see [Share using RBAC](./share-gallery.md).
107
107
108
108
109
-
### Direct sharing to a tenant or subscription
109
+
### Shared directly to a tenant or subscription
110
110
111
-
Give specific subscriptions or tenants access to an Azure Compute Gallery using direct sharing. Sharing a gallery with tenants and subscriptions give them read-only access to your gallery. For more information, see [Share a gallery with subscriptions or tenants](./share-gallery-direct.md).
111
+
Give specific subscriptions or tenants access to an direct shared Azure Compute Gallery. Sharing a gallery with tenants and subscriptions give them read-only access to your gallery. For more information, see [Share a gallery with subscriptions or tenants](./share-gallery-direct.md).
112
112
113
113
> [!IMPORTANT]
114
-
> Azure Compute Gallery – direct sharing is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
114
+
> Azure Compute Gallery – direct shared gallery is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
115
115
>
116
116
> To publish images to a direct shared gallery during the preview, you need to register at [https://aka.ms/directsharedgallery-preview](https://aka.ms/directsharedgallery-preview). Creating VMs from a direct shared gallery is open to all Azure users.
117
117
@@ -124,8 +124,8 @@ Give specific subscriptions or tenants access to an Azure Compute Gallery using
124
124
During the preview:
125
125
- You can only share to subscriptions that are also in the preview.
126
126
- You can only share to 30 subscriptions and 5 tenants.
127
-
-The gallery using direct sharing cannot contain encrypted image versions. Encrypted images cannot be created within a gallery that is directly shared.
128
-
- Only an `Owner` at the scope of the gallery or higher will be able to enable group-based sharing.
127
+
-A direct shared gallery cannot contain encrypted image versions. Encrypted images cannot be created within a gallery that is directly shared.
128
+
- Only the owner of a subscription, or a user or service principal assigned to the `Compute Gallery Sharing Admin` role at the subscription or gallery level will be able to enable group-based sharing.
129
129
- You need to create a new gallery, with the property `sharingProfile.permissions` set to `Groups`. When using the CLI to create a gallery, use the `--permissions groups` parameter. You can't use an existing gallery, the property can't currently be updated.
Copy file name to clipboardExpand all lines: articles/virtual-machines/create-gallery.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
@@ -26,7 +26,7 @@ The gallery is a top-level resource that can be shared in multiple ways:
26
26
| Share with\:| Option |
27
27
|----|----|
28
28
|[Specific people, groups, or service principals](#create-a-private-gallery)| Role-based access control (RBAC) lets you share resources to specific people, groups, or service principals on a granular level. |
29
-
|[Subscriptions or tenants](#create-a-direct-shared-gallery)| Direct sharing (preview) lets you share to everyone in a subscription or tenant. |
29
+
|[Subscriptions or tenants](#create-a-direct-shared-gallery)| Direct shared gallery (preview) lets you share to everyone in a subscription or tenant. |
30
30
|[Everyone](#create-a-community-gallery)| Community gallery (preview) lets you share your entire gallery publicly, to all Azure users. |
31
31
32
32
## Naming
@@ -112,7 +112,7 @@ PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{
112
112
## Create a direct shared gallery
113
113
114
114
> [!IMPORTANT]
115
-
> Azure Compute Gallery – direct sharing is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
115
+
> Azure Compute Gallery – direct shared gallery is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
116
116
>
117
117
> During the preview, you need to create a new gallery, with the property `sharingProfile.permissions` set to `Groups`. When using the CLI to create a gallery, use the `--permissions groups` parameter. You can't use an existing gallery, the property can't currently be updated.
118
118
>
@@ -139,7 +139,7 @@ To start sharing the gallery with a subscription or tenant, use see [Share a gal
139
139
140
140
### [CLI](#tab/clidirect)
141
141
142
-
To create a gallery that can be shared to a subscription or tenant using direct sharing, you need to create the gallery with the `--permissions` parameter set to `groups`.
142
+
To create a gallery that can be shared to a subscription or tenant using a direct shared gallery, you need to create the gallery with the `--permissions` parameter set to `groups`.
Copy file name to clipboardExpand all lines: articles/virtual-machines/share-gallery-community.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ There are three main ways to share images in an Azure Compute Gallery, depending
36
36
| Share with\:| Option |
37
37
|----|----|
38
38
|[Specific people, groups, or service principals](./share-gallery.md)| Role-based access control (RBAC) lets you share resources to specific people, groups, or service principals on a granular level. |
39
-
|[Subscriptions or tenants](./share-gallery-direct.md)| Direct sharing lets you share to everyone in a subscription or tenant. |
39
+
|[Subscriptions or tenants](./share-gallery-direct.md)| Direct shared gallery lets you share to everyone in a subscription or tenant. |
40
40
| Everyone (described in this article) | Community gallery lets you share your entire gallery publicly, to all Azure users. |
Copy file name to clipboardExpand all lines: articles/virtual-machines/share-gallery-direct.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,25 +16,24 @@ ms.devlang: azurecli
16
16
17
17
# Share a gallery with subscriptions or tenants (preview)
18
18
19
-
This article covers how to share an Azure Compute Gallery with specific subscriptions or tenants using direct sharing. Sharing a gallery with tenants and subscriptions give them read-only access to your gallery.
19
+
This article covers how to share an Azure Compute Gallery with specific subscriptions or tenants using a direct shared gallery. Sharing a gallery with tenants and subscriptions give them read-only access to your gallery.
20
20
21
21
22
22
> [!IMPORTANT]
23
-
> Azure Compute Gallery – direct sharing is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
23
+
> Azure Compute Gallery – direct shared gallery is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
24
24
>
25
25
> To publish images to a direct shared gallery during the preview, you need to register at [https://aka.ms/directsharedgallery-preview](https://aka.ms/directsharedgallery-preview). Creating VMs from a direct shared gallery is open to all Azure users.
26
26
>
27
27
> During the preview, you need to create a new gallery, with the property `sharingProfile.permissions` set to `Groups`. When using the CLI to create a gallery, use the `--permissions groups` parameter. You can't use an existing gallery, the property can't currently be updated.
28
-
>
29
-
> You can't currently create a Flexible virtual machine scale set from an image shared to you by another tenant.
28
+
30
29
31
30
32
31
There are three main ways to share images in an Azure Compute Gallery, depending on who you want to share with:
33
32
34
33
| Share with\:| Option |
35
34
|----|----|
36
35
|[Specific people, groups, or service principals](./share-gallery.md)| Role-based access control (RBAC) lets you share resources to specific people, groups, or service principals on a granular level. |
37
-
|[Subscriptions or tenants](explained in this article) | Direct sharing lets you share to everyone in a subscription or tenant. |
36
+
|[Subscriptions or tenants](explained in this article) | Direct shared gallery lets you share to everyone in a subscription or tenant. |
38
37
|[Everyone](./share-gallery-community.md)| Community gallery lets you share your entire gallery publicly, to all Azure users. |
39
38
40
39
@@ -44,15 +43,15 @@ During the preview:
44
43
- You can only share to subscriptions that are also in the preview.
45
44
- You can only share to 30 subscriptions and 5 tenants.
46
45
- Only images can be shared. You can't directly share a [VM application](vm-applications.md) during the preview.
47
-
-The gallery using direct sharing can't contain encrypted image versions. Encrypted images can't be created within a gallery that is directly shared.
48
-
-The user or service principal that will share must be a member of the `Owner` role definition. Only an `Owner`at the scope of the gallery or higher will be able to enable group-based sharing.
46
+
-A direct shared gallery can't contain encrypted image versions. Encrypted images can't be created within a gallery that is directly shared.
47
+
-Only the owner of a subscription, or a user or service principal assigned to the `Compute Gallery Sharing Admin` role at the subscription or gallery level will be able to enable group-based sharing.
49
48
- You need to create a new gallery, with the property `sharingProfile.permissions` set to `Groups`. When using the CLI to create a gallery, use the `--permissions groups` parameter. You can't use an existing gallery, the property can't currently be updated.
50
49
- PowerShell, Ansible, and Terraform aren't supported at this time.
51
50
-**Known issue**: When creating a VM from a direct shared image using the Azure portal, if you you select a region, select an image, then change the region, you will get an error message: "You can only create VM in the replication regions of this image: <region>" even when the image is replicated to that region. To get rid of the error, select a different region, then switch back to the region you want. If the image is available, it should clear the error message.
52
51
53
52
## Prerequisites
54
53
55
-
You need to create a [new gallery with direct sharing enabled](./create-gallery.md#create-a-direct-shared-gallery). Direct sharing means that the `sharingProfile.permissions` property is set to `Groups`. When using the CLI to create a gallery, use the `--permissions groups` parameter. You can't use an existing gallery, the property can't currently be updated.
54
+
You need to create a [new direct shared gallery ](./create-gallery.md#create-a-direct-shared-gallery). A direct shared gallery has the `sharingProfile.permissions` property is set to `Groups`. When using the CLI to create a gallery, use the `--permissions groups` parameter. You can't use an existing gallery, the property can't currently be updated.
56
55
### [Portal](#tab/portaldirect)
57
56
58
57
1. Sign in to the Azure portal at https://portal.azure.com.
@@ -61,7 +60,7 @@ You need to create a [new gallery with direct sharing enabled](./create-gallery.
61
60
62
61
### [CLI](#tab/clidirect)
63
62
64
-
To create a gallery that can be shared to a subscription or tenant using direct sharing, you need to create the gallery with the `--permissions` parameter set to `groups`.
63
+
To create a direct shared gallery, you need to create the gallery with the `--permissions` parameter set to `groups`.
Copy file name to clipboardExpand all lines: articles/virtual-machines/share-gallery.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,10 @@ There are three main ways to share images in an Azure Compute Gallery, depending
30
30
| Share with\:| Option |
31
31
|----|----|
32
32
| Specific people, groups, or service principals (described in this article) | Role-based access control (RBAC) lets you share resources to specific people, groups, or service principals on a granular level. |
33
-
|[Subscriptions or tenants](./share-gallery-direct.md)|Direct sharing lets you share to everyone in a subscription or tenant. |
33
+
|[Subscriptions or tenants](./share-gallery-direct.md)|A direct shared gallery lets you share to everyone in a subscription or tenant. |
34
34
|[Everyone](./share-gallery-community.md)| Community gallery lets you share your entire gallery publicly, to all Azure users. |
35
35
36
36
37
-
> [!IMPORTANT]
38
-
> You can't currently create a Flexible virtual machine scale set from an image shared by another tenant.
Copy file name to clipboardExpand all lines: articles/virtual-machines/shared-image-galleries.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,12 +116,11 @@ There are three main ways to share an Azure Compute Gallery, depending on who yo
116
116
| Share with\:| Option |
117
117
|----|----|
118
118
|[Specific people, groups, or service principals](./share-gallery.md)| Role-based access control (RBAC) lets you share resources to specific people, groups, or service principals on a granular level. |
119
-
|[Subscriptions or tenants](./share-gallery-direct.md)|Direct sharing (preview) lets you share to everyone in a subscription or tenant. |
119
+
|[Subscriptions or tenants](./share-gallery-direct.md)|A direct shared gallery (preview) lets you share to everyone in a subscription or tenant. |
120
120
|[Everyone](./share-gallery-community.md)| Community gallery (preview) lets you share your entire gallery publicly, to all Azure users. |
121
121
122
122
123
-
> [!IMPORTANT]
124
-
> You can't currently create a Flexible virtual machine scale set from an image shared by another tenant.
123
+
125
124
## Shallow replication
126
125
127
126
When you create an image version, you can set the replication mode to shallow for development and test. Shallow replication skips copying the image, so the image version is ready much faster. But, it also means you can't deploy a large number of VMs from that image version. This is similar to the way that the older managed images worked.
Copy file name to clipboardExpand all lines: articles/virtual-machines/update-image-resources.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -433,13 +433,12 @@ az sig image-version list-community \
433
433
434
434
435
435
> [!IMPORTANT]
436
-
> Azure Compute Gallery – direct sharing is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
436
+
> Azure Compute Gallery – direct shared gallery is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
437
437
>
438
438
> To publish images to a direct shared gallery during the preview, you need to register at [https://aka.ms/directsharedgallery-preview](https://aka.ms/directsharedgallery-preview). Creating VMs from a direct shared gallery is open to all Azure users.
439
439
>
440
440
> During the preview, you need to create a new gallery, with the property `sharingProfile.permissions` set to `Groups`. When using the CLI to create a gallery, use the `--permissions groups` parameter. You can't use an existing gallery, the property can't currently be updated.
441
-
>
442
-
> You can't currently create a Flexible virtual machine scale set from an image shared to you by another tenant.
441
+
443
442
444
443
445
444
To find the `uniqueID` of a gallery that is shared with you, use [az sig list-shared](/cli/azure/sig/image-definition#az-sig-image-definition-list-shared). In this example, we are looking for galleries in the West US region.
## Create a VM from a gallery shared with your subscription or tenant
526
526
527
527
> [!IMPORTANT]
528
-
> Azure Compute Gallery – direct sharing is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
528
+
> Azure Compute Gallery – direct shared gallery is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
529
529
>
530
530
> To publish images to a direct shared gallery during the preview, you need to register at [https://aka.ms/directsharedgallery-preview](https://aka.ms/directsharedgallery-preview). Creating VMs from a direct shared gallery is open to all Azure users.
531
531
>
532
532
> During the preview, you need to create a new gallery, with the property `sharingProfile.permissions` set to `Groups`. When using the CLI to create a gallery, use the `--permissions groups` parameter. You can't use an existing gallery, the property can't currently be updated.
533
-
>
534
-
> You can't currently create a Flexible virtual machine scale set from an image shared to you by another tenant.
533
+
535
534
536
535
537
536
@@ -586,6 +585,8 @@ az vm create\
586
585
587
586
> [!NOTE]
588
587
> **Known issue**: In the Azure portal, if you you select a region, select an image, then change the region, you will get an error message: "You can only create VM in the replication regions of this image: <region>" even when the image is replicated to that region. To get rid of the error, select a different region, then switch back to the region you want. If the image is available, it should clear the error message.
588
+
>
589
+
> You can also use the Azure CLI to check what images are shared with you. For example, you can use `az sig list-shared --location westus" to see what images are shared with you in the West US region.
589
590
590
591
1. Type **virtual machines** in the search.
591
592
1. Under **Services**, select **Virtual machines**.
Copy file name to clipboardExpand all lines: articles/virtual-machines/vm-specialized-image-version.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,13 +237,12 @@ To create the VM from community gallery image, you must accept the license agree
237
237
## Create a VM from a gallery shared with your subscription or tenant
238
238
239
239
> [!IMPORTANT]
240
-
> Azure Compute Gallery – direct sharing is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
240
+
> Azure Compute Gallery – direct shared gallery is currently in PREVIEW and subject to the [Preview Terms for Azure Compute Gallery](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
241
241
>
242
242
> To publish images to a direct shared gallery during the preview, you need to register at [https://aka.ms/directsharedgallery-preview](https://aka.ms/directsharedgallery-preview). Creating VMs from a direct shared gallery is open to all Azure users.
243
243
>
244
244
> During the preview, you need to create a new gallery, with the property `sharingProfile.permissions` set to `Groups`. When using the CLI to create a gallery, use the `--permissions groups` parameter. You can't use an existing gallery, the property can't currently be updated.
245
-
>
246
-
> You can't currently create a Flexible virtual machine scale set from an image shared to you by another tenant.
245
+
247
246
248
247
249
248
### [CLI](#tab/cli2)
@@ -298,6 +297,8 @@ az vm create\
298
297
299
298
> [!NOTE]
300
299
> **Known issue**: In the Azure portal, if you you select a region, select an image, then change the region, you will get an error message: "You can only create VM in the replication regions of this image: <region>" even when the image is replicated to that region. To get rid of the error, select a different region, then switch back to the region you want. If the image is available, it should clear the error message.
300
+
>
301
+
> You can also use the Azure CLI to check what images are shared with you. For example, you can use `az sig list-shared --location westus" to see what images are shared with you in the West US region.
301
302
302
303
1. Type **virtual machines** in the search.
303
304
1. Under **Services**, select **Virtual machines**.
0 commit comments