ListProtectedVms

Retrieves the list of virtual machines currently protected in the specified protection group, with information about their placeholder VM and protection state.

Synopsis

ProtectionGroup.ProtectedVm[] listProtectedVms( )

ProtectedVm[] is an array of ProtectedVm data objects with the following fields:

Field Description
faults any faults associated with this protected virtual machine
needsConfiguration the protected virtual machine needs to be configured or repaired
peerProtectedVm the protected virtual machine identifier on the remote site
peerState the protection state on the remote site
protectedVm the protected virtual machine identifier on the local site
state the protection state of this particular virtual machine
vm the locally protected virtual machine (this reference is valid after reprotect or revert operations)

Faults

  • RuntimeFault

Example for ListProtectedVms

protectedVm[] = _service.ListProtectedVms(_svcPtGrp);