GetReplicatedDatastores

Returns list of datastores residing on replicated storage devices. This list is populated by scanning all datastores in local vCenter inventory and matching underlying storage devices to replicated storage devices, discovered by SRM's discoverDevices operation.

Synopsis

@optional ReplicatedDatastore[] getReplicatedDatastores();
ReplicatedDatastore data class describes a datastore residing on replicated storage devices. It extends the StorageItemBase. ReplicatedDatastore has the following fields:
Field Description
key Unique key identifying this object.
datastore datastore residing on replicated storage devices.
StorageDevicePartition[] extent List of device partitions corresponding to datastore extents.
stretchedStorage Indicates if this is a stretched datastore.
staticSitePreference For stretched datastore indicates whether this datastore has a static site preference or a dynamic site preference.
sitePreference For a stretched datastore, indicates whether this datastore has the site preference or not. This attribute is relevant for datastore with a static site preference.
array array Reference to the array holding storage devices backing the datastore.
StorageDevicePartition describes a partition of a storage device. It has the following fields:
Field Description
device Storage device identifier.
deviceGroup Consistency group identifier, if any.
partition Partition number.

StorageItemBase is the base class for replicated datastores, storage devices, and storage groups. For more information, see GetDevices.

Faults

  • RuntimeFault

See Faults in Site Recovery Manager API for more details.