File: //snap/google-cloud-cli/394/help/man/man1/gcloud_alpha_deploy_apply.1
.TH "GCLOUD_ALPHA_DEPLOY_APPLY" 1
.SH "NAME"
.HP
gcloud alpha deploy apply \- applies a yaml configuration containing Delivery Pipeline(s), Target(s), Custom Target Type(s), Deploy Policy(ies), and Automation(s) declarative definitions
.SH "SYNOPSIS"
.HP
\f5gcloud alpha deploy apply\fR \fB\-\-file\fR=\fIFILE\fR [\fB\-\-region\fR=\fIREGION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Applies a yaml configuration containing Delivery Pipeline(s),
Target(s), Custom Target Type(s), Deploy Policy(ies), and Automation(s)
declarative definitions.
.SH "EXAMPLES"
To apply a Cloud Deploy YAML file \f5deploy.yaml\fR:
.RS 2m
$ gcloud alpha deploy apply \-\-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
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"
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:
.RS 2m
$ gcloud deploy apply
.RE
.RS 2m
$ gcloud beta deploy apply
.RE