Skip to content

archivalPerObjectInfo

Get archival information for all objects with data archived to the specified location.

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.
sortOrder SortOrder Sorts the order of results.
sortBy ArchivalPerObjectInfoSortByField Specifies the field by which the list of archival object info will be sorted.
filter [ArchivalPerObjectInfoFilterInput!] Specifies how to filter the list of archival object info.
input (required) UUID! Corresponds to ID of the target in Rubrik.

Returns

ArchivalObjectInfoConnection!

Sample

query ArchivalPerObjectInfo($input: UUID!) {
  archivalPerObjectInfo(
    input: $input
    first: 10
  ) {
    nodes {
      archivalLag
      archivalLocationId
      archivalLocationName
      isRcv
      latestArchivedSnapshotDate
      locationType
      monthlyGrowthBytes
      numActiveSnapshots
      objectLocation
      objectName
      objectStatus
      objectType
      slaDomain
      storageTier
      storageUsage
      workloadId
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "input": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "archivalPerObjectInfo": {
      "nodes": [
        [
          {
            "archivalLag": 0,
            "archivalLocationId": "example-string",
            "archivalLocationName": "example-string",
            "isRcv": true,
            "latestArchivedSnapshotDate": "2024-01-01T00:00:00.000Z",
            "locationType": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}