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/shared-image-galleries.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,15 +223,15 @@ To list all the Azure Compute Gallery resources across subscriptions that you ha
223
223
1. Look for resources of the **Azure Compute Gallery** type.
224
224
225
225
226
-
####[Azure CLI](#tab/azure-cli)
226
+
# [Azure CLI](#tab/azure-cli)
227
227
228
228
To list all the Azure Compute Gallery resources, across subscriptions that you have permissions to, use the following command in the Azure CLI:
229
229
230
230
```azurecli
231
231
az account list -otsv --query "[].id" | xargs -n 1 az sig list --subscription
232
232
```
233
233
234
-
####[Azure PowerShell](#tab/azure-powershell)
234
+
# [Azure PowerShell](#tab/azure-powershell)
235
235
236
236
To list all the Azure Compute Gallery resources, across subscriptions that you have permissions to, use the following command in the Azure PowerShell:
237
237
@@ -304,15 +304,15 @@ There are two ways you can specify the number of image version replicas to be cr
304
304
1. The regional replica count which specifies the number of replicas you want to create per region.
305
305
2. The common replica count which is the default per region count in case regional replica count isn't specified.
306
306
307
-
####[Azure CLI](#tab/azure-cli)
307
+
# [Azure CLI](#tab/azure-cli)
308
308
309
309
To specify the regional replica count, pass the location along with the number of replicas you want to create in that region: "South Central US=2".
310
310
311
311
If regional replica count isn't specified with each location, then the default number of replicas will be the common replica count that you specified.
312
312
313
313
To specify the common replica count in Azure CLI, use the **--replica-count** argument in the `az sig image-version create` command.
314
314
315
-
####[Azure PowerShell](#tab/azure-powershell)
315
+
# [Azure PowerShell](#tab/azure-powershell)
316
316
317
317
To specify the regional replica count, pass the location along with the number of replicas you want to create in that region, `@{Name = 'South Central US';ReplicaCount = 2}`, to the **-TargetRegion** parameter in the `New-AzGalleryImageVersion` command.
0 commit comments