- gcloud compute http-health-checks update - update an HTTP health check
gcloud compute http-health-checks update NAME [--check-interval=CHECK_INTERVAL] [--description=DESCRIPTION] [--healthy-threshold=HEALTHY_THRESHOLD] [--host=HOST] [--port=PORT] [--request-path=REQUEST_PATH] [--timeout=TIMEOUT] [--unhealthy-threshold=UNHEALTHY_THRESHOLD] [GCLOUD_WIDE_FLAG ...]
gcloud compute http-health-checks update is used to update an existing
Name of the HTTP health check to update.
How often to perform a health check for an instance. For example, specifying
10s will run the check every 10 seconds. See $ gcloud topic
datetimes for information on duration formats.
A textual description for the HTTP health check. Pass in an empty string to
The number of consecutive successful health checks before an unhealthy instance
is marked as healthy.
The value of the host header used in this HTTP health check request. By default,
this is empty and Google Compute Engine automatically sets the host header in
health requests to the same external IP address as the forwarding rule
associated with the target pool. Setting this to an empty string will clear any
existing host value.
The TCP port number that this health check monitors.
The request path that this health check monitors. For example,
If Google Compute Engine doesn't receive an HTTP 200 response from the instance
by the time specified by the value of this flag, the health check request is
considered a failure. For example, specifying 10s will cause the
check to wait for 10 seconds before considering the request a failure. Valid
units for this flag are ``s'' for seconds and ``m'' for minutes.
The number of consecutive health check failures before a healthy instance is
marked as unhealthy.
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.
These variants are also available:
- $ gcloud alpha compute http-health-checks update $ gcloud beta compute http-health-checks update