Attributes
Attribute | Type | Required | Modifiable | Since | Deprecated | Description |
---|---|---|---|---|---|---|
href | anyURI | No | always | 1.5 | The URI of the entity. | |
type | string | No | always | 1.5 | The MIME type of the entity. | |
id | string | No | none | 1.5 | The entity identifier, expressed in URN format. The value of this attribute uniquely identifies the entity, persists for the life of the entity, and is never reused. | |
operationKey | string | No | create | 5.1 | Optional unique identifier to support idempotent semantics for create and delete operations. | |
name | string | Yes | always | 1.5 | The name of the entity. |
Elements
Element | Type | Required | Modifiable | Since | Deprecated | Description |
---|---|---|---|---|---|---|
Busy | boolean | No | none | 1.5 | Indicates whether the datastore is busy. | |
DatastoreFsType | string | No | none | 1.5 | Filesystem type of the datastore. | |
Description | string | No | always | 1.5 | Optional description. | |
Enabled | boolean | No | 1.5 | Indicates whether the datastore is enabled. | ||
Link | LinkType | No | none | 1.5 | A reference to an entity or operation associated with this object. | |
Members | VimObjectRefsType | No | none | 5.1 | Member datastores of a datastore cluster. Standalone datastore has empty collection. | |
MountDirectory | string | No | none | 1.5 | Datastore mountpoint. | |
MountHost | string | No | none | 1.5 | Datastore mount host. | |
ProvisionedSpaceGb | double | No | none | 1.5 | Provisioned capacity, in GB, of the datastore. | |
ProvisionedSpaceMb | double | No | none | 1.5 | Provisioned capacity, in MB, of the datastore. | |
RequestedStorageGb | double | No | none | 1.5 | Requested storage, in GB, for all the vCloud Director VMs on the datastore. | |
RequestedStorageMb | double | No | none | 1.5 | Requested storage, in MB, for all the vCloud Director VMs on the datastore. | |
SystemMessages | string | No | none | 1.5 | System messages for the datastore. | |
Tasks | TasksInProgressType | No | none | 1.5 | A list of queued, running, or recently completed tasks associated with this entity. | |
ThresholdRedGb | DatastoreType/ThresholdRedGb | Yes | always | 1.5 | Minimum free space, in GB, to trigger a red status for the datastore. | |
ThresholdYellowGb | DatastoreType/ThresholdYellowGb | Yes | always | 1.5 | Minimum free space, in GB, to trigger a yellow status for the datastore. | |
TotalCapacityGb | double | No | none | 1.5 | Total capacity, in GB, of the datastore. | |
TotalCapacityMb | double | No | none | 1.5 | Total capacity, in MB, of the datastore. | |
UsedCapacityGb | double | No | none | 1.5 | Used capacity, in GB, of the datastore. | |
UsedCapacityMb | double | No | none | 1.5 | Used capacity, in MB, of the datastore. | |
UsedCapacityPercent | double | No | none | 1.5 | Used capacity of the datastore, as a percentage. | |
VAAIForFpEnabled | boolean | No | always | 5.1 | Indicates whether the VAAI native snapshots for Fast Provisioning is enabled. | |
VCloudExtension | VCloudExtensionType | No | always | 1.5 | An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services. | |
VcDisplayName | string | No | none | 1.5 | vCenter display name of the datastore. | |
VimObjectRef | VimObjectRefType (extension/v1.5) | No | none | 1.5 | The VIM object reference to this datastore. | |
vimPropertyPageUrl | string | No | none | 1.5 | URL to the VIM property page of the datastore host. |
Operations
CRUD | Operation | Description | Since | Deprecated |
---|---|---|---|---|
create | POST /admin/extension/datastore/{id}/action/disable | Disable a datastore. | 1.5 | |
create | POST /admin/extension/datastore/{id}/action/enable | Enable a datastore. | 1.5 | |
read | GET /admin/extension/datastore/{id} | Retrieve a datastore. | 1.5 | |
update | PUT /admin/extension/datastore/{id} | Update datastore properties, including name, description, and low disk space thresholds. | 1.5 |