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
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
platformFaultDomain
platformUpdateDomain