Skip to content

allValidReplicationTargets

Lists all valid replication target 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 ListValidReplicationTargetsSortByField Field to sort by for valid replication targets.
sortOrder SortOrder Sort order.
isCrossAccount Boolean Deprecated. Use ListValidReplicationTargetFilter instead.
validReplicationTargetFilter ListValidReplicationTargetFilter Filter to retrieve valid replication targets.

Returns

ValidReplicationTargetConnection!

Sample

query {
  allValidReplicationTargets(first: 10) {
    nodes {
      accountName
      apiVersion
      isAirGapped
      isConnected
      isCrossAccount
      name
      uuid
      version
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "allValidReplicationTargets": {
      "nodes": [
        [
          {
            "accountName": "example-string",
            "apiVersion": "example-string",
            "isAirGapped": true,
            "isConnected": true,
            "isCrossAccount": true,
            "name": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}