5.5

Table Of Contents
href="https://vcloud.example.com/api/vdc/44" />
<Link
rel="remove"
href="https://vcloud.example.com/api/disk/128" />
<Link
rel="edit"
type="application/vnd.vmware.vcloud.disk+xml"
href="https://vcloud.example.com/api/disk/128" />
<Link
rel="down"
type="application/vnd.vmware.vcloud.owner+xml"
href="https://vcloud.example.com/api/disk/128/owner" />
<Link
rel="down"
type="application/vnd.vmware.vcloud.vms+xml"
href="https://vcloud.example.com/api/disk/128/attachedVms" />
<Link
rel="down"
type="application/vnd.vmware.vcloud.metadata+xml"
href="https://vcloud.example.com/api/disk/128/metadata" />
<Description>Independent Disk</Description>
<Tasks>
<Task
...
operationName="vdcCreateDisk"
... >
...
</Task>
</Tasks>
<StorageProfile
type="application/vnd.vmware.vcloud.vdcStorageProfile+xml"
name="bronze"
href="https://vcloud/example.com/api/vdcStorageProfile/128" />
<Owner
type="application/vnd.vmware.vcloud.owner+xml">
<User
type="application/vnd.vmware.admin.user+xml"
href="https://vcloud.example.com/api/admin/user/120" />
</Owner>
</Disk>
Remove an Independent Disk
To remove an independent disk, verify that no powered-on virtual machines are attached to it, then use a
DELETE request to delete it.
A Disk element includes a link of the following form, which you can GET to return a list of virtual machines
to which the disk is attached.
<Link
rel="down"
type="application/vnd.vmware.vcloud.vms+xml"
href="https://vcloud.example.com/api/disk/128/attachedVms" />
vCloud API Programming Guide
82 VMware, Inc.