Skip to content

replicationPairs

List of all replication pair Rubrik clusters.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results.
last Int Returns the last n elements from the list.
before String An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results.
sortBy ReplicationPairsQuerySortByField Field to sort by for replication pairs.
sortOrder SortOrder Sort order.
filter ReplicationPairsQueryFilter Filter for replication pairs query.

Returns

ReplicationPairConnection!

Sample

query {
  replicationPairs(first: 10) {
    nodes {
      failedTasks
      isPaused
      runningTasks
      status
      storage
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "replicationPairs": {
      "nodes": [
        [
          {
            "failedTasks": 0,
            "isPaused": true,
            "runningTasks": 0,
            "status": "REPLICATION_ACTIVE",
            "storage": 0
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}