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 Returns the elements in the list that occur after the specified cursor.
last Int Returns the last n elements from the list.
before String Returns the elements in the list that occur before the specified cursor.
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"
      }
    }
  }
}