ApplicationGatewayProbe Interface

Implements

public interface ApplicationGatewayProbe
extends HasInnerModel<ApplicationGatewayProbeInner>, ChildResource<ApplicationGateway>, HasProtocol<ApplicationGatewayProtocol>

A client-side representation of an application gateway probe.

Method Summary

Modifier and Type Method and Description
abstract String healthyHttpResponseBodyContents()
abstract Set<String> healthyHttpResponseStatusCodeRanges()
abstract String host()
abstract Boolean isHostNameFromBackendHttpSettings()

Whether probe uses the host name from the HTTP settings to which this probe is associated.

abstract String path()
abstract int retriesBeforeUnhealthy()
abstract int timeBetweenProbesInSeconds()
abstract int timeoutInSeconds()

Method Details

healthyHttpResponseBodyContents

public abstract String healthyHttpResponseBodyContents()

Returns:

the body contents of an HTTP response to a probe to check for to determine backend health, or null if none specified

healthyHttpResponseStatusCodeRanges

public abstract Set healthyHttpResponseStatusCodeRanges()

Returns:

HTTP response code ranges in the format ###-### returned by the backend which the probe considers healthy.

host

public abstract String host()

Returns:

host name to send the probe to

isHostNameFromBackendHttpSettings

public abstract Boolean isHostNameFromBackendHttpSettings()

Whether probe uses the host name from the HTTP settings to which this probe is associated.

Returns:

Whether probe uses the host name from the HTTP settings.

path

public abstract String path()

Returns:

the relative path to be called by the probe

retriesBeforeUnhealthy

public abstract int retriesBeforeUnhealthy()

Returns:

the number of failed retry probes before the backend server is marked as being down

Acceptable values are from 1 second to 20.

timeBetweenProbesInSeconds

public abstract int timeBetweenProbesInSeconds()

Returns:

the number of seconds between probe retries

timeoutInSeconds

public abstract int timeoutInSeconds()

Returns:

the number of seconds waiting for a response after which the probe times out and it is marked as failed

Acceptable values are from 1 to 86400 seconds.

Applies to