class VMware_VCloud_SDK_Disk extends VMware_VCloud_SDK_Abstract
| string |
getEntityId()
Get vCloud ID of the vCloud resource entity from its data object. |
from VMware_VCloud_SDK_Abstract |
| VMware_VCloud_API_ReferenceType |
getDiskRef()
Get a reference to a VMware vCloud disk entity. |
|
| VMware_VCloud_API_DiskType |
getDisk()
Get a VMware vCloud disk entity. |
|
| string |
getId()
Constructs vCloud ID of this disk from its UUID. |
|
| VMware_VCloud_API_TaskType |
modify(VMware_VCloud_API_DiskType $disk)
Modify the name, description, and storage profile of a disk. |
|
| VMware_VCloud_API_TaskType |
delete()
Delete a disk. |
|
| array|null |
getAttachedVms()
Retrieve a list of all VMs attached to a disk. |
|
| VMware_VCloud_API_OwnerType |
getOwner()
Retrieve the owner of a disk. |
|
| null |
changeOwner(VMware_VCloud_API_OwnerType $owner)
Change the owner of a disk. |
|
| VMware_VCloud_API_MetadataType|VMware_VCloud_API_MetadataValueType|null |
getMetadata(string $key = null, string $domain = null)
Get metadata associated with the disk or metadata associated with the disk for the specified key in the specified domain. |
|
| VMware_VCloud_API_TaskType |
mergeMetadata(VMware_VCloud_API_MetadataType $meta)
Merges the metadata for the disk with the information provided. |
|
| VMware_VCloud_API_TaskType |
setMetadataByKey(string $key, VMware_VCloud_API_MetadataValueType $value, string $domain = null)
Sets the metadata for the particular key in the specified domain for the disk to the value provided. |
|
| VMware_VCloud_API_TaskType |
deleteMetadataByKey(string $key, string $domain = null)
Deletes the metadata for the particular key in the specified domain for the disk. |
public string
getEntityId()
Get vCloud ID of the vCloud resource entity from its data object.
public VMware_VCloud_API_ReferenceType
getDiskRef()
Get a reference to a VMware vCloud disk entity.
public VMware_VCloud_API_DiskType
getDisk()
Get a VMware vCloud disk entity.
public string
getId()
Constructs vCloud ID of this disk from its UUID.
public VMware_VCloud_API_TaskType
modify(VMware_VCloud_API_DiskType $disk)
Modify the name, description, and storage profile of a disk.
public VMware_VCloud_API_TaskType
delete()
Delete a disk.
public array|null
getAttachedVms()
Retrieve a list of all VMs attached to a disk.
public VMware_VCloud_API_OwnerType
getOwner()
Retrieve the owner of a disk.
public null
changeOwner(VMware_VCloud_API_OwnerType $owner)
Change the owner of a disk.
public VMware_VCloud_API_MetadataType|VMware_VCloud_API_MetadataValueType|null
getMetadata(string $key = null, string $domain = null)
Get metadata associated with the disk or metadata associated with the disk for the specified key in the specified domain.
public VMware_VCloud_API_TaskType
mergeMetadata(VMware_VCloud_API_MetadataType $meta)
Merges the metadata for the disk with the information provided.
public VMware_VCloud_API_TaskType
setMetadataByKey(string $key, VMware_VCloud_API_MetadataValueType $value, string $domain = null)
Sets the metadata for the particular key in the specified domain for the disk to the value provided.
Note: This will replace any existing metadata information.
public VMware_VCloud_API_TaskType
deleteMetadataByKey(string $key, string $domain = null)
Deletes the metadata for the particular key in the specified domain for the disk.