GetDevices

Returns list of storage devices configured for replication.

Synopsis

@optional StorageDevice[] getDevices()
StorageDevice is data object that describes storage device configured for replication. It has the following fields:
Field Description
groupId SRA-specific identifier of a consistency group of the device if any. This property must be set if device is part of a consistency group.
groupName User-friendly name of the consistency group. SRA capabilities determine whether this property is set or not. It is either set for all devices or none. This property is set if StorageDevice#groupId is set and StorageDeviceGroupBase#name is set.
@optional DeviceProperty[] details Describes SRA-specific device property.
@optional MethodFault queryDetailsFault Error occurred while querying SRA for device properties, if any.
DeviceProperty describes the SRA-specific device property. It has the following fields:
Field Description
LocalizableString name User-friendly property name.
StorageDevice extends StorageDeviceGroupBase, a base class for storage devices and storage groups. It has the following fields:
Field Description
id SRA-specific identifier.
name User-friendly name. SRA capabilities determine whether this property is set or not. It is either set for all devices or none.
role Role of devices and groups in the replication relationship. See drextapi.StorageDeviceRole.
targetKey Key of the promoted replication target if role is promotedTarget. This property is set only for groups and devices with role drextapi.StorageDeviceRole#promotedTarget.
replicationSettings Replication settings opaque to SRM.
@optional MethodFault queryReplicationSettingsFault Error occurred while querying SRA for replication settings, if any.
StorageDeviceGroupBase extends StorageItemBase, a base class for replicated datastores, storage devices and storage groups. It has the following fields:
Field Description
stretchedStorage Boolean true if stretched storage is enabled.
staticSitePreference Boolean. This property is set for stretched devices, device groups and replicated datastores. True if static site preference is supported.

Faults

  • RuntimeFault

See Faults in Site Recovery Manager API for more details.