gcloud beta compute https-health-checks update Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta compute https-health-checks update - update a legacy HTTPS health check
- SYNOPSIS
gcloud beta compute https-health-checks updateNAME[--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 …]
- DESCRIPTION
(BETA)gcloud beta compute https-health-checks updateis used to update an existing legacy HTTPS health check. Only arguments passedin will be updated on the health check. Other attributes will remain unaffected.- POSITIONAL ARGUMENTS
NAME- Name of the HTTPS health check to update.
- FLAGS
--check-interval=CHECK_INTERVAL- How often to perform a health check for an instance. For example, specifying
will run the check every 10 seconds.See $gcloud topic datetimesfor information on duration formats.10s --description=DESCRIPTION- A textual description for the HTTPS health check. Pass in an empty string tounset.
--healthy-threshold=HEALTHY_THRESHOLD- The number of consecutive successful health checks before an unhealthy instanceis marked as healthy.
--host=HOST- The value of the host header used in this HTTPS health check request. Bydefault, this is empty and Compute Engine automatically sets the host header inhealth requests to the same external IP address as the forwarding ruleassociated with the target pool. Setting this to an empty string will clear anyexisting host value.
--port=PORT- The TCP port number that this health check monitors.
--request-path=REQUEST_PATH- The request path that this health check monitors. For example,
./healthcheck --timeout=TIMEOUT- If Compute Engine doesn't receive an HTTPS 200 response from the instance by thetime specified by the value of this flag, the health check request is considereda failure. For example, specifying
willcause the check to wait for 10 seconds before considering the request a failure.See $gcloud topic datetimesfor information on duration formats.10s --unhealthy-threshold=UNHEALTHY_THRESHOLD- The number of consecutive health check failures before a healthy instance ismarked as unhealthy.
- 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
$gcloud helpfor details. - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudcomputehttps-health-checksupdategcloudalphacomputehttps-health-checksupdate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.