Class ContainerServiceDeploymentVersionPublicEndpointHealthCheck


  • public final class ContainerServiceDeploymentVersionPublicEndpointHealthCheck
    extends java.lang.Object
    • Method Detail

      • healthyThreshold

        public java.util.Optional<java.lang.Integer> healthyThreshold()
        Returns:
        The number of consecutive health checks successes required before moving the container to the Healthy state. Defaults to 2.
      • intervalSeconds

        public java.util.Optional<java.lang.Integer> intervalSeconds()
        Returns:
        The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. Defaults to 5.
      • path

        public java.util.Optional<java.lang.String> path()
        Returns:
        The path on the container on which to perform the health check. Defaults to "/".
      • successCodes

        public java.util.Optional<java.lang.String> successCodes()
        Returns:
        The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. Defaults to "200-499".
      • timeoutSeconds

        public java.util.Optional<java.lang.Integer> timeoutSeconds()
        Returns:
        The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. Defaults to 2.
      • unhealthyThreshold

        public java.util.Optional<java.lang.Integer> unhealthyThreshold()
        Returns:
        The number of consecutive health checks failures required before moving the container to the Unhealthy state. Defaults to 2.