Skip to content

azureAdObjectsByType

Details of the Azure AD objects corresponding to the type.

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.
sortByOption [AzureAdObjectSearchType!] Ordered list sorted by column names.
sortOrder SortOrder Sorts the order of results.
input (required) AzureAdObjectTypeInput! Input for the azureAdObjectsByType API.

Returns

AzureAdObjectConnection!

Sample

query AzureAdObjectsByType($input: AzureAdObjectTypeInput!) {
  azureAdObjectsByType(
    input: $input
    first: 10
  ) {
    nodes {
      objectId
      snapshotId
      type
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "input": {
    "azureAdObjectType": "ADMINISTRATIVE_UNIT",
    "keywordSearchFilters": [
      {}
    ],
    "snapshotId": "00000000-0000-0000-0000-000000000000",
    "workloadFid": "00000000-0000-0000-0000-000000000000"
  }
}
{
  "data": {
    "azureAdObjectsByType": {
      "nodes": [
        [
          {
            "objectId": "example-string",
            "snapshotId": "example-string",
            "type": "ADMINISTRATIVE_UNIT"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}