Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version
) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)
pip / OS X Sierra / zsh
STR:
az vm stop
EXPECTED:
ACTUAL:
az disk update -g aks-underlay-svc --name k8s-master-18898983-1-etcddisk -z 4000
Cannot resize disk k8s-master-18898983-1-etcddisk while it is attached to running VM /subscriptions/.../resourceGroups/aks-underlay-svc /providers/Microsoft.Compute/virtualMachines/k8s-master-18898983-1.
This is different behavior than stopping a VM in the Portal, which appears to actually stop the machine.
@seanknox The portal actually de-allocates the VM, rather just powers off. There is inconsistency here which I will clarify with the portal folks. At the same time, you can use az vm deallocate
.
Is this the same as https://github.com/Azure/azure-cli/issues/3026?
Let us keep on using #3026 for tracking. Closing this one...
Most helpful comment
Is this the same as https://github.com/Azure/azure-cli/issues/3026?