ListAssociatedVms
This method retrieves the virtual machines currently associated with a specified vSphere Replication or vVol protection group. For the method to get a list of protection groups, see ListProtectionGroups.
Synopsis
vim.VirtualMachine[] listAssociatedVms( )
VirtualMachine[] is an array listing the associated virtual machines.
Faults
- vmodl.fault.NotSupported, if this protection group is not a VR group.
- RuntimeFault
For information about the faults that Site Recovery Manager throws, see Faults in Site Recovery Manager API.
Example for ListAssociatedVms
VirtualMachine[] = _service.ListAssociatedVms(_svcPtGrp);