你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApplicationGatewayProbe 接口

public interface ApplicationGatewayProbe extends HasInner,ChildResource,HasProtocol

应用程序网关探测的客户端表示形式。

方法摘要

修饰符和类型 方法和描述
String host()
String path()
int retriesBeforeUnhealthy()

可接受的值为 1 秒到 20 秒。

int timeBetweenProbesInSeconds()
int timeoutInSeconds()

可接受的值为 1 到 86400 秒。

继承成员

方法详细信息

host

public String host()

返回:

要向其发送探测的主机名

path

public String path()

返回:

探测要调用的相对路径

retriesBeforeUnhealthy

public int retriesBeforeUnhealthy()

可接受的值为 1 秒到 20 秒。

返回:

在后端服务器标记为关闭之前失败的重试探测数

timeBetweenProbesInSeconds

public int timeBetweenProbesInSeconds()

返回:

探测重试之间的秒数

timeoutInSeconds

public int timeoutInSeconds()

可接受的值为 1 到 86400 秒。

返回:

等待响应的秒数,之后探测超时并标记为失败

适用于