PUT /vApp/{id}/vmCapabilities

Operation:
PUT /vApp/{id}/vmCapabilities
Description:
Updates VM's {@link VmCapabilities}
Since:
Input parameters
Consume media type(s):
application/vnd.vmware.vcloud.vmCapabilitiesSection+xml
Input type:
VmCapabilitiesType
Output parameters
{@link AcceptedResponse}

Produce media type(s):
application/vnd.vmware.vcloud.task+xml
Output type:
TaskType
Examples
Request
HTTP 1.1
PUT /api/vApp/vm-7f5de8b1-5104-4d8a-b242-b9d4e09d76d5/vmCapabilities

Headers:
x-vcloud-authorization: w2NJKAPnBMf3epgkciNkmD+YXd7FvEhoU6zLgmcYOPE=

Body:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns6:VmCapabilities
    xmlns="http://www.vmware.com/vcloud/versions" xmlns:ns2="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ns3="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:ns4="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ns5="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:ns6="http://www.vmware.com/vcloud/v1.5" xmlns:ns7="http://www.vmware.com/schema/ovf" xmlns:ns8="http://schemas.dmtf.org/ovf/environment/1" xmlns:ns9="http://www.vmware.com/vcloud/extension/v1.5">
    <ns6:MemoryHotAddEnabled>false</ns6:MemoryHotAddEnabled>
    <ns6:CpuHotAddEnabled>false</ns6:CpuHotAddEnabled>
</ns6:VmCapabilities>
Response
HTTP/1.1 202 Accepted

Headers:
Content-Length: 1297
Content-Type: application/vnd.vmware.vcloud.task+xml; version=5.5
Location: https://vcloud.example.com/api/task/0c790893-ca5b-453e-ab7a-0e17251e9a16
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?>
<Task
    xmlns="http://www.vmware.com/vcloud/v1.5"
    status="running"
    startTime="2013-03-22T11:56:43.935+02:00"
    serviceNamespace="com.vmware.vcloud"
    operationName="vappUpdateVm"
    operation="Updating Virtual Machine 2hdd(7f5de8b1-5104-4d8a-b242-b9d4e09d76d5)"
    expiryTime="2013-06-20T11:56:43.935+03:00"
    cancelRequested="false"
    name="task"
    id="urn:vcloud:task:0c790893-ca5b-453e-ab7a-0e17251e9a16"
    type="application/vnd.vmware.vcloud.task+xml"
    href="https://vcloud.example.com/api/task/0c790893-ca5b-453e-ab7a-0e17251e9a16"
    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="task:cancel"
        href="https://vcloud.example.com/api/task/0c790893-ca5b-453e-ab7a-0e17251e9a16/action/cancel"/>
    <Owner
        type="application/vnd.vmware.vcloud.vm+xml"
        name="2hdd"
        href="https://vcloud.example.com/api/vApp/vm-7f5de8b1-5104-4d8a-b242-b9d4e09d76d5"/>
    <User
        type="application/vnd.vmware.admin.user+xml"
        name="system"
        href="https://vcloud.example.com/api/admin/user/4b36181e-b32d-456e-ad94-8e0a568b1346"/>
    <Organization
        type="application/vnd.vmware.vcloud.org+xml"
        name="Default"
        href="https://vcloud.example.com/api/org/710affad-0212-4e55-b6ae-4818d6e9166e"/>
    <Details/>
</Task>