TrafficManagerProfileMonitorConfigArgs

data class TrafficManagerProfileMonitorConfigArgs(val customHeaders: Output<List<TrafficManagerProfileMonitorConfigCustomHeaderArgs>>? = null, val expectedStatusCodeRanges: Output<List<String>>? = null, val intervalInSeconds: Output<Int>? = null, val path: Output<String>? = null, val port: Output<Int>, val protocol: Output<String>, val timeoutInSeconds: Output<Int>? = null, val toleratedNumberOfFailures: Output<Int>? = null) : ConvertibleToJava<TrafficManagerProfileMonitorConfigArgs>

Constructors

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

Properties

Link copied to clipboard

One or more custom_header blocks as defined below.

Link copied to clipboard
val expectedStatusCodeRanges: Output<List<String>>? = null

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

Link copied to clipboard
val intervalInSeconds: Output<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: Output<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: Output<Int>

The port number used by the monitoring checks.

Link copied to clipboard
val protocol: Output<String>

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

Link copied to clipboard
val timeoutInSeconds: Output<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
val toleratedNumberOfFailures: Output<Int>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): TrafficManagerProfileMonitorConfigArgs