Skip to content

protectedObjectsConnection

List of all objects protected by the SLA Domains.

Arguments

Argument Type Description
rootOptionalFid UUID Forever UUID of the object root. The value of none represents the global hierarchy root.
slaIds (required) [UUID!]! A list of SLA Domain IDs.
filter [Filter!] Hierarchy object filter.
objectTypeFilter [String!] Types of objects to include.
sortBy HierarchySortByField Sort hierarchy objects according to the hierarchy field.
sortOrder SortOrder Sorts the order of results.
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.

Returns

ProtectedObjectsConnection!

Sample

query ProtectedObjectsConnection($slaIds: [UUID!]!) {
  protectedObjectsConnection(
    slaIds: $slaIds
    first: 10
  ) {
    nodes {
      effectiveSlaFidOpt
      effectiveSlaOpt
      id
      isArchived
      isUnprotected
      name
      objectType
      slaPauseStatus
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "slaIds": [
    "00000000-0000-0000-0000-000000000000"
  ]
}
{
  "data": {
    "protectedObjectsConnection": {
      "nodes": [
        [
          {
            "effectiveSlaFidOpt": "example-string",
            "effectiveSlaOpt": "example-string",
            "id": "example-string",
            "isArchived": true,
            "isUnprotected": true,
            "name": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}