GetPlaceholderDatastores

Gets the list of all configured placeholder datastores.

Synopsis

@optional PlaceholderDatastoreInfo[] getPlaceholderDatastores()
PlaceholderDatastoreInfo
has the following fields:
Field
Description
fault
The list of errors for this datastore. If this property is not empty, this datastore can not be used as a placeholder datastore.
PlaceholderDatastoreInfo
extends
DatastoreInfo
. It has the following fields:
Field
Description
key
reference to the actual vim.Datastore object in VC.
capacity
The total capacity of this datastore in bytes.
freeSpace
The amount of free space in bytes available on this datastore.
reservedSpace
The amount of additional storage space in bytes on this datastore that could potentially be used by all virtual machines on this datastore. A non-zero value in this field is associated with virtual machines having Thin Provisioned disks.
type
The type of the file system on this datastore, such as VMFS, NFS or CIFS. @see vim.host.FileSystemVolume#type
@optional ComputeResourceInfo[] visibleTo
The list of hosts and clusters that can access this datastore. If a cluster is included in this list, it means that this datastore is accessible to all hosts in this cluster. In most cases this list can not be empty. The only reason for this field to be optional is to be able to return placeholder datastores that have become invalid because there are no clusters or hosts that can see this datastore. This could happen, for example, if the user were to add a host to a cluster and this host could not see some of the datastores that were previously visible to all hosts in the cluster.
ComputeResourceInfo
has the following properties:
Field
Description
key
The reference to the actual
vim.ComputeResource
object in VC. Hosts will be represented by
vim.ComputeResource
with a single
vim.HostSystem
in it. Clusters will be represented by
vim.ClusterComputeResource
.
DatastoreInfo
and
ComputeResourceInfo
extend
ObjectInfo
which has the following properties:
Field
Description
name
The name of the object.
status
The status of the object, such as green, red or yellow. @see vim.ManagedEntity.Status

Faults

  • RuntimeFault