Get Healthcheck Result
data class GetHealthcheckResult(val address: String, val checkRegions: List<String>, val consecutiveFails: Int, val consecutiveSuccesses: Int, val createdOn: String, val description: String, val failureReason: String, val healthcheckId: String? = null, val httpConfig: GetHealthcheckHttpConfig, val id: String, val interval: Int, val modifiedOn: String, val name: String, val retries: Int, val status: String, val suspended: Boolean, val tcpConfig: GetHealthcheckTcpConfig, val timeout: Int, val type: String, val zoneId: String)
A collection of values returned by getHealthcheck.
Constructors
Link copied to clipboard
constructor(address: String, checkRegions: List<String>, consecutiveFails: Int, consecutiveSuccesses: Int, createdOn: String, description: String, failureReason: String, healthcheckId: String? = null, httpConfig: GetHealthcheckHttpConfig, id: String, interval: Int, modifiedOn: String, name: String, retries: Int, status: String, suspended: Boolean, tcpConfig: GetHealthcheckTcpConfig, timeout: Int, type: String, zoneId: String)
Properties
Link copied to clipboard
A list of regions from which to run health checks. Null means Cloudflare will pick a default region.
Link copied to clipboard
The number of consecutive fails required from a health check before changing the health to unhealthy.
Link copied to clipboard
The number of consecutive successes required from a health check before changing the health to healthy.
Link copied to clipboard
A human-readable description of the health check.
Link copied to clipboard
The current failure reason if status is unhealthy.
Link copied to clipboard
Identifier
Link copied to clipboard
Parameters specific to an HTTP or HTTPS health check.
Link copied to clipboard
Link copied to clipboard
Parameters specific to TCP health check.