File: //snap/google-cloud-cli/current/lib/surface/redis/clusters/delete.yaml
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: |
Delete a Memorystore for Redis Cluster instance.
description: |
Delete a Memorystore for Redis Cluster instance.
This command can fail for the following reasons:
* The cluster specified does not exist.
* The active account does not have permission to access the given
cluster.
examples: |
To delete a cluster with the name `my-redis-cluster` in your default region, run:
$ {command} my-redis-cluster
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.redis.resources:cluster
help_text: |
Arguments and flags that specify the cluster you want to delete.
async:
collection: redis.projects.locations.operations
input:
confirmation_prompt: |
You are about to delete cluster [{__name__}] in [{locationsId}].
Any associated data will be lost.
request:
ALPHA:
api_version: v1alpha1
BETA:
api_version: v1beta1
GA:
api_version: v1
collection: redis.projects.locations.clusters