VMware Cloud Director API - GET-NetworkPool

VMware Cloud Director API - GET-NetworkPool

GET /admin/extension/networkPool/{id}

Operation:
GET /admin/extension/networkPool/{id}
Description:
Retrieve a network pool.
Since:
0.9
Deprecated:
35.0
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
VMWNetworkPool

Produce media type(s):
application/vnd.vmware.admin.vmwNetworkPool+xml
application/vnd.vmware.admin.vmwNetworkPool+json
Output type:
VMWNetworkPoolType
Examples
Request
HTTP 1.1
GET /api/admin/extension/networkPool/7a037b2b-bac9-412e-9989-f44cb2bf5125

Headers:
x-vcloud-authorization: X600Twh81GezzqBm3B3GXTe8r9U8+U5kIrA3X4H2ctE=

Body:
Response
HTTP/1.1 200 OK

Headers:
Content-Length: 1976
Content-Type: application/vnd.vmware.admin.vmwnetworkpool+xml;version=5.1
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:VMWNetworkPool
    xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
    xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    href="https://vcloud.example.com/api/admin/extension/networkPool/7a037b2b-bac9-412e-9989-f44cb2bf5125"
    id="urn:vcloud:networkpool:7a037b2b-bac9-412e-9989-f44cb2bf5125"
    name="Portgroup-backed-net-pool"
    status="1"
    type="application/vnd.vmware.admin.networkPool+xml"
    xsi:schemaLocation="http://www.vmware.com/vcloud/extension/v1.5 http://https://vcloud.example.com/api/v1.5/schema/vmwextensions.xsd http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd"
    xsi:type="vmext:PortGroupPoolType">
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/extension/networkPoolReferences"
        rel="up"
        type="application/vnd.vmware.admin.vmwNetworkPoolReferences+xml"/>
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/extension/networkPool/7a037b2b-bac9-412e-9989-f44cb2bf5125"
        rel="edit"
        type="application/vnd.vmware.admin.networkPool+xml"/>
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/extension/networkPool/7a037b2b-bac9-412e-9989-f44cb2bf5125"
        rel="remove"/>
    <vcloud:Description>Example portgroup-backed network pool</vcloud:Description>
    <vmext:PortGroupRefs>
        <vmext:VimObjectRef>
            <vmext:VimServerRef
                href="https://vcloud.example.com/api/admin/extension/vimServer/3691f5d6-32eb-44f6-804a-1d30d17068c3"
                type="application/vnd.vmware.admin.vmwvirtualcenter+xml"/>
            <vmext:MoRef>dvportgroup-47</vmext:MoRef>
            <vmext:VimObjectType>DV_PORTGROUP</vmext:VimObjectType>
        </vmext:VimObjectRef>
    </vmext:PortGroupRefs>
    <vmext:VimServer
        href="https://vcloud.example.com/api/admin/extension/vimServer/3691f5d6-32eb-44f6-804a-1d30d17068c3"
        type="application/vnd.vmware.admin.vmwvirtualcenter+xml"/>
    <vmext:UsedNetworksCount>0</vmext:UsedNetworksCount>
</vmext:VMWNetworkPool>