VMware Cloud Director API - GET-VdcStorageClassMetadata-AdminView

VMware Cloud Director API - GET-VdcStorageClassMetadata-AdminView

GET /admin/vdcStorageProfile/{id}/metadata

Operation:
GET /admin/vdcStorageProfile/{id}/metadata
Description:
Retrieve metadata associated with the vDC storage profile.
Since:
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
{@link JAXBElement }

Produce media type(s):
application/vnd.vmware.vcloud.metadata+xml
application/vnd.vmware.vcloud.metadata+json
Output type:
MetadataType
Examples
Request
HTTP 1.1
GET /api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f/metadata

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

Body:
Response
HTTP/1.1 200 OK

Headers:
Content-Length: 1700
Content-Type: application/vnd.vmware.vcloud.metadata+xml;version=5.5
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?><Metadata
    xmlns="http://www.vmware.com/vcloud/v1.5"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f/metadata"
    type="application/vnd.vmware.vcloud.metadata+xml"
    xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
    <Link
        href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f"
        rel="up"
        type="application/vnd.vmware.admin.vdcStorageProfile+xml"/>
    <Link
        href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f/metadata"
        rel="add"
        type="application/vnd.vmware.vcloud.metadata+xml"/>
    <MetadataEntry
        href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f/metadata/SYSTEM/key"
        type="application/vnd.vmware.vcloud.metadata.value+xml">
        <Link
            href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f/metadata"
            rel="up"
            type="application/vnd.vmware.vcloud.metadata+xml"/>
        <Link
            href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f/metadata/SYSTEM/key"
            rel="edit"
            type="application/vnd.vmware.vcloud.metadata.value+xml"/>
        <Link
            href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f/metadata/SYSTEM/key"
            rel="remove"/>
        <Domain
            visibility="PRIVATE">SYSTEM</Domain>
        <Key>key</Key>
        <TypedValue
            xsi:type="MetadataNumberValue">
            <Value>1000</Value>
        </TypedValue>
    </MetadataEntry>
</Metadata>