google::compute-regional-health-check

Creates a regional health check.

Examples

google::compute-regional-health-check regional-health-check-example-http
    name: "regional-health-check-example-http"
    region: "us-east1"

    http-health-check
        request-path: "/myapp"
    end
end
google::compute-regional-health-check regional-health-check-example-https
    name: "regional-health-check-example-https"
    check-interval-sec: 30
    description: "regional-health-check-example-description"
    healthy-threshold: 8
    timeout-sec: 29
    unhealthy-threshold: 6
    region: "us-east1"

    https-health-check
        request-path: "/myapp"
        response: "okay"
    end
end
google::compute-regional-health-check regional-health-check-example-http2
    name: "regional-health-check-example-http2"
    check-interval-sec: 30
    description: "regional-health-check-example-description"
    healthy-threshold: 8
    timeout-sec: 29
    unhealthy-threshold: 6
    region: "us-east1"

    http2-health-check
        proxy-header: "PROXY_V1"
        request-path: "/myapp"
        response: "okay"
    end
end
google::compute-regional-health-check regional-health-check-example-tcp
    name: "regional-health-check-example-tcp"
    check-interval-sec: 30
    description: "regional-health-check-example-description"
    healthy-threshold: 8
    timeout-sec: 29
    unhealthy-threshold: 6
    region: "us-east1"

    tcp-health-check
        proxy-header: "PROXY_V1"
        request-path: "/myapp"
        response: "okay"
    end
end
google::compute-regional-health-check regional-health-check-example-ssh
    name: "regional-health-check-example-ssh"
    check-interval-sec: 30
    description: "regional-health-check-example-description"
    healthy-threshold: 8
    timeout-sec: 29
    unhealthy-threshold: 6
    region: "us-east1"

    ssh-health-check
        port: 501
        port-name: "custom-port"
        proxy-header: "PROXY_V1"
        request-path: "/myapp"
        response: "okay"
    end
end