MonitorConfig Class

Class containing endpoint monitoring settings in a Traffic Manager profile.

Constructor

MonitorConfig(*, profile_monitor_status: str | _models.ProfileMonitorStatus | None = None, protocol: str | _models.MonitorProtocol | None = None, port: int | None = None, path: str | None = None, interval_in_seconds: int | None = None, timeout_in_seconds: int | None = None, tolerated_number_of_failures: int | None = None, custom_headers: List[_models.MonitorConfigCustomHeadersItem] | None = None, expected_status_code_ranges: List[_models.MonitorConfigExpectedStatusCodeRangesItem] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
profile_monitor_status

The profile-level monitoring status of the Traffic Manager profile. Known values are: "CheckingEndpoints", "Online", "Degraded", "Disabled", and "Inactive".

Default value: None
protocol

The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. Known values are: "HTTP", "HTTPS", and "TCP".

Default value: None
port
int

The TCP port used to probe for endpoint health.

Default value: None
path
str

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

Default value: None
interval_in_seconds
int

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.

Default value: None
timeout_in_seconds
int

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.

Default value: None
tolerated_number_of_failures
int

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.

Default value: None
custom_headers

List of custom headers.

Default value: None
expected_status_code_ranges

List of expected status code ranges.

Default value: None

Variables

Name Description
profile_monitor_status

The profile-level monitoring status of the Traffic Manager profile. Known values are: "CheckingEndpoints", "Online", "Degraded", "Disabled", and "Inactive".

protocol

The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. Known values are: "HTTP", "HTTPS", and "TCP".

port
int

The TCP port used to probe for endpoint health.

path
str

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

interval_in_seconds
int

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.

timeout_in_seconds
int

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.

tolerated_number_of_failures
int

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.

custom_headers

List of custom headers.

expected_status_code_ranges

List of expected status code ranges.