VMware Cloud Director API - PUT-VdcStorageProfile

VMware Cloud Director API - PUT-VdcStorageProfile

PUT /admin/vdcStorageProfile/{id}

Operation:
PUT /admin/vdcStorageProfile/{id}
Description:
Updates a single storage profile with user supplied data
Since:
Input parameters
Consume media type(s):
application/vnd.vmware.admin.vdcStorageProfile+xml
application/vnd.vmware.admin.vdcStorageProfile+json
Input type:
AdminVdcStorageProfileType
Output parameters
Updated representation of the storage profile

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

Headers:
Content-Length: 1388
Content-Type: application/vnd.vmware.admin.vdcStorageProfile+xml; charset=ISO-8859-1
x-vcloud-authorization: jlfBniGOkcjcw1qWDpCYp6dhBJZ4LQW0m5Sp7UjZ/Vg=

Body:
<?xml version="1.0" encoding="UTF-8"?><vcloud:AdminVdcStorageProfile
    xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
    href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f"
    id="urn:vcloud:vdcstorageProfile:eb6aacbd-f0d8-4a07-8248-1de28151e98f"
    name="profile"
    operationKey="operation key"
    type="application/vnd.vmware.admin.vdcStorageProfile+xml">
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f"
        rel="edit"
        type="application/vnd.vmware.vcloud.vdcStorageProfile+xml"/>
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/vdc/afaafb99-228c-4838-ad07-5bf3aa649d42"
        rel="up"
        type="application/vnd.vmware.admin.vdc+xml"/>
    <vcloud:Link
        href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f/metadata"
        rel="down"
        type="application/vnd.vmware.vcloud.metadata+xml"/>
    <vcloud:Description>Some description</vcloud:Description>
    <vcloud:Enabled>false</vcloud:Enabled>
    <vcloud:Units>MB</vcloud:Units>
    <vcloud:Limit>301</vcloud:Limit>
    <vcloud:Default>false</vcloud:Default>
    <vcloud:ProviderVdcStorageProfile
        href="https://vcloud.example.com/api/admin/pvdcStorageProfile/468ed24c-fdc3-4535-83a9-3f5e198b66be"
        name="profile"
        type="application/vnd.vmware.admin.pvdcStorageProfile+xml"/>
</vcloud:AdminVdcStorageProfile>
Response
HTTP/1.1 200 OK

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

Body:
<?xml version="1.0" encoding="UTF-8"?><AdminVdcStorageProfile
    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"
    id="urn:vcloud:vdcstorageProfile:eb6aacbd-f0d8-4a07-8248-1de28151e98f"
    name="profile"
    operationKey="operation key"
    type="application/vnd.vmware.admin.vdcStorageProfile+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="edit"
        type="application/vnd.vmware.vcloud.vdcStorageProfile+xml"/>
    <Link
        href="https://vcloud.example.com/api/admin/vdc/afaafb99-228c-4838-ad07-5bf3aa649d42"
        rel="up"
        type="application/vnd.vmware.admin.vdc+xml"/>
    <Link
        href="https://vcloud.example.com/api/admin/vdcStorageProfile/eb6aacbd-f0d8-4a07-8248-1de28151e98f/metadata"
        rel="down"
        type="application/vnd.vmware.vcloud.metadata+xml"/>
    <Description>Some description</Description>
    <Enabled>false</Enabled>
    <Units>MB</Units>
    <Limit>301</Limit>
    <Default>false</Default>
    <ProviderVdcStorageProfile
        href="https://vcloud.example.com/api/admin/pvdcStorageProfile/468ed24c-fdc3-4535-83a9-3f5e198b66be"
        name="profile"
        type="application/vnd.vmware.admin.pvdcStorageProfile+xml"/>
</AdminVdcStorageProfile>