Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateContainerHttpHealthCheckDetails

Container Health Check HTTP type.

Properties

Optional failureAction

failureAction: model.ContainerHealthCheckFailureAction

The action will be triggered when the container health check fails. There are two types of action: KILL or NONE. The default action is KILL. If failure action is KILL, the container will be subject to the container restart policy.

Optional failureThreshold

failureThreshold: undefined | number

Number of consecutive failures at which we consider the check failed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional headers

Container health check HTTP headers.

Const healthCheckType

healthCheckType: string = "HTTP"

Optional initialDelayInSeconds

initialDelayInSeconds: undefined | number

The initial delay in seconds before start checking container health status. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional intervalInSeconds

intervalInSeconds: undefined | number

Number of seconds between two consecutive runs for checking container health. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional name

name: undefined | string

Health check name.

path

path: string

Container health check HTTP path.

port

port: number

Container health check HTTP port. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional successThreshold

successThreshold: undefined | number

Number of consecutive successes at which we consider the check succeeded again after it was in failure state. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional timeoutInSeconds

timeoutInSeconds: undefined | number

Length of waiting time in seconds before marking health check failed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Methods

getDeserializedJsonObj

getJsonObj