Skip to content

azureSqlManagedInstanceServers

Retrieves a paginated list of all Azure SQL Managed Instance Servers.

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.
sortBy AzureSqlManagedInstanceServerSortFields Sort fields for list of Azure SQL Managed Instance Servers.
sortOrder SortOrder Sorts the order of results.
azureSqlManagedInstanceServerFilters AzureSqlManagedInstanceServerFilters Filters for listing Azure SQL Managed Instance Servers.
authorizedOperationFilter Operation Filters the results to objects on which the caller is authorized to perform the specified operation. Only privilege operations are accepted.

Returns

AzureSqlManagedInstanceServerConnection!

Sample

query {
  azureSqlManagedInstanceServers(first: 10) {
    nodes {
      authType
      authorizedOperations
      backupStorageRedundancy
      encryptionType
      id
      instancePoolName
      isProtectable
      legallyHeldSnapshotCount
      name
      numWorkloadDescendants
      objectType
      region
      rscPendingObjectPauseAssignment
      serverName
      serviceTier
      slaAssignment
      slaPauseStatus
      storageSizeGib
      subnetName
      vCoresCount
      vnetName
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "azureSqlManagedInstanceServers": {
      "nodes": [
        [
          {
            "authType": "AAD_ONLY",
            "authorizedOperations": [
              "DELETE_SNAPSHOT"
            ],
            "backupStorageRedundancy": "GRS",
            "encryptionType": "AZURE_SQL_ENCRYPTION_TYPE_UNSPECIFIED",
            "id": "00000000-0000-0000-0000-000000000000",
            "instancePoolName": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}