astra db list-regions-serverless
astra db list-regions-serverless [-qV] [--no-input] [--[no-]spinner]
[--dump-logs[=FILE]] [--color=WHEN]
[-o=FORMAT] [-c=FILTER[,FILTER...]]...
[-f=FILTER[,FILTER...]]... [-z=FILTER[,
FILTER...]]... [[[-cf=PATH] [-p=NAME]] |
[--token=TOKEN [--env=ENV]]]
List all available regions for serverless Astra DB databases
Options
-f,--filter-
Comma-separated case-insensitive partial-match filters on the region name
-c,--cloud-
Comma-separated list of cloud providers to filter on
-z,--zone-
Comma-separated list of zones to include
Common Options
-o,--output-
One of: human, json, csv
-V,--verbose-
Enable verbose logging output
-q,--quiet-
Only output essential information
--spinner-
Enable/disable loading spinners
--no-input-
Don’t ask for user input (e.g. confirmation prompts)
--color-
One of: auto, never, always
--dump-logs-
Write all logs to an optionally specified file
Connection Options
-cf,--config-file-
The
.astrarcfile to use for this command -p,--profile-
The
.astrarcprofile to use for this command --token-
The astra token to use for this command. Use the
--token @filesyntax to read the token from a file, to avoid potential leaks. --env-
Override the target astra environment
Examples
# List all available regions for serverless Astra DB databases
$ astra db list-regions-serverless
# Filter by cloud provider
$ astra db list-regions-serverless --cloud AWS,GCP
# Filter by partial region name
$ astra db list-regions-serverless --filter us-,ca-
# Filter by zone
$ astra db list-regions-serverless --zone Europe