File: //snap/google-cloud-cli/current/lib/surface/compute/tpus/topologies/list.yaml
- release_tracks: [ALPHA, GA]
help_text:
brief: List available topologies for Cloud TPUs.
description: List available topologies for for Cloud TPUs.
examples: |
The following command lists all of the topologies available in zone `us-central1-b`:
$ {command} --zone=us-central1-b
request:
ALPHA:
collection: tpu.projects.locations.acceleratorTypes
api_version: v2alpha1
GA:
collection: tpu.projects.locations.acceleratorTypes
api_version: v2
arguments:
resource:
help_text: The zone to list topologies versions for.
spec: !REF googlecloudsdk.command_lib.compute.tpus.resources:location
response:
modify_response_hooks:
- googlecloudsdk.command_lib.compute.tpus.util:ListTopologiesResponseHook
output:
format: table(
topology:label=TOPOLOGY,
type:label=TYPE:sort=1,
acceleratorType:label=ACCELERATOR_TYPE)