File: //snap/google-cloud-cli/current/lib/surface/metastore/federations/list.yaml
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: |
List Dataproc Metastore federations.
description: |
Lists all federations under the specified project and location.
examples: |
To list all Dataproc Metastore federations in location
`us-central1`, run:
$ {command} --location=us-central1
To list all Dataproc Metastore federations in all locations,
run:
$ {command} --location=-
arguments:
resource:
help_text: The location of the federations to list.
spec: !REF googlecloudsdk.command_lib.metastore.resources:location
request:
ALPHA:
api_version: v1alpha
BETA:
api_version: v1beta
GA:
api_version: v1
collection: metastore.projects.locations.federations
response:
id_field: name
output:
format: |
table(
name.basename():label=NAME,
name.segment(3):label=LOCATION,
state:label=STATE,
endpointUri:label=URI,
version:label=METASTORE_VERSION
)