5.5

Table Of Contents
Table 105. Other System Events (Continued)
Type (com/vmware/vcloud/event/) Description
task/fail A task has failed.
blockingtask/create A task was blocked and a notification created.
blockingtask/resume A blocking task was resumed.
blockingtask/abort A blocking task was aborted.
blockingtask/fail A blocking task was failed.
datastore/modify One or more properties of a datastore object were
modified.
datastore/delete A datastore object was deleted.
Retrieve or Update Blocking Task Settings
Timeout settings, default actions, and related messages for blocking tasks are properties of a cloud. They
apply to all organizations in the cloud. Only a system administrator can view or modify them.
When a user requests an operation that is configured to create a blocking task, the system creates a reference
to the operation in the cloud's BlockingTaskReferences container. The system also sends a message about
the task to the configured AMQP broker. A system administrator can retrieve the list of
BlockingTaskReferences by making a GET request to the system's blockingTasks link. An AMQP client can
use information in the message to construct a URL that it can use to retrieve the task. See
#unique_177_Connect_42_EXAMPLE_B07B54418FAF480980ED867A833E22CC.
If no action is taken on the blocking task within a specified timeout interval, it is subject to a default action.
You can specify the timeout interval and default action for all blocking tasks by modifying the system's
BlockingTaskSettings element. To configure an operation as a blocking task, add the operation name to the
BlockingTaskOperations element contained by BlockingTaskSettings. See “Task Operations,” on page 320.
Prerequisites
n
Verify that you are logged in to the vCloud API as a system administrator.
n
Retrieve the SystemSettings element. See “Retrieve or Update System Settings,” on page 239.
Procedure
1 Examine the response to locate the link that you can use to retrieve the system's BlockingTaskSettings
element.
This link has a rel attribute value of down and a type attribute value of
application/vnd.vmware.admin.blockingTaskSettings+xml, as shown here:
<Link href="https://vcloud.example.com/api/admin/extension/settings/blockingTask"
rel="down"
type="application/vnd.vmware.admin.blockingTaskSettings+xml"/>
2 Retrieve the element.
Make a GET request to the href value of the link.
3 (Optional) Modify the element as needed to change the settings it controls.
See the schema reference.
4 (Optional) Update the modified element with the new contents.
PUT the modified element to the href value of its rel="edit" link. See “Example: Update Blocking Task
Settings,” on page 319.
vCloud API Programming Guide
318 VMware, Inc.