Skip to content

Commit b519b02

Browse files
Merge pull request #210541 from roygara/liFlag
Removing feature registration.
2 parents 0f9b527 + 92a8f57 commit b519b02

File tree

2 files changed

+5
-29
lines changed

2 files changed

+5
-29
lines changed

articles/virtual-machines/linux/expand-disks.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: roygara
55
ms.service: storage
66
ms.collection: linux
77
ms.topic: how-to
8-
ms.date: 08/23/2022
8+
ms.date: 09/08/2022
99
ms.author: rogarana
1010
ms.subservice: disks
1111
ms.custom: references_regions, ignite-fall-2021, devx-track-azurecli
@@ -31,18 +31,6 @@ This feature has the following limitations:
3131

3232
[!INCLUDE [virtual-machines-disks-expand-without-downtime-restrictions](../../../includes/virtual-machines-disks-expand-without-downtime-restrictions.md)]
3333

34-
To register for the feature, use the following command:
35-
36-
```azurecli
37-
az feature register --namespace Microsoft.Compute --name LiveResize
38-
```
39-
40-
It may take a few minutes for registration to take complete. To confirm that you've registered, use the following command:
41-
42-
```azurecli
43-
az feature show --namespace Microsoft.Compute --name LiveResize
44-
```
45-
4634
### Get started
4735

4836
Make sure that you have the latest [Azure CLI](/cli/azure/install-az-cli2) installed and are signed in to an Azure account by using [az login](/cli/azure/reference-index#az-login).
@@ -52,7 +40,7 @@ This article requires an existing VM in Azure with at least one data disk attach
5240
In the following samples, replace example parameter names such as *myResourceGroup* and *myVM* with your own values.
5341

5442
> [!IMPORTANT]
55-
> If you've enabled **LiveResize** and your disk meets the requirements in [Expand without downtime](#expand-without-downtime), you can skip step 1 and 3.
43+
> If your disk meets the requirements in [Expand without downtime](#expand-without-downtime), you can skip step 1 and 3.
5644
5745
1. Operations on virtual hard disks can't be performed with the VM running. Deallocate your VM with [az vm deallocate](/cli/azure/vm#az-vm-deallocate). The following example deallocates the VM named *myVM* in the resource group named *myResourceGroup*:
5846

articles/virtual-machines/windows/expand-os-disk.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: roshar
66
ms.service: storage
77
ms.collection: windows
88
ms.topic: article
9-
ms.date: 08/23/2022
9+
ms.date: 09/08/2022
1010
ms.author: kirpas
1111
ms.subservice: disks
1212
ms.custom: devx-track-azurepowershell, references_regions, ignite-fall-2021
@@ -32,22 +32,10 @@ This feature has the following limitations:
3232

3333
[!INCLUDE [virtual-machines-disks-expand-without-downtime-restrictions](../../../includes/virtual-machines-disks-expand-without-downtime-restrictions.md)]
3434

35-
To register for the feature, use the following command:
36-
37-
```azurepowershell
38-
Register-AzProviderFeature -FeatureName "LiveResize" -ProviderNamespace "Microsoft.Compute"
39-
```
40-
41-
It may take a few minutes for registration to complete. To confirm that you've registered, use the following command:
42-
43-
```azurepowershell
44-
Get-AzProviderFeature -FeatureName "LiveResize" -ProviderNamespace "Microsoft.Compute"
45-
```
46-
4735
## Resize a managed disk in the Azure portal
4836

4937
> [!IMPORTANT]
50-
> If you've enabled **LiveResize** and your disk meets the requirements in [Expand without downtime](#expand-without-downtime), you can skip step 1.
38+
> If your disk meets the requirements in [Expand without downtime](#expand-without-downtime), you can skip step 1.
5139
5240
1. In the [Azure portal](https://portal.azure.com/), go to the virtual machine in which you want to expand the disk. Select **Stop** to deallocate the VM.
5341
1. In the left menu under **Settings**, select **Disks**.
@@ -102,7 +90,7 @@ $vm = Get-AzVM -ResourceGroupName $rgName -Name $vmName
10290
```
10391

10492
> [!IMPORTANT]
105-
> If you've enabled **LiveResize** and your disk meets the requirements in [expand without downtime](#expand-without-downtime), you can skip step 4 and 6.
93+
> If your disk meets the requirements in [expand without downtime](#expand-without-downtime), you can skip step 4 and 6.
10694
10795
Stop the VM before resizing the disk:
10896

0 commit comments

Comments
 (0)