# 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 pbm.ServerObjectRef.ObjectType#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* P | PbmServerObjectRef[] | Array of server object references. Valid types are pbm.ServerObjectRef.ObjectType#virtualMachine, pbm.ServerObjectRef.ObjectType#virtualMachineAndDisks, pbm.ServerObjectRef.ObjectType#virtualDiskId, pbm.ServerObjectRef.ObjectType#virtualDiskUUID Since 6.5

*Need not be set P Required privilege: entities

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
--- | ---
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>