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
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
-
46
34
### Get started
47
35
48
36
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
52
40
In the following samples, replace example parameter names such as *myResourceGroup* and *myVM* with your own values.
53
41
54
42
> [!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.
56
44
57
45
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*:
> 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.
51
39
52
40
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.
53
41
1. In the left menu under **Settings**, select **Disks**.
> 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.
0 commit comments