- NAME
- gcloud compute url-maps set-default-service - change the default service of a URL map
- SYNOPSIS
-
gcloud compute url-maps set-default-service
NAME
--default-service
DEFAULT_SERVICE
[--format
FORMAT
] [--help
] [--project
PROJECT_ID
] [--quiet
, -q
] [-h
]
- DESCRIPTION
-
gcloud compute url-maps set-default-service
is used to change the default service of a URL
map. The default service is used for any requests for which
there is no mapping in the URL map.
- POSITIONAL ARGUMENTS
-
NAME
-
The name of the URL map.
- FLAGS
-
--default-service
DEFAULT_SERVICE
-
A backend service that will be used for requests for which this URL map has no mappings.
- GLOBAL FLAGS
-
--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.
-
--project
PROJECT_ID
-
The Google Cloud Platform project name to use for this invocation. If
omitted then the current project is assumed.
-
--quiet
, -q
-
Disable all interactive prompts when running gcloud commands. If input
is required, defaults will be used, or an error will be raised.
-
-h
-
Print a summary help and exit.
- NOTES
- This command is in the Google Cloud SDK
compute
component. See
installing components
if it is not installed.