gcloud_beta_compute_target-http-proxies_create (1)
NAME
- gcloud beta compute target-http-proxies create - create a target HTTP proxy
SYNOPSIS
-
gcloud beta compute target-http-proxies create NAME --url-map=URL_MAP [--description=DESCRIPTION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) gcloud beta compute target-http-proxies create is used to
POSITIONAL ARGUMENTS
-
- NAME
-
Name of the target HTTP proxy to create.
REQUIRED FLAGS
-
- --url-map=URL_MAP
-
A reference to a URL map resource that defines the mapping of URLs to backend
services. The URL map must exist and cannot be deleted while referenced by a
target HTTP proxy.
OPTIONAL FLAGS
-
- --description=DESCRIPTION
-
An optional, textual description for the target HTTP proxy.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
If there is an already-created URL map with the name URL_MAP, create a target HTTP proxy pointing to this map by running:
-
$ gcloud beta compute target-http-proxies create PROXY_NAME \
--url-map URL_MAP
To create a proxy with a textual description, run:
-
$ gcloud beta compute target-http-proxies create PROXY_NAME \
--url-map URL_MAP --description "default proxy"
NOTES
This command is currently in BETA and may change without notice. These variants are also available:
- $ gcloud compute target-http-proxies create $ gcloud alpha compute target-http-proxies create