HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/help/man/man1/gcloud_compute_http-health-checks_update.1
.TH "GCLOUD_COMPUTE_HTTP\-HEALTH\-CHECKS_UPDATE" 1



.SH "NAME"
.HP
gcloud compute http\-health\-checks update \- update a legacy HTTP health check



.SH "SYNOPSIS"
.HP
\f5gcloud compute http\-health\-checks update\fR \fINAME\fR [\fB\-\-check\-interval\fR=\fICHECK_INTERVAL\fR] [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-healthy\-threshold\fR=\fIHEALTHY_THRESHOLD\fR] [\fB\-\-host\fR=\fIHOST\fR] [\fB\-\-port\fR=\fIPORT\fR] [\fB\-\-request\-path\fR=\fIREQUEST_PATH\fR] [\fB\-\-timeout\fR=\fITIMEOUT\fR] [\fB\-\-unhealthy\-threshold\fR=\fIUNHEALTHY_THRESHOLD\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fBgcloud compute http\-health\-checks update\fR is used to update an existing
legacy HTTP health check. Only arguments passed in will be updated on the health
check. Other attributes will remain unaffected.



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m
\fINAME\fR

Name of the HTTP health check to update.


.RE
.sp

.SH "FLAGS"

.RS 2m
.TP 2m
\fB\-\-check\-interval\fR=\fICHECK_INTERVAL\fR

How often to perform a health check for an instance. For example, specifying
\f5\fI10s\fR\fR will run the check every 10 seconds. See $ gcloud topic
datetimes for information on duration formats.

.TP 2m
\fB\-\-description\fR=\fIDESCRIPTION\fR

A textual description for the HTTP health check. Pass in an empty string to
unset.

.TP 2m
\fB\-\-healthy\-threshold\fR=\fIHEALTHY_THRESHOLD\fR

The number of consecutive successful health checks before an unhealthy instance
is marked as healthy.

.TP 2m
\fB\-\-host\fR=\fIHOST\fR

The value of the host header used in this HTTP health check request. By default,
this is empty and 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.

.TP 2m
\fB\-\-port\fR=\fIPORT\fR

The TCP port number that this health check monitors.

.TP 2m
\fB\-\-request\-path\fR=\fIREQUEST_PATH\fR

The request path that this health check monitors. For example,
\f5\fI/healthcheck\fR\fR.

.TP 2m
\fB\-\-timeout\fR=\fITIMEOUT\fR

If 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 \f5\fI10s\fR\fR 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.

.TP 2m
\fB\-\-unhealthy\-threshold\fR=\fIUNHEALTHY_THRESHOLD\fR

The number of consecutive health check failures before a healthy instance is
marked as unhealthy.


.RE
.sp

.SH "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 \fB$ gcloud help\fR for details.



.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha compute http\-health\-checks update
.RE

.RS 2m
$ gcloud beta compute http\-health\-checks update
.RE