GetInfo
This method retrieves basic information about the specified protection group.
To get an SrmProtectionGroup managed object reference, see ListProtectionGroups.
Synopsis
ProtectionGroup.Info getInfo( )
ProtectionGroup.Info is information about the protection group. It has the following fields:
Field | Description |
---|---|
description |
protection group description |
name |
protection group name |
type | either san for array based replication, vr for vSphere replication or vvol for vVol replication |
Faults
- RuntimeFault
See Faults in Site Recovery Manager API for more details.
Example for GetInfo
SrmProtectionGroupInfo info = srmPortType.getInfo(ManagedObjectReference _this); Where ManagedObjectReference _this = _protectionGroupRef; where _protectionGroupRef can be taken from: SrmServiceInstanceContent content = _srmPortType.retrieveContent(_svcRef); ManagedObjectReference _protectionRef = content.getProtection(); List < ManagedObjectReference > groups = srmPortType.listProtectionGroups(_protectionRef); _protectionGroupRef = groups.get(0);