1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/app/versions/delete
2022-03-01 04:29:52 +00:00

49 lines
1.4 KiB
Text

NAME
gcloud app versions delete - delete a specified version
SYNOPSIS
gcloud app versions delete VERSIONS [VERSIONS ...]
[--service=SERVICE, -s SERVICE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
You cannot delete a version of a service that is currently receiving
traffic.
EXAMPLES
To delete a specific version of a specific service, run:
$ gcloud app versions delete --service=myService v1
To delete a named version across all services, run:
$ gcloud app versions delete v1
To delete multiple versions of a specific service, run:
$ gcloud app versions delete --service=myService v1 v2
To delete multiple named versions across all services, run:
$ gcloud app versions delete v1 v2
POSITIONAL ARGUMENTS
VERSIONS [VERSIONS ...]
The versions to delete (optionally filtered by the --service flag).
FLAGS
--service=SERVICE, -s SERVICE
If specified, only delete versions from the given service.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
This variant is also available:
$ gcloud beta app versions delete