Skip to content

countOfObjectsProtectedBySlas

The number of 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.
typeFilter [HierarchyObjectTypeEnum!] Types of objects to include.

Returns

CountOfObjectsProtectedBySLAsResult!

Sample

query CountOfObjectsProtectedBySlas($slaIds: [UUID!]!) {
  countOfObjectsProtectedBySlas(slaIds: $slaIds)
}
{
  "slaIds": [
    "00000000-0000-0000-0000-000000000000"
  ]
}
{
  "data": {
    "countOfObjectsProtectedBySlas": {
      "slaObjectCounts": [
        {
          "objectCount": 0,
          "slaId": "example-string"
        }
      ]
    }
  }
}