Get Healthchecks Result
data class GetHealthchecksResult(val address: String, val checkRegions: List<String>, val consecutiveFails: Int, val consecutiveSuccesses: Int, val createdOn: String, val description: String, val failureReason: String, val httpConfig: GetHealthchecksResultHttpConfig, val id: String, val interval: Int, val modifiedOn: String, val name: String, val retries: Int, val status: String, val suspended: Boolean, val tcpConfig: GetHealthchecksResultTcpConfig, val timeout: Int, val type: String)
Constructors
Link copied to clipboard
constructor(address: String, checkRegions: List<String>, consecutiveFails: Int, consecutiveSuccesses: Int, createdOn: String, description: String, failureReason: String, httpConfig: GetHealthchecksResultHttpConfig, id: String, interval: Int, modifiedOn: String, name: String, retries: Int, status: String, suspended: Boolean, tcpConfig: GetHealthchecksResultTcpConfig, timeout: Int, type: 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
Parameters specific to an HTTP or HTTPS health check.
Link copied to clipboard
Link copied to clipboard
Parameters specific to TCP health check.