【发布时间】:2021-11-28 18:40:27
【问题描述】:
我正在尝试使用 Python vCenter API 获取 VMware VM 的 UUID。
我正在阅读 GET VM API 文档here。它说它应该在响应中,但是当我运行 get API 时,我没有在响应中获得身份。任何人都知道为什么它没有在响应负载中返回身份?
"identity": {
"bios_uuid": "string",
"instance_uuid": "string",
"name": "string"
}
我正在使用的 API https://{api_host}/rest/vcenter/vm/{vm}
【问题讨论】: