MonitorConfig Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class containing endpoint monitoring settings in a Traffic Manager profile.
public class MonitorConfig
type MonitorConfig = class
Public Class MonitorConfig
- Inheritance
-
MonitorConfig
Constructors
MonitorConfig() |
Initializes a new instance of the MonitorConfig class. |
MonitorConfig(Nullable<ProfileMonitorStatus>, Nullable<MonitorProtocol>, Nullable<Int64>, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, IList<MonitorConfigCustomHeadersItem>, IList<MonitorConfigExpectedStatusCodeRangesItem>) |
Initializes a new instance of the MonitorConfig class. |
Properties
CustomHeaders |
Gets or sets list of custom headers. |
ExpectedStatusCodeRanges |
Gets or sets list of expected status code ranges. |
IntervalInSeconds |
Gets or sets 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. |
Path |
Gets or sets the path relative to the endpoint domain name used to probe for endpoint health. |
Port |
Gets or sets the TCP port used to probe for endpoint health. |
ProfileMonitorStatus |
Gets or sets the profile-level monitoring status of the Traffic Manager profile. Possible values include: 'CheckingEndpoints', 'Online', 'Degraded', 'Disabled', 'Inactive' |
Protocol |
Gets or sets the protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. Possible values include: 'HTTP', 'HTTPS', 'TCP' |
TimeoutInSeconds |
Gets or sets 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. |
ToleratedNumberOfFailures |
Gets or sets 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. |
Applies to
Azure SDK for .NET