Package com.pulumi.gcp.compute.outputs
Class HealthCheckHttp2HealthCheck
- java.lang.Object
-
- com.pulumi.gcp.compute.outputs.HealthCheckHttp2HealthCheck
-
public final class HealthCheckHttp2HealthCheck extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HealthCheckHttp2HealthCheck.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthCheckHttp2HealthCheck.Builder
builder()
static HealthCheckHttp2HealthCheck.Builder
builder(HealthCheckHttp2HealthCheck defaults)
java.util.Optional<java.lang.String>
host()
java.util.Optional<java.lang.Integer>
port()
java.util.Optional<java.lang.String>
portName()
java.util.Optional<java.lang.String>
portSpecification()
java.util.Optional<java.lang.String>
proxyHeader()
java.util.Optional<java.lang.String>
requestPath()
java.util.Optional<java.lang.String>
response()
-
-
-
Method Detail
-
host
public java.util.Optional<java.lang.String> host()
- Returns:
- The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
-
port
public java.util.Optional<java.lang.Integer> port()
- Returns:
- The port number for the health check request. Must be specified if portName and portSpecification are not set or if port_specification is USE_FIXED_PORT. Valid values are 1 through 65535.
-
portName
public java.util.Optional<java.lang.String> portName()
- Returns:
- Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
-
portSpecification
public java.util.Optional<java.lang.String> portSpecification()
- Returns:
- Specifies how port is selected for health checking, can be one of the following values:
-
proxyHeader
public java.util.Optional<java.lang.String> proxyHeader()
- Returns:
- Specifies the type of proxy header to append before sending data to the backend. Default value is `NONE`. Possible values are: `NONE`, `PROXY_V1`.
-
requestPath
public java.util.Optional<java.lang.String> requestPath()
- Returns:
- The request path of the HTTP health check request. The default value is /.
-
response
public java.util.Optional<java.lang.String> response()
- Returns:
- The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
-
builder
public static HealthCheckHttp2HealthCheck.Builder builder()
-
builder
public static HealthCheckHttp2HealthCheck.Builder builder(HealthCheckHttp2HealthCheck defaults)
-
-