VMware Cloud Director API - GET-VdcsForProviderVdc
GET /admin/providervdc/{id}/vdcReferences
- Operation:
- GET /admin/providervdc/{id}/vdcReferences
- Description:
-
Retrieve a list of organization vDCs supported by a given provider vDC.
Resources from the provider vDC are allocated across all organization vDCs in the list.
- Since:
- 1.0
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
VdcReferencesType
- Produce media type(s):
-
application/vnd.vmware.admin.vdcReferences+xml
application/vnd.vmware.admin.vdcReferences+json
- Output type:
- VdcReferencesType
- Examples
-
- Request
-
HTTP 1.1
GET /api/admin/providervdc/c3c23d71-c49a-4886-94ec-8e6ffec9fe50/vdcReferences
Headers:
x-vcloud-authorization: yTl8fuPmY9lrmxCfSncDRjaahpN2UR/OsXwLizTQhUk=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 646
Content-Type: application/vnd.vmware.admin.vdcReferences+xml; version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?>
<VdcReferences
xmlns="http://www.vmware.com/vcloud/v1.5"
type="application/vnd.vmware.admin.vdcReferences+xml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://vcloud.example.com/api/v1.5/schema/master.xsd">
<Link
rel="up"
type="application/vnd.vmware.admin.providervdc+xml"
href="https://vcloud.example.com/api/admin/providervdc/c3c23d71-c49a-4886-94ec-8e6ffec9fe50"/>
<VdcReference
type="application/vnd.vmware.admin.vdc+xml"
name="Default vDC"
href="https://vcloud.example.com/api/admin/vdc/ba33b200-a5b4-45ea-9b95-b11f45626f6f"/>
</VdcReferences>