Skip to content

failoverGroupArchivalLocations

Get all archival locations for a given failover group.

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.
failoverGroupId (required) UUID! Failover Group ID for which archival locations will be retrieved..
filter FailoverGroupArchivalLocationFilter Filters to apply to the query.

Returns

FailoverGroupArchivalLocationConnection!

Sample

query FailoverGroupArchivalLocations($failoverGroupId: UUID!) {
  failoverGroupArchivalLocations(
    failoverGroupId: $failoverGroupId
    first: 10
  ) {
    nodes {
      sourceLocationId
      sourceLocationName
      sourceLocationStatus
      targetLastRefreshTime
      targetLocationId
      targetLocationName
      targetLocationStatus
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "failoverGroupId": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "failoverGroupArchivalLocations": {
      "nodes": [
        [
          {
            "sourceLocationId": "00000000-0000-0000-0000-000000000000",
            "sourceLocationName": "example-string",
            "sourceLocationStatus": "DELETED",
            "targetLastRefreshTime": "2024-01-01T00:00:00.000Z",
            "targetLocationId": "00000000-0000-0000-0000-000000000000",
            "targetLocationName": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}