- NAME
- gcloud-compute-backend-services-create - Create a backend service
- SYNOPSIS
-
gcloud compute backend-services create NAME [--description DESCRIPTION] [--format FORMAT] [--help] --http-health-check HTTP_HEALTH_CHECK [--port PORT; default="80"] [--project PROJECT] [--quiet, -q] [--timeout TIMEOUT; default="30s"] [-h]
- DESCRIPTION
-
gcloud compute backend-services create
is used to create backend services. Backend services define groups of backends that can receive traffic. Each backend group has parameters that define the group’s capacity (e.g., max CPU utilization, max queries per second, …). URL maps define which requests are sent to which backend services. -
Backend services created through this command will start out
without any backend groups. To add backend groups, use
gcloud compute backend-services add-backend
orgcloud compute backend-services edit
. - POSITIONAL ARGUMENTS
-
-
NAME
- The name of the backend service.
-
- FLAGS
-
-
--description
DESCRIPTION
- An optional, textual description for the backend service.
-
--format
FORMAT
- Specify a format for printed output. By default, a command-specific human-friendly output format is used. Setting this flag to one of the available options will serialize the result of the command in the chosen format and print it to stdout. Supported formats are: "json", "text", "yaml".
-
--help
- Display detailed help.
-
--http-health-check
HTTP_HEALTH_CHECK
- An HTTP health check object for checking the health of the backend service.
-
--port
PORT
- The TCP port to use when connected to the backend.
-
--project
PROJECT
- Google Cloud Platform project to use for this invocation.
-
--quiet
- Disable all interactive prompts when running gcloud commands. If input is required, defaults will be used, or an error will be raised.
-
--timeout
TIMEOUT
- The amount of time to wait for a backend to respond to a request before considering the request failed. For example, specifying “10s” will give backends 10 seconds to respond to requests. Valid units for this flag are “s” for seconds, “m” for minutes, and “h” for hours.
-
-h
- Print a summary help and exit.
-
gcloud compute backend-services create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License , and code samples are licensed under the Apache 2.0 License . For details, see our Site Policies .
Last updated August 11, 2014.