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 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.
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 {
      isSourceImmutabilityEnabled
      isTargetImmutabilityEnabled
      sourceLocationId
      sourceLocationName
      sourceLocationStatus
      sourceLocationType
      sourceStorageLocation
      targetLastRefreshTime
      targetLocationId
      targetLocationName
      targetLocationStatus
      targetLocationType
      targetStorageLocation
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "failoverGroupId": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "failoverGroupArchivalLocations": {
      "nodes": [
        [
          {
            "isSourceImmutabilityEnabled": true,
            "isTargetImmutabilityEnabled": true,
            "sourceLocationId": "00000000-0000-0000-0000-000000000000",
            "sourceLocationName": "example-string",
            "sourceLocationStatus": "DELETED",
            "sourceLocationType": "AWS"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}