gcloud_alpha_redis_instances (1)
NAME
- gcloud alpha redis instances - manage Cloud Memorystore Redis instances
SYNOPSIS
-
gcloud alpha redis instances COMMAND [GCLOUD_WIDE_FLAG ...]
GCLOUD WIDE FLAGS
COMMANDS
COMMAND is one of the following:
-
- create
-
(ALPHA) Create a Memorystore Redis instance.
- delete
-
(ALPHA) Delete a Redis instance.
- describe
-
(ALPHA) Show metadata for a Memorystore Redis instance.
- list
-
(ALPHA) List Memorystore Redis instances.
- update
-
(ALPHA) Update Memorystore Redis instances.
EXAMPLES
To create an instance with the name my-redis-instance, run:
- $ gcloud alpha redis instances create my-redis-instance
To delete an instance with the name my-redis-instance, run:
- $ gcloud alpha redis instances delete my-redis-instance
To display the details for an instance with the name my-redis-instance, run:
- $ gcloud alpha redis instances describe my-redis-instance
To list all the instances, run:
- $ gcloud alpha redis instances list
To set the label env to prod for an instance with the name my-redis-instance, run:
-
$ gcloud alpha redis instances my-redis-instance \
--update-labels=env=prod
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud redis instances $ gcloud beta redis instances