3.13. Searching for Disks
The following table describes all search options for disks.
You can use the Disk Type
and Content Type
filtering options to reduce the number of displayed virtual disks.
Property (of resource or resource-type) | Type | Description (Reference) |
---|---|---|
| Depends on property type | The property of the data centers associated with the disk. |
| Depends on property type | The property of the storage associated with the disk. |
| String | The human readable name that identifies the storage on the network. |
| String | Keywords or text describing the disk, optionally used when creating the disk. |
| Integer | The virtual size of the disk. |
| Integer | The size of the disk. |
| Integer | The actual size allocated to the disk. |
| Integer | The date the disk was created. |
| String |
Whether the disk can or cannot be booted. Valid values are one of |
| String |
Whether the disk can or cannot be attached to more than one virtual machine at a time. Valid values are one of |
| String |
The format of the disk. Can be one of |
| String |
The status of the disk. Can be one of |
| String |
The type of the disk. Can be one of |
| Integer | The number of virtual machine(s) to which the disk is attached. |
| String | The name(s) of the virtual machine(s) to which the disk is attached. |
| String | The name of the quota enforced on the virtual disk. |
| List | Sorts the returned results by one of the resource properties. |
| Integer | The page number of results to display. |
Example
Disks: format = cow and provisioned_size > 8
This example returns a list of virtual disks with QCOW format and an allocated disk size greater than 8 GB.