gcloud beta spanner instances get-locations Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta spanner instances get-locations - get the location of every replica in a Cloud Spanner instance
- SYNOPSIS
gcloud beta spanner instances get-locationsINSTANCE[--verbose][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)Get the location of every replica in a Cloud Spannerinstance.- EXAMPLES
- To get the location of every replica in a Cloud Spanner instance in thisproject, run:
gcloudbetaspannerinstancesget-locationsmy-instance-id - POSITIONAL ARGUMENTS
INSTANCE- Cloud Spanner instance ID.
- FLAGS
--verbose- Indicates that both regions and types of replicas be returned.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$gcloud helpfor details. - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudspannerinstancesget-locationsgcloudalphaspannerinstancesget-locations
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.