【发布时间】:2018-05-14 15:01:16
【问题描述】:
我在生产经典 VM 上遇到了一点问题。我已达到磁盘的最大容量,我需要对其进行扩展。
所以我尝试了:
azure config mode arm
然后
azure vm deallocate --resource-group XXX --name XXX
结果:
info: Executing command vm deallocate
+ Looking up the VM "XXX"
error: Virtual machine "XXX" not found under the resource group "XXX"
error: Error information has been recorded to /home/xyz/.azure/azure.err
error: vm deallocate command failed
我不明白为什么资源组中没有VM,所以我尝试列出资源组中的内容^
azure resource list
结果:
data: /subscriptions/xyz/resourceGroups/XXX/providers/Microsoft.ClassicCompute/virtualMachines/XXX XXX XXX Microsoft.ClassicCompute/virtualMachines westeurope null
所以我有一个 VM,但 Azure 看不到它。
【问题讨论】:
-
你的问题在这里是题外话。您可以在Super User 或Server Fault 上提问。
-
我投票结束这个问题,因为这是关于操作系统虚拟机而不是编程。你应该删除这个并在unix.stackexchange.com上提问
标签: linux azure azure-virtual-machine