ProtectionGroupListRecoveryPlans

This method retrieves a list of all the recovery plans that this protection group is a member of.

Synopsis

RecoveryPlan[] ProtectionGroupListRecoveryPlans( )

RecoveryPlan[] is an array of all the Recovery Plans that this protection group belongs to. For more information, see Recovery Plan.

Fault

  • RuntimeFault

See Faults in Site Recovery Manager API for more details.

Example for ProtectionGroupListRecoveryPlans

List < ManagedObjectReference > plans = srmPortType.protectionGroupListRecoveryPlans(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);