VMware Cloud Director API - PUT-BlockingTaskOperations

VMware Cloud Director API - PUT-BlockingTaskOperations

PUT /admin/extension/settings/blockingTask/operations

Operation:
PUT /admin/extension/settings/blockingTask/operations
Description:
Update the list of operations that are configured as blocking tasks.
Since:
1.5
Input parameters
contains the set of task operations enabled for extension.

Consume media type(s):
application/vnd.vmware.admin.taskOperationList+xml
application/vnd.vmware.admin.taskOperationList+json
Input type:
TaskOperationListType
Output parameters
{@link JAXBElement }

Produce media type(s):
application/vnd.vmware.admin.taskOperationList+xml
application/vnd.vmware.admin.taskOperationList+json
Output type:
TaskOperationListType
Examples
Request
HTTP 1.1
PUT /api/admin/extension/settings/blockingTask/operations

Headers:
Content-Length: 279
Content-Type: application/vnd.vmware.admin.taskOperationList+xml; charset=ISO-8859-1
x-vcloud-authorization: M69zc2o7Ol7AuYVBAslGYbnTluZZVZKIYa1HPe8MzEk=

Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:BlockingTaskOperations
    xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
    xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5">
    <vcloud:Operation>networkCreateExternalNetwork</vcloud:Operation>
</vmext:BlockingTaskOperations>
Response
HTTP/1.1 200 OK

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

Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:BlockingTaskOperations
    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/settings/blockingTask/operations"
    type="application/vnd.vmware.admin.taskOperationList+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/settings/blockingTask/operations"
        rel="edit"
        type="application/vnd.vmware.admin.taskOperationList+xml"/>
    <vcloud:Operation>networkCreateExternalNetwork</vcloud:Operation>
</vmext:BlockingTaskOperations>
Remove all blocking task operations

Request
HTTP 1.1
PUT /api/admin/extension/settings/blockingTask/operations

Headers:
Content-Length: 159
Content-Type: application/vnd.vmware.admin.taskOperationList+xml; charset=ISO-8859-1
x-vcloud-authorization: M69zc2o7Ol7AuYVBAslGYbnTluZZVZKIYa1HPe8MzEk=

Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:BlockingTaskOperations
    xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"/>
Response
HTTP/1.1 200 OK

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

Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:BlockingTaskOperations
    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/settings/blockingTask/operations"
    type="application/vnd.vmware.admin.taskOperationList+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/settings/blockingTask/operations"
        rel="edit"
        type="application/vnd.vmware.admin.taskOperationList+xml"/>
</vmext:BlockingTaskOperations>