Vasa Provider Query Point In Time Replica

Vasa Provider Query Point In Time Replica

Query for the point-in-time replicas available at the target location.

Required privileges: StorageViews.View

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/sms/VasaProvider/{moId}/QueryPointInTimeReplica
COPY
Path Parameters
string
moId
Required

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 VasaProvider/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
QueryPointInTimeReplicaRequestType of type(s) application/json
Required
"QueryPointInTimeReplicaRequestType Object"
array of object
groupId
Optional

List of replication group IDs.

queryParam
Optional

Search criteria specification for all the groups.

Authentication
This operation uses the following authentication methods.
Responses
200

An array of GroupOperationResult elements.

Each of these elements is either GroupErrorResult or QueryPointInTimeReplicaSuccessResult or QueryPointInTimeReplicaSummaryResult for CDP capable replicators.

The fault in the result entry can be set to:

  • NotFound if the replication group identifier is not present.
  • DuplicateEntry if the replication group identifier is duplicate.
  • TooMany if the number of entries is too large to be returned in one call.
  • QueryExecutionFault for any other error.
[
    "GroupOperationResult Object"
]
Optional

500

InvalidArgument: if groupId is null or empty, or queryParam is invalid.

NotImplemented: if the provider does not implement this function.

ProviderUnavailable: if the provider is temporarily unavailable.

InactiveProvider: if the provider is inactive for the specified replication groups.

ProviderBusy: if the provider is busy and cannot process the request.

QueryExecutionFault: if an error is encountered while processing the query request.

Returns MethodFault of type(s) application/json
This response body class contains all of the following: InlineMethodFault0
"MethodFault Object"
faultCause
Optional

Fault which is the cause of this fault.

array of object
faultMessage
Optional

Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/sms/VasaProvider/{moId}/QueryPointInTimeReplica