Skip to content

Commit f3b579d

Browse files
committed
Feedback from Sanddep
1 parent 327d48a commit f3b579d

9 files changed

+31
-35
lines changed

articles/virtual-machines/azure-compute-gallery.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ There are three main ways to share images in an Azure Compute Gallery, depending
8989
| Share with\: | Option |
9090
|----|----|
9191
| [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. |
9393
| [Everyone](#community-gallery) | Community gallery (preview) lets you share your entire gallery publicly, to all Azure users. |
9494

9595
### RBAC
@@ -106,12 +106,12 @@ We recommend sharing at the Gallery level for the best experience. We do not rec
106106
For more information, see [Share using RBAC](./share-gallery.md).
107107

108108

109-
### Direct sharing to a tenant or subscription
109+
### Shared directly to a tenant or subscription
110110

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).
112112

113113
> [!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/).
115115
>
116116
> 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.
117117
@@ -124,8 +124,8 @@ Give specific subscriptions or tenants access to an Azure Compute Gallery using
124124
During the preview:
125125
- You can only share to subscriptions that are also in the preview.
126126
- 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.
129129
- 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.
130130

131131
### Community gallery

articles/virtual-machines/create-gallery.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The gallery is a top-level resource that can be shared in multiple ways:
2626
| Share with\: | Option |
2727
|----|----|
2828
| [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. |
3030
| [Everyone](#create-a-community-gallery) | Community gallery (preview) lets you share your entire gallery publicly, to all Azure users. |
3131

3232
## Naming
@@ -112,7 +112,7 @@ PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{
112112
## Create a direct shared gallery
113113

114114
> [!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/).
116116
>
117117
> 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.
118118
>
@@ -139,7 +139,7 @@ To start sharing the gallery with a subscription or tenant, use see [Share a gal
139139

140140
### [CLI](#tab/clidirect)
141141

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`.
143143

144144
```azurecli-interactive
145145
az sig create \

articles/virtual-machines/share-gallery-community.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ There are three main ways to share images in an Azure Compute Gallery, depending
3636
| Share with\: | Option |
3737
|----|----|
3838
| [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. |
4040
| Everyone (described in this article) | Community gallery lets you share your entire gallery publicly, to all Azure users. |
4141

4242
## Limitations for images shared to the community

articles/virtual-machines/share-gallery-direct.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,24 @@ ms.devlang: azurecli
1616

1717
# Share a gallery with subscriptions or tenants (preview)
1818

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.
2020

2121

2222
> [!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/).
2424
>
2525
> 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.
2626
>
2727
> 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+
3029

3130

3231
There are three main ways to share images in an Azure Compute Gallery, depending on who you want to share with:
3332

3433
| Share with\: | Option |
3534
|----|----|
3635
| [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. |
3837
| [Everyone](./share-gallery-community.md) | Community gallery lets you share your entire gallery publicly, to all Azure users. |
3938

4039

@@ -44,15 +43,15 @@ During the preview:
4443
- You can only share to subscriptions that are also in the preview.
4544
- You can only share to 30 subscriptions and 5 tenants.
4645
- 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.
4948
- 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.
5049
- PowerShell, Ansible, and Terraform aren't supported at this time.
5150
- **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.
5251

5352
## Prerequisites
5453

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.
5655
### [Portal](#tab/portaldirect)
5756

5857
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.
6160

6261
### [CLI](#tab/clidirect)
6362

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`.
6564

6665
```azurecli-interactive
6766
az sig create \

articles/virtual-machines/share-gallery.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,10 @@ There are three main ways to share images in an Azure Compute Gallery, depending
3030
| Share with\: | Option |
3131
|----|----|
3232
| 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. |
3434
| [Everyone](./share-gallery-community.md) | Community gallery lets you share your entire gallery publicly, to all Azure users. |
3535

3636

37-
> [!IMPORTANT]
38-
> You can't currently create a Flexible virtual machine scale set from an image shared by another tenant.
39-
4037
## Share using RBAC
4138

4239
### [Portal](#tab/portal)

articles/virtual-machines/shared-image-galleries.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,11 @@ There are three main ways to share an Azure Compute Gallery, depending on who yo
116116
| Share with\: | Option |
117117
|----|----|
118118
|[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. |
120120
| [Everyone](./share-gallery-community.md) | Community gallery (preview) lets you share your entire gallery publicly, to all Azure users. |
121121

122122

123-
> [!IMPORTANT]
124-
> You can't currently create a Flexible virtual machine scale set from an image shared by another tenant.
123+
125124
## Shallow replication
126125

127126
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.

articles/virtual-machines/update-image-resources.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,13 +433,12 @@ az sig image-version list-community \
433433

434434

435435
> [!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/).
437437
>
438438
> 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.
439439
>
440440
> 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+
443442

444443

445444
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.

articles/virtual-machines/vm-generalized-image-version.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -525,13 +525,12 @@ https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{rg}/
525525
## Create a VM from a gallery shared with your subscription or tenant
526526

527527
> [!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/).
529529
>
530530
> 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.
531531
>
532532
> 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+
535534

536535

537536

@@ -586,6 +585,8 @@ az vm create\
586585

587586
> [!NOTE]
588587
> **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.
589590
590591
1. Type **virtual machines** in the search.
591592
1. Under **Services**, select **Virtual machines**.

articles/virtual-machines/vm-specialized-image-version.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,12 @@ To create the VM from community gallery image, you must accept the license agree
237237
## Create a VM from a gallery shared with your subscription or tenant
238238

239239
> [!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/).
241241
>
242242
> 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.
243243
>
244244
> 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+
247246

248247

249248
### [CLI](#tab/cli2)
@@ -298,6 +297,8 @@ az vm create\
298297

299298
> [!NOTE]
300299
> **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.
301302
302303
1. Type **virtual machines** in the search.
303304
1. Under **Services**, select **Virtual machines**.

0 commit comments

Comments
 (0)