MonitorConfig Class

Class containing endpoint monitoring settings in a Traffic Manager profile.

Constructor

MonitorConfig(*args: Any, **kwargs: Any)

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.

Attributes

custom_headers

List of custom headers.

custom_headers: list['_models.MonitorConfigCustomHeadersItem'] | None

expected_status_code_ranges

List of expected status code ranges.

expected_status_code_ranges: list['_models.MonitorConfigExpectedStatusCodeRangesItem'] | None

interval_in_seconds

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.

interval_in_seconds: int | None

path

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

path: str | None

port

The TCP port used to probe for endpoint health.

port: int | None

profile_monitor_status

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

profile_monitor_status: str | _models.ProfileMonitorStatus | None

protocol

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

protocol: str | _models.MonitorProtocol | None

timeout_in_seconds

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.

timeout_in_seconds: int | None

tolerated_number_of_failures

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.

tolerated_number_of_failures: int | None