Datastore

Element:
Datastore
Type:
DatastoreType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
Represents datastore object.
Since:
1.5
Schema:
vmwextensions.xsd
Media type(s):
application/vnd.vmware.admin.datastore+xml
Extends:
EntityType
XML Representation:
<Datastore xmlns="http://www.vmware.com/vcloud/extension/v1.5" xmlns:vcloud_v1.5="http://www.vmware.com/vcloud/v1.5" href="xs:anyURI" type="xs:string" name="xs:string" id="xs:string">
    <vcloud_v1.5:Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
            rel="xs:string"/>
    <Description> xs:string </Description>
    <vcloud_v1.5:Tasks>
        <vcloud_v1.5:Task href="xs:anyURI" type="xs:string" name="xs:string" id="xs:string"
                status="xs:string" operation="xs:string" operationName="xs:string" startTime="xs:dateTime"
                endTime="xs:dateTime" expiryTime="xs:dateTime">
            <vcloud_v1.5:Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
                    rel="xs:string"/>
            <Description> xs:string </Description>
            <vcloud_v1.5:Tasks> vcloud_v1.5:TasksInProgressType </vcloud_v1.5:Tasks>
            <vcloud_v1.5:Owner href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
            <vcloud_v1.5:Error message="xs:string" majorErrorCode="xs:int" minorErrorCode="xs:string" vendorSpecificErrorCode="xs:string"
                    stackTrace="xs:string"/>
            <vcloud_v1.5:User href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
            <vcloud_v1.5:Organization href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
            <Progress> xs:int </Progress>
            <Params> ... </Params>
        </vcloud_v1.5:Task>
    </vcloud_v1.5:Tasks>
    <VimObjectRef>
        <vcloud_v1.5:VimServerRef href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
        <MoRef> xs:string </MoRef>
        <VimObjectType> xs:string </VimObjectType>
    </VimObjectRef>
    <Enabled> xs:boolean </Enabled>
    <Busy> xs:boolean </Busy>
    <ThresholdYellowGb> DatastoreType/ThresholdYellowGb </ThresholdYellowGb>
    <ThresholdRedGb> DatastoreType/ThresholdRedGb </ThresholdRedGb>
    <SystemMessages> xs:string </SystemMessages>
    <DatastoreFsType> xs:string </DatastoreFsType>
    <VcDisplayName> xs:string </VcDisplayName>
    <MountHost> xs:string </MountHost>
    <MountDirectory> xs:string </MountDirectory>
    <TotalCapacityMb> xs:double </TotalCapacityMb>
    <TotalCapacityGb> xs:double </TotalCapacityGb>
    <UsedCapacityMb> xs:double </UsedCapacityMb>
    <UsedCapacityGb> xs:double </UsedCapacityGb>
    <UsedCapacityPercent> xs:double </UsedCapacityPercent>
    <ProvisionedSpaceMb> xs:double </ProvisionedSpaceMb>
    <ProvisionedSpaceGb> xs:double </ProvisionedSpaceGb>
    <RequestedStorageMb> xs:double </RequestedStorageMb>
    <RequestedStorageGb> xs:double </RequestedStorageGb>
    <vimPropertyPageUrl> xs:string </vimPropertyPageUrl>
</Datastore>

Attributes

Attribute Type Required Modifiable Since Description
href anyURI No always 1.5 Contains the URI to the entity.
type string No always 1.5 Contains the type of the entity.
name string Yes always 1.5 The name 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.

Elements

Element Type Occurrence Modifiable Since Description
VCloudExtension VCloudExtensionType 0..* always 1.5 An optional extension element that can contain an arbitrary number of elements and attributes.
Link LinkType 0..* none 1.5 Optional link to an entity or operation associated with this object.
Description string 0..1 always 1.5 Optional description.
Tasks TasksInProgressType 0..1 none 1.5 A list of queued, running, or recently completed tasks associated with this entity.
VimObjectRef VimObjectRefType 0..1 none 1.5 The VIM object reference to this datastore.
Enabled boolean 0..1 1.5 Indicates whether the datastore is enabled.
Busy boolean 0..1 none 1.5 Indicates whether the datastore is busy.
ThresholdYellowGb DatastoreType/ThresholdYellowGb 1 always 1.5 Minimum free space, in GB, to trigger a yellow status for the datastore.
ThresholdRedGb DatastoreType/ThresholdRedGb 1 always 1.5 Minimum free space, in GB, to trigger a red status for the datastore.
SystemMessages string 0..1 none 1.5 System messages for the datastore.
DatastoreFsType string 0..1 none 1.5 Filesystem type of the datastore.
VcDisplayName string 0..1 none 1.5 vCenter display name of the datastore.
MountHost string 0..1 none 1.5 Datastore mount host.
MountDirectory string 0..1 none 1.5 Datastore mountpoint.
TotalCapacityMb double 0..1 none 1.5 Total capacity, in MB, of the datastore.
TotalCapacityGb double 0..1 none 1.5 Total capacity, in GB, of the datastore.
UsedCapacityMb double 0..1 none 1.5 Used capacity, in MB, of the datastore.
UsedCapacityGb double 0..1 none 1.5 Used capacity, in GB, of the datastore.
UsedCapacityPercent double 0..1 none 1.5 Used capacity of the datastore, as a percentage.
ProvisionedSpaceMb double 0..1 none 1.5 Provisioned capacity, in MB, of the datastore.
ProvisionedSpaceGb double 0..1 none 1.5 Provisioned capacity, in GB, of the datastore.
RequestedStorageMb double 0..1 none 1.5 Requested storage, in MB, for all the vCloud Director VMs on the datastore.
RequestedStorageGb double 0..1 none 1.5 Requested storage, in GB, for all the vCloud Director VMs on the datastore.
vimPropertyPageUrl string 0..1 none 1.5 URL to the VIM property page of the datastore host.

Operations

CRUD Operation Description Since
create POST /admin/extension/datastore/{id}/action/disable Disables the datastore. 1.5
create POST /admin/extension/datastore/{id}/action/enable Enables the datastore. 1.5
read GET /admin/extension/datastore/{id} Gets the representation of a datastore. 1.5
update PUT /admin/extension/datastore/{id} Updates the datastore. 1.5
delete DELETE /admin/extension/datastore/{id} Removes the datastore. 1.5