
This external documentation for pyVmomi was generated using Googly Docs (aka Google Standard Documentation) which renders very cleanly in GitHub. Internal documentation for a class should be done in Sphinx format because tools like pyCharm and Eclipse can use that documentation as a hint for code completion. Note: External docs as Googly Docs, internal docs as Sphinx. Closes bug#15
3.3 KiB
vim.Datastore.Summary
Summary information about the datastore. The status fields and managed object reference is not set when an object of this type is created. These fields and references are typically set later when these objects are associated with a host.
- extends
- Attributes:
-
datastore (vim.Datastore, optional):
The reference to the managed object.
name (str):
The name of the datastore.
url (str):
The unique locator for the datastore. This property is guaranteed to be valid only if accessible is true.
capacity (long):
Maximum capacity of this datastore, in bytes. This value is updated periodically by the server. It can be explicitly refreshed with the Refresh operation. This property is guaranteed to be valid only if accessible is true.
freeSpace (long):
Available space of this datastore, in bytes. The server periodically updates this value. It can be explicitly refreshed with the Refresh operation. This property is guaranteed to be valid only if accessible is true.
uncommitted (long, optional):
Total additional storage space, in bytes, potentially used by all virtual machines on this datastore. The server periodically updates this value. It can be explicitly refreshed with the RefreshDatastoreStorageInfo operation. This property is valid only if accessible is true.
accessible (bool):
The connectivity status of this datastore. If this is set to false, meaning the datastore is not accessible, this datastore's capacity and freespace properties cannot be validated. Furthermore, if this property is set to false, some of the properties in this summary and in DatastoreInfo should not be used. Refer to the documentation for the property of your interest. For datastores accessed from multiple hosts, vCenter Server reports accessible as an aggregated value of the properties reported in MountInfo. For instance, if a datastore is accessible through a subset of hosts, then the value of accessible will be reported as true by vCenter Server. And the reason for a daastore being inaccessible from a host will be reported in inaccessibleReason
multipleHostAccess (bool, optional):
More than one host in the datacenter has been configured with access to the datastore. This is only provided by VirtualCenter.
type (str):
Type of file system volume, such as VMFS or NFS.See type
maintenanceMode (str, optional):
The current maintenance mode state of the datastore. The set of possible values is described in DatastoreSummaryMaintenanceModeState .