MonitorConfig Class
Class containing endpoint monitoring settings in a Traffic Manager profile.
- Inheritance
-
MonitorConfig
Constructor
MonitorConfig(*, profile_monitor_status: Optional[Union[str, azure.mgmt.trafficmanager.models._traffic_manager_management_client_enums.ProfileMonitorStatus]] = None, protocol: Optional[Union[str, azure.mgmt.trafficmanager.models._traffic_manager_management_client_enums.MonitorProtocol]] = None, port: Optional[int] = None, path: Optional[str] = None, interval_in_seconds: Optional[int] = None, timeout_in_seconds: Optional[int] = None, tolerated_number_of_failures: Optional[int] = None, custom_headers: Optional[List[azure.mgmt.trafficmanager.models._models_py3.MonitorConfigCustomHeadersItem]] = None, expected_status_code_ranges: Optional[List[azure.mgmt.trafficmanager.models._models_py3.MonitorConfigExpectedStatusCodeRangesItem]] = None, **kwargs)
Variables
- profile_monitor_status
- str or ProfileMonitorStatus
The profile-level monitoring status of the Traffic Manager profile. Possible values include: "CheckingEndpoints", "Online", "Degraded", "Disabled", "Inactive".
- protocol
- str or MonitorProtocol
The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. Possible values include: "HTTP", "HTTPS", "TCP".
- port
- <xref:long>
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
- <xref:long>
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
- <xref:long>
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
- <xref:long>
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[MonitorConfigCustomHeadersItem]
List of custom headers.
- expected_status_code_ranges
- list[MonitorConfigExpectedStatusCodeRangesItem]
List of expected status code ranges.
Feedback
Submit and view feedback for