VMware Cloud Director API - GET-ProviderVdc

VMware Cloud Director API - GET-ProviderVdc

GET /admin/providervdc/{id}

Operation:
GET /admin/providervdc/{id}
Description:
Retrieve a provider vDC.
Since:
0.9
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
ProviderVdcType

Produce media type(s):
application/vnd.vmware.admin.providervdc+xml
application/vnd.vmware.admin.providervdc+json
Output type:
ProviderVdcType
Examples
Request
HTTP 1.1
GET /api/admin/providervdc/c3c23d71-c49a-4886-94ec-8e6ffec9fe50

Headers:
x-vcloud-authorization: yTl8fuPmY9lrmxCfSncDRjaahpN2UR/OsXwLizTQhUk=

Body:
Response
HTTP/1.1 200 OK

Headers:
Content-Length: 2214
Content-Type: application/vnd.vmware.admin.providervdc+xml; version=5.5
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?>
<ProviderVdc
    xmlns="http://www.vmware.com/vcloud/v1.5"
    status="1"
    name="Default vDC"
    id="urn:vcloud:providervdc:c3c23d71-c49a-4886-94ec-8e6ffec9fe50"
    type="application/vnd.vmware.admin.providervdc+xml"
    href="https://vcloud.example.com/api/admin/providervdc/c3c23d71-c49a-4886-94ec-8e6ffec9fe50"
    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.vcloud+xml"
        href="https://vcloud.example.com/api/admin/"/>
    <Link
        rel="down"
        type="application/vnd.vmware.admin.vdcReferences+xml"
        href="https://vcloud.example.com/api/admin/providervdc/c3c23d71-c49a-4886-94ec-8e6ffec9fe50/vdcReferences"/>
    <Link
        rel="down"
        type="application/vnd.vmware.vcloud.metadata+xml"
        href="https://vcloud.example.com/api/admin/providervdc/c3c23d71-c49a-4886-94ec-8e6ffec9fe50/metadata"/>
    <Description>Default Provider vDC</Description>
    <ComputeCapacity>
        <Cpu>
            <Units>MHz</Units>
            <Allocation>0</Allocation>
            <Total>0</Total>
            <Used>0</Used>
            <Overhead>0</Overhead>
        </Cpu>
        <Memory>
            <Units>MB</Units>
            <Allocation>0</Allocation>
            <Total>0</Total>
            <Used>0</Used>
            <Overhead>0</Overhead>
        </Memory>
    </ComputeCapacity>
    <AvailableNetworks>
        <Network
            type="application/vnd.vmware.admin.network+xml"
            name="VM Network"
            href="https://vcloud.example.com/api/admin/network/426fdde5-48e8-4e03-b8fa-7c5323f25ed7"/>
    </AvailableNetworks>
    <StorageProfiles>
        <ProviderVdcStorageProfile
            type="application/vnd.vmware.admin.pvdcStorageProfile+xml"
            name="*"
            href="https://vcloud.example.com/api/admin/pvdcStorageProfile/fcf3c99b-bb25-4739-b41e-f27321438bf7"/>
    </StorageProfiles>
    <Capabilities>
        <SupportedHardwareVersions>
            <SupportedHardwareVersion>vmx-04</SupportedHardwareVersion>
            <SupportedHardwareVersion>vmx-07</SupportedHardwareVersion>
        </SupportedHardwareVersions>
    </Capabilities>
    <IsEnabled>true</IsEnabled>
    <NetworkPoolReferences/>
</ProviderVdc>