VMware Cloud Director API - GET-VmsDiskAttachedTo
GET /disk/{id}/attachedVms
- Operation:
- GET /disk/{id}/attachedVms
- Description:
- Retrieve a list of all VMs attached to a disk.
- Since:
- 5.1
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
{@link JAXBElement
}
- Produce media type(s):
-
application/vnd.vmware.vcloud.vms+xml
application/vnd.vmware.vcloud.vms+json
- Output type:
- VmsType
- Examples
-
- Request
-
HTTP 1.1
GET /api/disk/e8b2b752-21ca-4cb9-80f6-a55ef1a81eec/attachedVms
Headers:
x-vcloud-authorization: eVBkZn2wahPAU+IvbURo7ekslpuoHERMB2DZEFlJuHs=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 373
Content-Type: application/vnd.vmware.vcloud.vms+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><Vms
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/disk/e8b2b752-21ca-4cb9-80f6-a55ef1a81eec"
type="application/vnd.vmware.vcloud.vms+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd"/>