UnassociateVms
This method removes the association of one or more virtual machines from a specified vSphere Replication (VR) protection group. Once a virtual machine is unassociated, it can no longer be protected.
Synopsis
void unassociateVms(vim.VirtualMachine[] vms)
vms[] is an array of Virtual Machine objects to disassociate from.
Faults
- vmodl.fault.NotSupported, if this protection group is not a VR group.
- RuntimeFault
- InvalidState, if a specified VM was already associated with another group.
- vim.fault.ConcurrentAccess, if another operation has modified the object and the change version no longer matches.
Example for UnassociateVms
void _service.UnssociateVms(_svcPtGrp, VirtualMachine[] );