38 lines
992 B
YAML
38 lines
992 B
YAML
- help_text:
|
|
brief: |
|
|
List Memorystore Redis zones
|
|
description: |
|
|
List all zones where Memorystore Redis API is available.
|
|
examples: |
|
|
To list all the zones where Redis instances can be created, run:
|
|
|
|
$ {command}
|
|
|
|
arguments:
|
|
resource:
|
|
spec: !REF googlecloudsdk.command_lib.redis.resources:project
|
|
help_text: |
|
|
The project name.
|
|
params:
|
|
- arg_name: region
|
|
help_text: |
|
|
If provided, returns only resources from the given region. Use region
|
|
ID only, not the full URI of the region. This flag is the equivalent
|
|
of: `--filter="region:REGION"`. Run `gcloud topic filters` for more
|
|
information.
|
|
|
|
request:
|
|
api_version: v1
|
|
collection: redis.projects.locations
|
|
|
|
response:
|
|
modify_response_hooks:
|
|
- googlecloudsdk.command_lib.redis.zones_util:ExtractZonesFromRegionsListResponse
|
|
|
|
output:
|
|
format: |
|
|
table(
|
|
name:label=ZONE:sort=1,
|
|
region
|
|
)
|