- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: "View the disks that are in a storage pool."
    description: "View the disks that are in a given storage pool."
    examples: |
      The following command retrieves all disks belonging to a storage pool and lists them:

        $ {command} my-storage-pool

  request:
    ALPHA:
      api_version: alpha
    BETA:
      api_version: beta
    GA:
      api_version: v1

    collection: compute.storagePools
    method: listDisks
    disable_pagination: true

  arguments:
    resource:
      help_text: Name of the storage pool you want to inspect.
      spec: !REF googlecloudsdk.command_lib.compute.resources:storage_pool

  output:
    flatten:
    - "items"
    format: |
      table(
        items.name,
        items.status,
        items.provisionedIops,
        items.provisionedThroughput,
        items.sizeGb)
