ApplicationGatewayProbe.UpdateStages.WithHealthyHttpResponseStatusCodeRanges Interface

public static interface ApplicationGatewayProbe.UpdateStages.WithHealthyHttpResponseStatusCodeRanges

The stage of an application gateway probe update allowing to specify healthy HTTP response status code ranges.

Method Summary

Modifier and Type Method and Description
abstract Update withHealthyHttpResponseStatusCodeRange(int from, int to)

Adds the specified range of the backend's HTTP response status codes that are to be considered healthy.

abstract Update withHealthyHttpResponseStatusCodeRange(String range)

Adds the specified range of the backend's HTTP response status codes that are to be considered healthy.

abstract Update withHealthyHttpResponseStatusCodeRanges(Set<String> ranges)

Specifies the ranges of the backend's HTTP response status codes that are to be considered healthy.

abstract Update withoutHealthyHttpResponseStatusCodeRanges()

Removes all healthy HTTP status response code ranges.

Method Details

withHealthyHttpResponseStatusCodeRange

public abstract ApplicationGatewayProbe.Update withHealthyHttpResponseStatusCodeRange(int from, int to)

Adds the specified range of the backend's HTTP response status codes that are to be considered healthy.

Parameters:

from - the lowest number in the range
to - the highest number in the range

Returns:

the next stage of the update

withHealthyHttpResponseStatusCodeRange

public abstract ApplicationGatewayProbe.Update withHealthyHttpResponseStatusCodeRange(String range)

Adds the specified range of the backend's HTTP response status codes that are to be considered healthy.

Parameters:

range - a number range expressed in the format "###-###", for example "200-399", which is the default

Returns:

the next stage of the update

withHealthyHttpResponseStatusCodeRanges

public abstract ApplicationGatewayProbe.Update withHealthyHttpResponseStatusCodeRanges(Set ranges)

Specifies the ranges of the backend's HTTP response status codes that are to be considered healthy.

Parameters:

ranges - number ranges expressed in the format "###-###", for example "200-399", which is the default

Returns:

the next stage of the update

withoutHealthyHttpResponseStatusCodeRanges

public abstract ApplicationGatewayProbe.Update withoutHealthyHttpResponseStatusCodeRanges()

Removes all healthy HTTP status response code ranges.

Returns:

the next stage of the update

Applies to