VMware Cloud Director API - GET-ProviderVdcStorageProfile-ExtensionView

VMware Cloud Director API - GET-ProviderVdcStorageProfile-ExtensionView

GET /admin/extension/pvdcStorageProfile/{id}

Operation:
GET /admin/extension/pvdcStorageProfile/{id}
Description:
Retrieve provider vDC storage profile details.
Since:
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
ProviderVdcStorageClassType representation of storage profile referred by storageClassId

Produce media type(s):
application/vnd.vmware.admin.vmwPvdcStorageProfile+xml
application/vnd.vmware.admin.vmwPvdcStorageProfile+json
Output type:
VMWProviderVdcStorageProfileType
Examples
Request
HTTP 1.1
GET /api/admin/extension/pvdcStorageProfile/468ed24c-fdc3-4535-83a9-3f5e198b66be

Headers:
x-vcloud-authorization: jlfBniGOkcjcw1qWDpCYp6dhBJZ4LQW0m5Sp7UjZ/Vg=

Body:
Response
HTTP/1.1 200 OK

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

Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:VMWProviderVdcStorageProfile
    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/pvdcStorageProfile/468ed24c-fdc3-4535-83a9-3f5e198b66be"
    id="urn:vcloud:providervdcstorageprofile:468ed24c-fdc3-4535-83a9-3f5e198b66be"
    name="profile"
    type="application/vnd.vmware.admin.vmwPvdcStorageProfile+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">
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/extension/providervdc/c54da61a-258f-457a-9fe4-45fa437901f7"
        rel="up"
        type="application/vnd.vmware.admin.vmwprovidervdc+xml"/>
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/pvdcStorageProfile/468ed24c-fdc3-4535-83a9-3f5e198b66be"
        rel="alternate"
        type="application/vnd.vmware.admin.pvdcStorageProfile+xml"/>
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/extension/pvdcStorageProfile/468ed24c-fdc3-4535-83a9-3f5e198b66be"
        rel="edit"
        type="application/vnd.vmware.admin.vmwPvdcStorageProfile+xml"/>
    <vcloud:Enabled>true</vcloud:Enabled>
    <vcloud:Units>MB</vcloud:Units>
    <vcloud:CapacityTotal>3072.0</vcloud:CapacityTotal>
    <vcloud:CapacityUsed>893.0</vcloud:CapacityUsed>
    <vmext:VimStorageProfile>
        <vmext:VimServerRef
            href="https://vcloud.example.com/api/admin/extension/vimServer/5b2f648b-9da7-4d7b-8212-6ed8a83f2102"
            name="ConfigWizard Configured vCenter"
            type="application/vnd.vmware.admin.vmwvirtualcenter+xml"/>
        <vmext:MoRef>storageProfile-85D02630-5F9B-43C1-A1FE-CB6B2335EB7F</vmext:MoRef>
        <vmext:VimObjectType>STORAGE_PROFILE</vmext:VimObjectType>
    </vmext:VimStorageProfile>
</vmext:VMWProviderVdcStorageProfile>