1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-10 11:21:48 +00:00
gcloud-help/gcloud/compute/url-maps/validate
2022-03-01 04:29:52 +00:00

48 lines
1.5 KiB
Text

NAME
gcloud compute url-maps validate - validate a URL map
SYNOPSIS
gcloud compute url-maps validate [--source=SOURCE]
[--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
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.
EXAMPLES
A URL map can be validated by running:
$ gcloud compute url-maps validate --source=<path-to-file>
FLAGS
--source=SOURCE
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/v1/UrlMap.yaml.
At most one of these can be specified:
--global
If set, the URL map is global.
--region=REGION
Region of the URL map to validate.
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
These variants are also available:
$ gcloud alpha compute url-maps validate
$ gcloud beta compute url-maps validate