Skip to content

m365BackupStorageObjectRestorePoints

Lists the Microsoft 365 backup storage object restore points.

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.
m365BackupStorageObjectRestorePointsInput (required) M365BackupStorageObjectRestorePointsInput! The input to list Microsoft 365 Backup Storage restore points.

Returns

M365BackupStorageRestorePointConnection!

Sample

query M365BackupStorageObjectRestorePoints($m365BackupStorageObjectRestorePointsInput: M365BackupStorageObjectRestorePointsInput!) {
  m365BackupStorageObjectRestorePoints(
    m365BackupStorageObjectRestorePointsInput: $m365BackupStorageObjectRestorePointsInput
    first: 10
  ) {
    nodes {
      expirationDateTime
      id
      protectionDateTime
      type
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "m365BackupStorageObjectRestorePointsInput": {
    "objectId": "00000000-0000-0000-0000-000000000000",
    "rangeFilter": {}
  }
}
{
  "data": {
    "m365BackupStorageObjectRestorePoints": {
      "nodes": [
        [
          {
            "expirationDateTime": "2024-01-01T00:00:00.000Z",
            "id": "example-string",
            "protectionDateTime": "2024-01-01T00:00:00.000Z",
            "type": "FAST"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}