{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-https-health-check-schema.json",
  "title": "HttpsHealthCheck",
  "description": "Represents a legacy HTTPS Health Check resource.\n\nLegacy HTTPS health checks have been deprecated. If you are using a target\npool-based network load balancer, you must use a legacy HTTP (not HTTPS)\nhealth check. For all other load balancers, including backend service-based\nnetwork load balancers, and for managed instance group auto-healing, you must\nuse modern (non-legacy) health checks.\n\nFor more information, seeHealth checks\noverview.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-https-health-checks-api-openapi.yml#/components/schemas/HttpsHealthCheck",
  "type": "object",
  "properties": {
    "timeoutSec": {
      "format": "int32",
      "type": "integer",
      "description": "How long (in seconds) to wait before claiming failure. The default value is\n5 seconds. It is invalid for timeoutSec to have a greater value than\ncheckIntervalSec."
    },
    "description": {
      "description": "An optional description of this resource. Provide this property when you\ncreate the resource.",
      "type": "string"
    },
    "checkIntervalSec": {
      "description": "How often (in seconds) to send a health check. The default value is 5\nseconds.",
      "format": "int32",
      "type": "integer"
    },
    "creationTimestamp": {
      "description": "[Output Only] Creation timestamp inRFC3339\ntext format.",
      "type": "string"
    },
    "host": {
      "description": "The value of the host header in the HTTPS health check request. If left\nempty (default value), the public IP on behalf of which this health check\nis performed will be used.",
      "type": "string"
    },
    "selfLink": {
      "description": "[Output Only] Server-defined URL for the resource.",
      "type": "string"
    },
    "kind": {
      "default": "compute#httpsHealthCheck",
      "type": "string",
      "description": "Output only. Type of the resource.",
      "readOnly": true
    },
    "id": {
      "description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.",
      "format": "uint64",
      "type": "string"
    },
    "requestPath": {
      "type": "string",
      "description": "The request path of the HTTPS health check request. The default value is\n\"/\". Must comply withRFC3986."
    },
    "healthyThreshold": {
      "format": "int32",
      "type": "integer",
      "description": "A so-far unhealthy instance will be marked healthy after this\nmany consecutive successes. The default value is 2."
    },
    "name": {
      "type": "string",
      "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
      "description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash."
    },
    "unhealthyThreshold": {
      "type": "integer",
      "format": "int32",
      "description": "A so-far healthy instance will be marked unhealthy after this\nmany consecutive failures. The default value is 2."
    },
    "port": {
      "description": "The TCP port number for the HTTPS health check request. The default value\nis 443.",
      "type": "integer",
      "format": "int32"
    }
  }
}