vcenter datastore: summary

The summary structure contains commonly used information about a datastore.

Representation:

{
    "datastore""obj-103",
    "name""string",
    "type""VMFS",
    "free_space"1,
    "capacity"1
}

Attributes:

Name Type Description
Required
datastore string Identifier of the datastore.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Datastore. When operations return a value of this structure as a result, the field will be an identifier for the resource type: Datastore.

name string Name of the datastore.

type string Type (VMFS, NFS, NFS41, CIFS, VSAN, VFFS, VVOL, PMEM) of the datatore.

Defines the supported types of vCenter datastores. Value is one of:
VMFS: VMware File System (ESX Server only).
NFS: Network file system v3 (linux & esx servers only).
NFS41: Network file system v4.1 (linux & esx servers only).
CIFS: Common Internet File System.
VSAN: Virtual SAN (ESX Server only).
VFFS: Flash Read Cache (ESX Server only).
VVOL: vSphere Virtual Volume (ESX Server only).
PMEM: Persistent Memory File System (ESX Server only). Warning: This constant is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional
free_space long Available space of this datastore, in bytes.

The server periodically updates this value.

Optional. This field will be unset if the available space of this datastore is not known.

capacity long Capacity of this datastore, in bytes.

The server periodically updates this value.

Optional. This field will be unset if the capacity of this datastore is not known.