Interface ApplicationGatewayProbe.DefinitionStages.WithHealthyHttpResponseStatusCodeRanges<ReturnT>
-
- Type Parameters:
ReturnT
- the stage of the parent application gateway definition to return to after attaching this definition
- All Known Subinterfaces:
ApplicationGatewayProbe.Definition<ParentT>
,ApplicationGatewayProbe.DefinitionStages.WithAttach<ReturnT>
- Enclosing interface:
- ApplicationGatewayProbe.DefinitionStages
public static interface ApplicationGatewayProbe.DefinitionStages.WithHealthyHttpResponseStatusCodeRanges<ReturnT>
The stage of an application gateway probe definition allowing to specify healthy HTTP response status code ranges.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationGatewayProbe.DefinitionStages.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.ApplicationGatewayProbe.DefinitionStages.WithAttach<ReturnT>
withHealthyHttpResponseStatusCodeRange(String range)
Adds the specified range of the backend's HTTP response status codes that are to be considered healthy.ApplicationGatewayProbe.DefinitionStages.WithAttach<ReturnT>
withHealthyHttpResponseStatusCodeRanges(Set<String> ranges)
Specifies the ranges of the backend's HTTP response status codes that are to be considered healthy.
-
-
-
Method Detail
-
withHealthyHttpResponseStatusCodeRanges
@Beta(V1_4_0) ApplicationGatewayProbe.DefinitionStages.WithAttach<ReturnT> withHealthyHttpResponseStatusCodeRanges(Set<String> 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
-
withHealthyHttpResponseStatusCodeRange
@Beta(V1_4_0) ApplicationGatewayProbe.DefinitionStages.WithAttach<ReturnT> 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
-
withHealthyHttpResponseStatusCodeRange
@Beta(V1_4_0) ApplicationGatewayProbe.DefinitionStages.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.- Parameters:
from
- the lowest number in the rangeto
- the highest number in the range- Returns:
- the next stage of the definition
-
-