MonitorConfigArgs

data class MonitorConfigArgs(val customHeaders: Output<List<MonitorConfigCustomHeadersArgs>>? = null, val expectedStatusCodeRanges: Output<List<MonitorConfigExpectedStatusCodeRangesArgs>>? = null, val intervalInSeconds: Output<Double>? = null, val path: Output<String>? = null, val port: Output<Double>? = null, val profileMonitorStatus: Output<Either<String, ProfileMonitorStatus>>? = null, val protocol: Output<Either<String, MonitorProtocol>>? = null, val timeoutInSeconds: Output<Double>? = null, val toleratedNumberOfFailures: Output<Double>? = null) : ConvertibleToJava<MonitorConfigArgs>

Class containing endpoint monitoring settings in a Traffic Manager profile.

Constructors

Link copied to clipboard
constructor(customHeaders: Output<List<MonitorConfigCustomHeadersArgs>>? = null, expectedStatusCodeRanges: Output<List<MonitorConfigExpectedStatusCodeRangesArgs>>? = null, intervalInSeconds: Output<Double>? = null, path: Output<String>? = null, port: Output<Double>? = null, profileMonitorStatus: Output<Either<String, ProfileMonitorStatus>>? = null, protocol: Output<Either<String, MonitorProtocol>>? = null, timeoutInSeconds: Output<Double>? = null, toleratedNumberOfFailures: Output<Double>? = null)

Properties

Link copied to clipboard

List of custom headers.

Link copied to clipboard

List of expected status code ranges.

Link copied to clipboard
val intervalInSeconds: Output<Double>? = null

The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.

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

The path relative to the endpoint domain name used to probe for endpoint health.

Link copied to clipboard
val port: Output<Double>? = null

The TCP port used to probe for endpoint health.

Link copied to clipboard
val profileMonitorStatus: Output<Either<String, ProfileMonitorStatus>>? = null

The profile-level monitoring status of the Traffic Manager profile.

Link copied to clipboard
val protocol: Output<Either<String, MonitorProtocol>>? = null

The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.

Link copied to clipboard
val timeoutInSeconds: Output<Double>? = null

The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.

Link copied to clipboard
val toleratedNumberOfFailures: Output<Double>? = null

The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.

Functions

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