GetLoadBalancerMonitorsResult

data class GetLoadBalancerMonitorsResult(val allowInsecure: Boolean, val consecutiveDown: Int, val consecutiveUp: Int, val createdOn: String, val description: String, val expectedBody: String, val expectedCodes: String, val followRedirects: Boolean, val header: Map<String, List<String>>, val id: String, val interval: Int, val method: String, val modifiedOn: String, val path: String, val port: Int, val probeZone: String, val retries: Int, val timeout: Int, val type: String)

Constructors

Link copied to clipboard
constructor(allowInsecure: Boolean, consecutiveDown: Int, consecutiveUp: Int, createdOn: String, description: String, expectedBody: String, expectedCodes: String, followRedirects: Boolean, header: Map<String, List<String>>, id: String, interval: Int, method: String, modifiedOn: String, path: String, port: Int, probeZone: String, retries: Int, timeout: Int, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTP and HTTPS monitors.

Link copied to clipboard

To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times.

Link copied to clipboard

To be marked healthy the monitored origin must pass this healthcheck N consecutive times.

Link copied to clipboard
Link copied to clipboard

Object description.

Link copied to clipboard

A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. This parameter is only valid for HTTP and HTTPS monitors.

Link copied to clipboard

The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS monitors.

Link copied to clipboard

Follow redirects if returned by the origin. This parameter is only valid for HTTP and HTTPS monitors.

Link copied to clipboard

The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden. This parameter is only valid for HTTP and HTTPS monitors.

Link copied to clipboard
val id: String
Link copied to clipboard

The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations.

Link copied to clipboard

The method to use for the health check. This defaults to 'GET' for HTTP/HTTPS based checks and 'connection_established' for TCP based health checks.

Link copied to clipboard
Link copied to clipboard

The endpoint path you want to conduct a health check against. This parameter is only valid for HTTP and HTTPS monitors.

Link copied to clipboard
val port: Int

The port number to connect to for the health check. Required for TCP, UDP, and SMTP checks. HTTP and HTTPS checks should only define the port when using a non-standard port (HTTP: default 80, HTTPS: default 443).

Link copied to clipboard

Assign this monitor to emulate the specified zone while probing. This parameter is only valid for HTTP and HTTPS monitors.

Link copied to clipboard

The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately.

Link copied to clipboard

The timeout (in seconds) before marking the health check as failed.

Link copied to clipboard

The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS', 'TCP', 'ICMP-PING', 'UDP-ICMP', and 'SMTP'. Available values: "http", "https", "tcp", "udpicmp", "icmpping", "smtp".