File: //snap/google-cloud-cli/394/help/man/man1/gcloud_deploy_delete.1
.TH "GCLOUD_DEPLOY_DELETE" 1
.SH "NAME"
.HP
gcloud deploy delete \- deletes Delivery Pipeline(s), Target(s), Custom Target Type(s), and Automation(s) in a yaml configuration
.SH "SYNOPSIS"
.HP
\f5gcloud deploy delete\fR \fB\-\-file\fR=\fIFILE\fR [\fB\-\-force\fR] [\fB\-\-region\fR=\fIREGION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Deletes Delivery Pipeline(s), Target(s), Custom Target Type(s), and
Automation(s) in a yaml configuration.
.SH "EXAMPLES"
To delete the resources in a Cloud Deploy YAML file \f5deploy.yaml\fR:
.RS 2m
$ gcloud deploy delete \-\-file=deploy.yaml \-\-region=us\-central1
.RE
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-file\fR=\fIFILE\fR
Path to yaml file containing Delivery Pipeline(s), Target(s) declarative
definitions.
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-force\fR
If true, the delivery pipeline and its sub\-resources (releases and rollouts)
are deleted.
.TP 2m
Location resource \- The Cloud region of {resource}. This represents a Cloud
resource. (NOTE) Some attributes are not given arguments in this group but can
be set in other ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-region\fR on the command line with a fully specified
name;
.IP "\(em" 2m
set the property \f5deploy/region\fR with a fully specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
.RS 2m
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
ID of the location or fully qualified identifier for the location.
To set the \f5region\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-region\fR on the command line;
.IP "\(bu" 2m
set the property \f5deploy/region\fR.
.RE
.sp
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha deploy delete
.RE
.RS 2m
$ gcloud beta deploy delete
.RE