Skip to content

azureSqlManagedInstanceDatabases

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

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.
last Int Returns the last n elements from the list.
before String Returns the elements in the list that occur before the specified cursor.
sortBy AzureSqlManagedInstanceDatabaseSortFields Sort fields for list of Azure SQL Managed Instance Databases.
sortOrder SortOrder Sorts the order of results.
azureSqlManagedInstanceDatabaseFilters AzureSqlManagedInstanceDatabaseFilters Filters for listing Azure SQL Managed Instance Databases.
includeSecurityMetadata Boolean Filter to include the security metadata.

Returns

AzureSqlManagedInstanceDatabaseConnection!

Sample

query {
  azureSqlManagedInstanceDatabases(first: 10) {
    nodes {
      authorizedOperations
      backupSetupStatus
      databaseName
      exocomputeConfigured
      id
      isRelic
      name
      numWorkloadDescendants
      objectType
      onDemandSnapshotCount
      region
      rscPendingObjectPauseAssignment
      slaAssignment
      slaPauseStatus
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "azureSqlManagedInstanceDatabases": {
      "nodes": [
        [
          {
            "authorizedOperations": [
              "DELETE_SNAPSHOT"
            ],
            "backupSetupStatus": "CDC_DISABLED",
            "databaseName": "example-string",
            "exocomputeConfigured": true,
            "id": "00000000-0000-0000-0000-000000000000",
            "isRelic": true
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}