Skip to content

azureNativeManagedDisks

Retrieves a paginated list of all Azure Native Managed Disks.

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 AzureNativeDiskSortFields Sort fields for list of Azure disks.
sortOrder SortOrder Sorts the order of results.
diskFilters AzureNativeDiskFilters
includeSecurityMetadata Boolean Filter to include the security metadata.

Returns

AzureNativeManagedDiskConnection!

Sample

query {
  azureNativeManagedDisks(first: 10) {
    nodes {
      authorizedOperations
      availabilityZone
      cloudNativeId
      diskIopsReadWrite
      diskMbpsReadWrite
      diskNativeId
      diskSizeGib
      diskStorageTier
      fileIndexingStatus
      id
      isAdeEnabled
      isExocomputeConfigured
      isFileIndexingEnabled
      isProtectable
      isRelic
      legallyHeldSnapshotCount
      name
      nativeName
      numWorkloadDescendants
      objectType
      onDemandSnapshotCount
      osType
      region
      rscPendingObjectPauseAssignment
      slaAssignment
      slaPauseStatus
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "azureNativeManagedDisks": {
      "nodes": [
        [
          {
            "authorizedOperations": [
              "DELETE_SNAPSHOT"
            ],
            "availabilityZone": "example-string",
            "cloudNativeId": "example-string",
            "diskIopsReadWrite": 0,
            "diskMbpsReadWrite": 0,
            "diskNativeId": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}