I'm using the ComputeManagementClient in Azure's Python SDK to create a virtual machine. (Specifically, begin_start in VirtualMachinesOperations, found here.) However, I don't see an option to specify an availability zone -- only the resouce_group_name.
Is there some way to specify the availability zone when creating the VMs?
I've gone through the docs but I can't seem to find any mention of this functionality. I do know the Azure CLI supports this -- unsure why the SDK doesn't.
I created a VM through Azure Python SDK with a specified availability zone.
Code:
Output: