ApplicationGatewayProbeHealthResponseMatch Class
- java.
lang. Object - com.
microsoft. azure. management. network. ApplicationGatewayProbeHealthResponseMatch
- com.
public class ApplicationGatewayProbeHealthResponseMatch
Application gateway probe health response match.
Constructor Summary
Constructor | Description | |
---|---|---|
ApplicationGatewayProbeHealthResponseMatch() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
body()
Get body that must be contained in the health response. |
java.util.List<java.lang.String> |
statusCodes()
Get allowed ranges of healthy status codes. |
Application |
withBody(String body)
Set body that must be contained in the health response. |
Application |
withStatusCodes(List<String> statusCodes)
Set allowed ranges of healthy status codes. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayProbeHealthResponseMatch
public ApplicationGatewayProbeHealthResponseMatch()
Method Details
body
public String body()
Get body that must be contained in the health response. Default value is empty.
Returns:
statusCodes
public List
Get allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.
Returns:
withBody
public ApplicationGatewayProbeHealthResponseMatch withBody(String body)
Set body that must be contained in the health response. Default value is empty.
Parameters:
Returns:
withStatusCodes
public ApplicationGatewayProbeHealthResponseMatch withStatusCodes(List
Set allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.
Parameters:
Returns:
Applies to
Azure SDK for Java