File: //snap/google-cloud-cli/394/help/man/man1/gcloud_beta_compute_url-maps_validate.1
.TH "GCLOUD_BETA_COMPUTE_URL\-MAPS_VALIDATE" 1
.SH "NAME"
.HP
gcloud beta compute url\-maps validate \- validate a URL map
.SH "SYNOPSIS"
.HP
\f5gcloud beta compute url\-maps validate\fR [\fB\-\-load\-balancing\-scheme\fR=\fILOAD_BALANCING_SCHEME\fR] [\fB\-\-source\fR=\fISOURCE\fR] [\fB\-\-global\fR\ |\ \fB\-\-region\fR=\fIREGION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR Runs static validation for the UrlMap. In particular, the tests of
the provided UrlMap will be run. Calling this method does NOT create or update
the UrlMap.
.SH "EXAMPLES"
A URL map can be validated by running:
.RS 2m
$ gcloud beta compute url\-maps validate \-\-source=<path\-to\-file>
.RE
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-load\-balancing\-scheme\fR=\fILOAD_BALANCING_SCHEME\fR
Specifies the load balancer type this validation request is for. Use
\f5EXTERNAL_MANAGED\fR for global external Application Load Balancer. Use
\f5EXTERNAL\fR for classic Application Load Balancer.
Other load balancer types are not supported. For more information, refer to
Choosing a load balancer
(https://cloud.google.com/load\-balancing/docs/choosing\-load\-balancer/).
If unspecified, the load balancing scheme will be inferred from the backend
service resources this URL map references. If that can not be inferred (for
example, this URL map only references backend buckets, or this URL map is for
rewrites and redirects only and doesn't reference any backends), \f5EXTERNAL\fR
will be used as the default type.
If specified, the scheme must not conflict with the load balancing scheme of the
backend service resources this URL map references.
\fILOAD_BALANCING_SCHEME\fR must be one of: \fBEXTERNAL\fR,
\fBEXTERNAL_MANAGED\fR.
.TP 2m
\fB\-\-source\fR=\fISOURCE\fR
Path to a YAML file containing configuration export data. The YAML file must not
contain any output\-only fields. Alternatively, you may omit this flag to read
from standard input. For a schema describing the export/import format, see:
$CLOUDSDKROOT/lib/googlecloudsdk/schemas/compute/beta/UrlMap.yaml.
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-global\fR
If set, the URL map is global.
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
Region of the URL map to validate.
.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 beta and might change without notice. These
variants are also available:
.RS 2m
$ gcloud compute url\-maps validate
.RE
.RS 2m
$ gcloud alpha compute url\-maps validate
.RE