1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/alpha/deploy/delete

64 lines
2.2 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
2023-12-14 10:23:58 +00:00
gcloud alpha deploy delete - deletes Delivery Pipeline(s), Target(s),
Custom Target Type(s), and Automation(s) in a yaml configuration
2022-03-01 04:29:52 +00:00
SYNOPSIS
gcloud alpha deploy delete --file=FILE [--force] [--region=REGION]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
2023-12-14 10:23:58 +00:00
(ALPHA) Deletes Delivery Pipeline(s), Target(s), Custom Target Type(s), and
Automation(s) in a yaml configuration.
2022-03-01 04:29:52 +00:00
EXAMPLES
2023-12-14 10:23:58 +00:00
To delete the resources in a Cloud Deploy YAML file deploy.yaml:
2022-03-01 04:29:52 +00:00
$ gcloud alpha deploy delete --file=deploy.yaml --region=us-central1
REQUIRED FLAGS
--file=FILE
Path to yaml file containing Delivery Pipeline(s), Target(s)
declarative definitions.
OPTIONAL FLAGS
--force
If true, the delivery pipeline and its sub-resources (releases and
rollouts) are deleted.
Location resource - The Cloud region of {resource}. This represents a
Cloud resource. (NOTE) Some attributes are not given arguments in this
2023-05-04 10:43:54 +00:00
group but can be set in other ways.
To set the project attribute:
2022-03-01 04:29:52 +00:00
◆ provide the argument --region on the command line with a fully
specified name;
◆ set the property deploy/region with a fully specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
--region=REGION
2023-05-04 10:43:54 +00:00
ID of the location or fully qualified identifier for the location.
To set the region attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument --region on the command line;
▸ set the property deploy/region.
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 command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
$ gcloud deploy delete
$ gcloud beta deploy delete