Pbm Replication Manager Pbm Query Replication Groups
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
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case PbmReplicationManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
{
"entities": [
{
"_typeName": "string",
"objectType": "string",
"key": "string",
"serverUuid": "string"
}
]
}
Array of server object references. Valid types are virtualMachine, virtualMachineAndDisks, virtualDiskId, virtualDiskUUID
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.
[
{
"_typeName": "string",
"object": {
"_typeName": "string",
"objectType": "string",
"key": "string",
"serverUuid": "string"
},
"replicationGroupId": {
"_typeName": "string",
"faultDomainId": {
"_typeName": "string",
"id": "string"
},
"deviceGroupId": {
"_typeName": "string",
"id": "string"
}
},
"fault": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
}
]
InvalidArgument: if entities
is null or empty.
PbmFault: If there is an internal service error.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}