View Source GoogleApi.AppEngine.V1.Model.LivenessCheck (google_api_app_engine v0.42.0)

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.

Attributes

  • checkInterval (type: String.t, default: nil) - Interval between health checks.
  • failureThreshold (type: integer(), default: nil) - Number of consecutive failed checks required before considering the VM unhealthy.
  • host (type: String.t, default: nil) - Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
  • initialDelay (type: String.t, default: nil) - The initial delay before starting to execute the checks.
  • path (type: String.t, default: nil) - The request path.
  • successThreshold (type: integer(), default: nil) - Number of consecutive successful checks required before considering the VM healthy.
  • timeout (type: String.t, default: nil) - Time before the check is considered failed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AppEngine.V1.Model.LivenessCheck{
  checkInterval: String.t() | nil,
  failureThreshold: integer() | nil,
  host: String.t() | nil,
  initialDelay: String.t() | nil,
  path: String.t() | nil,
  successThreshold: integer() | nil,
  timeout: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.