File: //snap/google-cloud-cli/current/lib/surface/edge_cloud/container/clusters/list.yaml
# TODO(b/331978625): Unify GA in python after validating Alpha.
- release_tracks: [GA]
help_text:
brief: List Edge Container clusters.
description: |
List Edge Container clusters.
examples: |
To list the clusters in region us-central1, run:
$ {command} --location=us-central1
request:
collection: edgecontainer.projects.locations.clusters
GA:
api_version: v1
response:
id_field: name
arguments:
resource:
help_text: Parent Edge Container location to list all contained Edge Container clusters.
spec: !REF googlecloudsdk.command_lib.edge_cloud.container.resources:location
output:
format: |
table(
name.basename():label=NAME,
endpoint:label=ENDPOINT,
labels:label=LABELS,
controlPlaneVersion:label=CONTROL_PLANE_VERSION,
nodeVersion:label=NODE_VERSION,
createTime.date():label=CREATED
)