View Fault and Update Domains of virtual machine in Azure through Python Script

后端 未结 1 1794
借酒劲吻你
借酒劲吻你 2021-01-24 17:58

Is there any way i can get the update domain and fault domain of the particular vm through python script.

I don\'t want to use powershell commands.

<< I

相关标签:
1条回答
  • 2021-01-24 18:19

    Maybe you could use the following command

    az vm show -g yourgroup -n vmname --expand instanceView

    You could get your VM's platformFaultDomain and platformUpdateDomain

    0 讨论(0)
提交回复
热议问题