Skip to content

azureSubscriptions

Gets the subscriptions for the given Azure tenant.

Arguments

Argument Type Description
tenantId (required) String!

Returns

AzureSubscriptionConnection!

Sample

query AzureSubscriptions($tenantId: String!) {
  azureSubscriptions(tenantId: $tenantId) {
    nodes {
      id
      name
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "tenantId": "example-string"
}
{
  "data": {
    "azureSubscriptions": {
      "nodes": [
        [
          {
            "id": "example-string",
            "name": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}