MonitorConfig Class

Definition

Class containing endpoint monitoring settings in a Traffic Manager profile.

public class MonitorConfig
Inheritance
java.lang.Object
MonitorConfig

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

MonitorConfig()

Methods

customHeaders()

Get list of custom headers.

expectedStatusCodeRanges()

Get list of expected status code ranges.

intervalInSeconds()

Get 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()

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

port()

Get the TCP port used to probe for endpoint health.

profileMonitorStatus()

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

protocol()

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

timeoutInSeconds()

Get 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()

Get 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.

withCustomHeaders(List<MonitorConfigCustomHeadersItem> customHeaders)

Set list of custom headers.

withExpectedStatusCodeRanges(List<MonitorConfigExpectedStatusCodeRangesItem> expectedStatusCodeRanges)

Set list of expected status code ranges.

withIntervalInSeconds(Long intervalInSeconds)

Set 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.

withPath(String path)

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

withPort(Long port)

Set the TCP port used to probe for endpoint health.

withProfileMonitorStatus(ProfileMonitorStatus profileMonitorStatus)

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

withProtocol(MonitorProtocol protocol)

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

withTimeoutInSeconds(Long timeoutInSeconds)

Set 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.

withToleratedNumberOfFailures(Long toleratedNumberOfFailures)

Set 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