Skip to content

Commit 9a387f3

Browse files
Learn Editor: Update virtual-machine-scale-sets-use-availability-zones.md
1 parent 5a42255 commit 9a387f3

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-use-availability-zones.md

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,12 @@ You must register for four feature flags on your subscription:
178178

179179
### [Azure CLI](#tab/cli-1)
180180

181+
181182
```azurecli
182183
az feature register --namespace Microsoft.Compute --name VmssAllowRegionalToZonalMigration
183184
az feature register --namespace Microsoft.Compute --name VmssAllowExpansionOfAvailabilityZones
184-
az feature register --namespace Microsoft.Compute --name EnableVmssFlexExpansionOfAvailabilityZones
185-
az feature register --namespace Microsoft.Compute --name EnableVmssFlexRegionalToZonalMigration
185+
az feature register --namespace Microsoft.Compute --name VmssFlexAllowExpansionOfAvailabilityZones
186+
az feature register --namespace Microsoft.Compute --name VmssFlexAllowRegionalToZonalMigration
186187
```
187188

188189
You can check the registration status of each feature by using:
@@ -193,11 +194,12 @@ az feature show --namespace Microsoft.Compute --name \<feature-name\>
193194

194195
### [Azure PowerShell](#tab/powershell-1)
195196

197+
196198
```powershell
197199
Register-AzProviderPreviewFeature -Name VmssAllowRegionalToZonalMigration -ProviderNamespace Microsoft.Compute
198200
Register-AzProviderPreviewFeature -Name VmssAllowExpansionOfAvailabilityZones -ProviderNamespace Microsoft.Compute
199-
Register-AzProviderPreviewFeature -Name EnableVmssFlexExpansionOfAvailabilityZones -ProviderNamespace Microsoft.Compute
200-
Register-AzProviderPreviewFeature -Name EnableVmssFlexRegionalToZonalMigration -ProviderNamespace Microsoft.Compute
201+
Register-AzProviderPreviewFeature -Name VmssFlexAllowExpansionOfAvailabilityZones -ProviderNamespace Microsoft.Compute
202+
Register-AzProviderPreviewFeature -Name VmssFlexAllowRegionalToZonalMigration -ProviderNamespace Microsoft.Compute
201203
```
202204

203205
You can check the registration status of each feature by using:
@@ -212,6 +214,7 @@ You can update the scale set to scale out instances to one or more additional av
212214

213215
> [!IMPORTANT]
214216
> When you expand the scale set to additional zones, the original instances are not migrated or changed. When you scale out, new instances will be created and spread evenly across the selected availability zones. When you scale in the scale set, any regional instances will be priorized for removal first. After that, instances will be removed based on the [scale in policy](virtual-machine-scale-sets-scale-in-policy.md).
217+
215218
Expanding to a zonal scale set is done in 3 steps:
216219

217220
1. Prepare for zonal expansion
@@ -322,3 +325,24 @@ Now that you have created a scale set in an Availability Zone, you can learn how
322325

323326

324327

328+
329+
330+
331+
332+
333+
334+
335+
336+
337+
338+
339+
340+
341+
342+
343+
344+
345+
346+
347+
348+

0 commit comments

Comments
 (0)