TrafficManagerProfileMonitorConfig

data class TrafficManagerProfileMonitorConfig(val customHeaders: List<TrafficManagerProfileMonitorConfigCustomHeader>? = null, val expectedStatusCodeRanges: List<String>? = null, val intervalInSeconds: Int? = null, val path: String? = null, val port: Int, val protocol: String, val timeoutInSeconds: Int? = null, val toleratedNumberOfFailures: Int? = null)

Constructors

Link copied to clipboard
constructor(customHeaders: List<TrafficManagerProfileMonitorConfigCustomHeader>? = null, expectedStatusCodeRanges: List<String>? = null, intervalInSeconds: Int? = null, path: String? = null, port: Int, protocol: String, timeoutInSeconds: Int? = null, toleratedNumberOfFailures: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

One or more custom_header blocks as defined below.

Link copied to clipboard

A list of status code ranges in the format of 100-101.

Link copied to clipboard
val intervalInSeconds: Int? = null

The interval used to check the endpoint health from a Traffic Manager probing agent. You can specify two values here: 30 (normal probing) and 10 (fast probing). The default value is 30.

Link copied to clipboard
val path: String? = null

The path used by the monitoring checks. Required when protocol is set to HTTP or HTTPS - cannot be set when protocol is set to TCP.

Link copied to clipboard
val port: Int

The port number used by the monitoring checks.

Link copied to clipboard

The protocol used by the monitoring checks, supported values are HTTP, HTTPS and TCP.

Link copied to clipboard
val timeoutInSeconds: Int? = null

The amount of time the Traffic Manager probing agent should wait before considering that check a failure when a health check probe is sent to the endpoint. If interval_in_seconds is set to 30, then timeout_in_seconds can be between 5 and 10. The default value is 10. If interval_in_seconds is set to 10, then valid values are between 5 and 9 and timeout_in_seconds is required.

Link copied to clipboard

The number of failures a Traffic Manager probing agent tolerates before marking that endpoint as unhealthy. Valid values are between 0 and 9. The default value is 3