Delen via


TrafficManagerMonitorConfig Class

Definition

Class containing endpoint monitoring settings in a Traffic Manager profile.

public class TrafficManagerMonitorConfig : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.TrafficManager.Models.TrafficManagerMonitorConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.TrafficManager.Models.TrafficManagerMonitorConfig>
type TrafficManagerMonitorConfig = class
    interface IJsonModel<TrafficManagerMonitorConfig>
    interface IPersistableModel<TrafficManagerMonitorConfig>
Public Class TrafficManagerMonitorConfig
Implements IJsonModel(Of TrafficManagerMonitorConfig), IPersistableModel(Of TrafficManagerMonitorConfig)
Inheritance
TrafficManagerMonitorConfig
Implements

Constructors

TrafficManagerMonitorConfig()

Initializes a new instance of TrafficManagerMonitorConfig.

Properties

CustomHeaders

List of custom headers.

ExpectedStatusCodeRanges

List of expected status code ranges.

IntervalInSeconds

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

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

Port

The TCP port used to probe for endpoint health.

ProfileMonitorStatus

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

Protocol

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

TimeoutInSeconds

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

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.

Explicit Interface Implementations

IJsonModel<TrafficManagerMonitorConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<TrafficManagerMonitorConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TrafficManagerMonitorConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TrafficManagerMonitorConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<TrafficManagerMonitorConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to