我在Azure中有一个云服务,其中包含一个VM。我想部署另一个虚拟机。
获取可在同一云服务中部署的兼容vm大小列表的api是什么?
我不想有以下例外:
Hyak.Common.CloudException: Compute.CannotUpgradeDeploymentToNewRoleSize : Unable to upgrade the deployment. The requested VM size 'Standard_D4' may not be available in the resources supporting the existing deployment. ..
发布于 2016-07-17 23:48:19
@ivan_petrushenko,我认为您想要获得在同一云服务中部署的兼容vm大小列表的API是下面列表中的一个。
根据用于调整现有VM大小的troubleshooting,您可以尝试先停止VM,然后开始调整VM大小。
作为参考,有一个来自ServerFault的类似thread,即回答方有一个介绍了VM大小更改注意事项的blog。同时,来自MS合作伙伴的blog显示了有关所有调整配置路径的表。
更新:Allocation scenario: Resize a VM or add VMs or role instances to an existing cloud service部分解释了您的问题。
https://stackoverflow.com/questions/38373160
复制相似问题