我正在尝试使用Nutanix REST API找到VMS存储容器关系,但无法获得。我尝试过V2.0和V3 API。
在“VMS / LIST”V3 API中,我们确实为每个VM获取“disk_list”,但我没有在'vdisk'或virtual_disks apis中看到这些vdisks(v2)。
此外,在“VMS / LIST”输出中也不是Storage_Containers,因此我很难找到相关性。
请帮忙。
最好的答案Conradcorbett.
\n\nThis will return vm_disk_info with storage_container_uuid for each VM.
\n
\nI think an alternative would be to do a GET \/virtual_disks\/. This will list all of the virtual disks on the cluster and provides the attached_vmname and storage_container_uuid for each virtual disk.","className":"post__content__best_answer"}">