共用方式為


MonitorConfig Constructors

Definition

Overloads

MonitorConfig()

Initializes a new instance of the MonitorConfig class.

MonitorConfig(String, String, Nullable<Int64>, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, IList<MonitorConfigCustomHeadersItem>, IList<MonitorConfigExpectedStatusCodeRangesItem>)

Initializes a new instance of the MonitorConfig class.

MonitorConfig()

Initializes a new instance of the MonitorConfig class.

public MonitorConfig ();
Public Sub New ()

Applies to

MonitorConfig(String, String, Nullable<Int64>, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, IList<MonitorConfigCustomHeadersItem>, IList<MonitorConfigExpectedStatusCodeRangesItem>)

Initializes a new instance of the MonitorConfig class.

public MonitorConfig (string profileMonitorStatus = default, string protocol = default, long? port = default, string path = default, long? intervalInSeconds = default, long? timeoutInSeconds = default, long? toleratedNumberOfFailures = default, System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Fluent.Models.MonitorConfigCustomHeadersItem> customHeaders = default, System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Fluent.Models.MonitorConfigExpectedStatusCodeRangesItem> expectedStatusCodeRanges = default);
new Microsoft.Azure.Management.TrafficManager.Fluent.Models.MonitorConfig : string * string * Nullable<int64> * string * Nullable<int64> * Nullable<int64> * Nullable<int64> * System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Fluent.Models.MonitorConfigCustomHeadersItem> * System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Fluent.Models.MonitorConfigExpectedStatusCodeRangesItem> -> Microsoft.Azure.Management.TrafficManager.Fluent.Models.MonitorConfig
Public Sub New (Optional profileMonitorStatus As String = Nothing, Optional protocol As String = Nothing, Optional port As Nullable(Of Long) = Nothing, Optional path As String = Nothing, Optional intervalInSeconds As Nullable(Of Long) = Nothing, Optional timeoutInSeconds As Nullable(Of Long) = Nothing, Optional toleratedNumberOfFailures As Nullable(Of Long) = Nothing, Optional customHeaders As IList(Of MonitorConfigCustomHeadersItem) = Nothing, Optional expectedStatusCodeRanges As IList(Of MonitorConfigExpectedStatusCodeRangesItem) = Nothing)

Parameters

profileMonitorStatus
String

The profile-level monitoring status of the Traffic Manager profile. Possible values include: 'CheckingEndpoints', 'Online', 'Degraded', 'Disabled', 'Inactive'

protocol
String

The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. Possible values include: 'HTTP', 'HTTPS', 'TCP'

port
Nullable<Int64>

The TCP port used to probe for endpoint health.

path
String

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

intervalInSeconds
Nullable<Int64>

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.

timeoutInSeconds
Nullable<Int64>

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
Nullable<Int64>

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.

customHeaders
IList<MonitorConfigCustomHeadersItem>

List of custom headers.

expectedStatusCodeRanges
IList<MonitorConfigExpectedStatusCodeRangesItem>

List of expected status code ranges.

Applies to