Open alexn-orca opened 1 month ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3 @TravisCragg-MSFT.
Thanks for the feedback, we’ll investigate asap.
@ChenxiJiang333 Please help on this issue.
got it
Hi @alexn-orca, you can now call the new api in Python SDK through this sample: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/compute/azure-mgmt-compute/generated_samples/virtual_machine_examples/virtual_machine_attach_detach_data_disks_maximum_set_gen.py.
On the 18th of October Azure introduced the new APIs for attaching and detaching data disks for VMs and VMSS.
I would like to have wrappers on those APIs available in Azure python SDK, to me able to attach/detach data volumes without calling update VM operation.
Currently I do this:
What I want to be able to do:
async_disk_attach = await compute_client.virtual_machines.attach_volume(rg_name, vm_name, volumes)