ApplicationGatewayProbe.UpdateDefinitionStages.WithHealthyHttpResponseStatusCodeRanges<ReturnT> Interface

Type Parameters

ReturnT

the stage of the parent application gateway update to return to after attaching this definition

public static interface ApplicationGatewayProbe.UpdateDefinitionStages.WithHealthyHttpResponseStatusCodeRanges

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

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ReturnT> withHealthyHttpResponseStatusCodeRange(int from, int to)

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

abstract WithAttach<ReturnT> withHealthyHttpResponseStatusCodeRange(String range)

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

abstract WithAttach<ReturnT> withHealthyHttpResponseStatusCodeRanges(Set<String> ranges)

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

Method Details

withHealthyHttpResponseStatusCodeRange

public abstract ApplicationGatewayProbe.UpdateDefinitionStages.WithAttach 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 definition

withHealthyHttpResponseStatusCodeRange

public abstract ApplicationGatewayProbe.UpdateDefinitionStages.WithAttach 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 definition

withHealthyHttpResponseStatusCodeRanges

public abstract ApplicationGatewayProbe.UpdateDefinitionStages.WithAttach 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 definition

Applies to