Class HealthCheckArgs


  • public final class HealthCheckArgs
    extends com.pulumi.resources.ResourceArgs
    • 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.