5.5

Table Of Contents
3 Examine the Catalog and CatalogItem element to find the sync links that they contain.
In catalogs, these links have the following form:
<Link
rel="sync"
href="https://vcloud.example.com/api/catalog/id/action/sync" />
In catalog items, these links have the following form:
<Link
rel="sync"
href="https://vcloud.example.com/api/catalogItem/id/action/sync" />
4 Synchronize the catalog or catalog item.
Make a POST request to the appropriate action/sync link.
Option Description
Synchronize a Catalog
Make a POST request to the action/sync link in the Catalog element.
Synchronize a Catalog Item
Make a POST request to the action/sync link in the CatalogItem
element.
Example: Synchronize a Catalog Item
This request synchronizes a single catalog item. The response is a task that tracks the progress of the
synchronization.
Request:
POST https://vcloud.example.com/api/catalogItem/102/action/sync
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ... operation="Synchronizing Catalog Item DB.iso (102)" ...>
...
</Task>
Creating and Using Independent Disks
Independent disks are stand-alone virtual disks that you create in organization VDCs. Administrators and
users who have adequate rights can create, remove, and update independent disks, and connect them to
virtual machines.
When you create an independent disk, it is associated with an organization VDC but not with a virtual
machine. After the disk has been created in a VDC, the disk owner or an administrator can attach it to any
virtual machine deployed in that VDC. The disk owner can also modify disk properties, detach it from a
virtual machine, and remove it from the VDC. The system administrator and organization administrator of
the organization that contains the VDC have the same rights to use and modify the disk as the disk owner.
Create or Update an Independent Disk
To create an independent disk in an organization VDC, POST a DiskCreateParams element to the VDC's disk
link.
To create an independent disk, you must specify its name and size. You can optionally include a description
and specify a storage profile to be used by the disk. After you have created the disk, you can modify its
name, description, and storage profile.
vCloud API Programming Guide
80 VMware, Inc.