gcloud_alpha_run_revisions_delete (1)
NAME
- gcloud alpha run revisions delete - delete a revision
SYNOPSIS
-
gcloud alpha run revisions delete (REVISION : --namespace=NAMESPACE) [--region=REGION] [--cluster=CLUSTER --cluster-location=CLUSTER_LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Delete a revision.
POSITIONAL ARGUMENTS
-
-
- Revision resource - Revision to delete. The arguments in this group can be used to specify the attributes of this resource. This must be specified.
-
- REVISION
-
ID of the revision or fully qualified identifier for the revision. This
positional must be specified if any of the other arguments in this group are
specified.
- --namespace=NAMESPACE
-
Specific to Cloud Run on Kubernetes Engine: The Kubernetes namespace for the
revision
- Revision resource - Revision to delete. The arguments in this group can be used to specify the attributes of this resource. This must be specified.
-
FLAGS
-
- --region=REGION
-
The region in which to create the service.
-
Cluster resource - Specific to Cloud Run on Kubernetes Engine: The Kubernetes
Engine cluster to connect to. The arguments in this group can be used to specify
the attributes of this resource. (NOTE) Some attributes are not given arguments
in this group but can be set in other ways. To set the [project] attribute:
provide the argument [--cluster] on the command line with a fully specified
name; set the property [run/cluster] with a fully specified name; provide the
argument [--project] on the command line; set the property [core/project].
-
- --cluster=CLUSTER
-
ID of the cluster or fully qualified identifier for the cluster.
- --cluster-location=CLUSTER_LOCATION
-
Specific to Cloud Run on Kubernetes Engine: The location of the cluster.
-
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To delete a revision:
- $ gcloud alpha run revisions delete <revision-name>
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