# Managed Object - PbmReplicationManager(pbm.replication.ReplicationManager)

Property of
  PbmServiceInstanceContent
See also
  PbmQueryReplicationGroupResult, PbmServerObjectRef
Since
  6.5

## Managed Object Description

The PbmReplicationManager provides methods dealing with replication aspects of virtual machine and virtual disk requirement profiles.

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
PbmQueryReplicationGroups

# PbmQueryReplicationGroups(queryReplicationGroups)

Returns identifiers for replication groups associated with virtual machines, virtual disks or virtual machines and all their disks. If the query is performed for a virtual machine and all it's disks virtualMachineAndDisks, an entry per disk and one for the virtual machine config will be returned.

Required Privileges
  StorageProfile.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the PbmReplicationManager used to make the method call.
entities* | PbmServerObjectRef[] | Array of server object references. Valid types are virtualMachine, virtualMachineAndDisks, virtualDiskId, virtualDiskUUID

*Need not be set

Return Value

Type | Description
--- | ---
PbmQueryReplicationGroupResult[] | Array of query result objects. Each PbmQueryReplicationGroupResult object identifies a virtual machine, or virtual disk and contains the replication group id associated with that entity, if any. It also describes the fault, if there is an error associated with one of the entities.

Faults

Type | Description
--- | ---
InvalidArgument | Thrown if `entities` is null or empty.
PbmFault | Thrown if there is an internal service error.
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="PbmQueryReplicationGroups" type="pbm:PbmQueryReplicationGroupsRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="PbmQueryReplicationGroupsResponse"> <complexType> <sequence> <element name="returnval" type="pbm:PbmQueryReplicationGroupResult" minOccurs="0" maxOccurs="unbounded"/> </sequence> </complexType> </element>