Package com.pulumi.gcp.compute
Class HealthCheckArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.compute.HealthCheckArgs
-
public final class HealthCheckArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HealthCheckArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static HealthCheckArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthCheckArgs.Builder
builder()
static HealthCheckArgs.Builder
builder(HealthCheckArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
checkIntervalSec()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<HealthCheckGrpcHealthCheckArgs>>
grpcHealthCheck()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
healthyThreshold()
java.util.Optional<com.pulumi.core.Output<HealthCheckHttp2HealthCheckArgs>>
http2HealthCheck()
java.util.Optional<com.pulumi.core.Output<HealthCheckHttpHealthCheckArgs>>
httpHealthCheck()
java.util.Optional<com.pulumi.core.Output<HealthCheckHttpsHealthCheckArgs>>
httpsHealthCheck()
java.util.Optional<com.pulumi.core.Output<HealthCheckLogConfigArgs>>
logConfig()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
java.util.Optional<com.pulumi.core.Output<HealthCheckSslHealthCheckArgs>>
sslHealthCheck()
java.util.Optional<com.pulumi.core.Output<HealthCheckTcpHealthCheckArgs>>
tcpHealthCheck()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
timeoutSec()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
unhealthyThreshold()
-
-
-
Field Detail
-
Empty
public static final HealthCheckArgs Empty
-
-
Method Detail
-
checkIntervalSec
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> checkIntervalSec()
- Returns:
- How often (in seconds) to send a health check. The default value is 5 seconds.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- An optional description of this resource. Provide this property when you create the resource.
-
grpcHealthCheck
public java.util.Optional<com.pulumi.core.Output<HealthCheckGrpcHealthCheckArgs>> grpcHealthCheck()
- Returns:
- A nested object resource Structure is documented below.
-
healthyThreshold
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> healthyThreshold()
- Returns:
- A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
-
http2HealthCheck
public java.util.Optional<com.pulumi.core.Output<HealthCheckHttp2HealthCheckArgs>> http2HealthCheck()
- Returns:
- A nested object resource Structure is documented below.
-
httpHealthCheck
public java.util.Optional<com.pulumi.core.Output<HealthCheckHttpHealthCheckArgs>> httpHealthCheck()
- Returns:
- A nested object resource Structure is documented below.
-
httpsHealthCheck
public java.util.Optional<com.pulumi.core.Output<HealthCheckHttpsHealthCheckArgs>> httpsHealthCheck()
- Returns:
- A nested object resource Structure is documented below.
-
logConfig
public java.util.Optional<com.pulumi.core.Output<HealthCheckLogConfigArgs>> logConfig()
- Returns:
- Configure logging on this health check. Structure is documented below.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. ***
-
project
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
- Returns:
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
sslHealthCheck
public java.util.Optional<com.pulumi.core.Output<HealthCheckSslHealthCheckArgs>> sslHealthCheck()
- Returns:
- A nested object resource Structure is documented below.
-
tcpHealthCheck
public java.util.Optional<com.pulumi.core.Output<HealthCheckTcpHealthCheckArgs>> tcpHealthCheck()
- Returns:
- A nested object resource Structure is documented below.
-
timeoutSec
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> timeoutSec()
- Returns:
- How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
-
unhealthyThreshold
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> unhealthyThreshold()
- Returns:
- A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
-
builder
public static HealthCheckArgs.Builder builder()
-
builder
public static HealthCheckArgs.Builder builder(HealthCheckArgs defaults)
-
-