CreateHbrProtectionGroup

Create a host based replication (vSphere replication) protection group using the provided VMs. This method does not automatically protect VMs on the storage array. Programs must call ProtectVms() separately for VMs on the storage array to be protected.

Synopsis

CreateProtectionGroupTask createHbrProtectionGroup(Folder location, String name,@optional String description, vim.VirtualMachine[] vms)

Parameter Description
location folder in which to create the protection group
name the name of the protection group
description an optional description of the protection group
vms virtual machines to associate with the new protection group

Returns CreateProtectionGroupTask to monitor the asynchronous operation of this method.

Faults

  • ReplicationProviderFault
  • InvalidType
  • InvalidArgument
  • InternalError

See Faults in Site Recovery Manager API for more details.

CreateHbrProtectionGroup

MoRef ProtectionGroup
CreateHbrProtectionGroup(_this, MoRef protectionFolder, String nameHbrProtectionGroup,
@optional String descriptionHbrProtectionGroup, MoRef datastoreRef)
_this is a managed object reference to an SrmProtection object.