Share via


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

ApplicationGatewayProbeInner 类

定义

应用程序网关的探测。

[Microsoft.Rest.Serialization.JsonTransformation]
public class ApplicationGatewayProbeInner : Microsoft.Azure.Management.ResourceManager.Fluent.SubResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ApplicationGatewayProbeInner = class
    inherit SubResource
Public Class ApplicationGatewayProbeInner
Inherits SubResource
继承
ApplicationGatewayProbeInner
属性

构造函数

ApplicationGatewayProbeInner()

初始化 ApplicationGatewayProbeInner 类的新实例。

ApplicationGatewayProbeInner(String, ApplicationGatewayProtocol, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, ApplicationGatewayProbeHealthResponseMatch, ProvisioningState, Nullable<Int32>, String, String, String)

初始化 ApplicationGatewayProbeInner 类的新实例。

属性

Etag

获取一个唯一的只读字符串,每当资源更新时,该字符串都会更改。

Host

获取或设置要向其发送探测的主机名。

Id

资源 ID

(继承自 SubResource)
Interval

获取或设置探测间隔(以秒为单位)。 这是每两次连续探测之间的时间间隔。 可接受的值为 1 秒到 86400 秒。

Match

获取或设置用于对正常探测响应进行分类的条件。

MinServers

获取或设置始终标记为正常的最小服务器数。 默认值为 0。

Name

获取或设置应用程序网关中唯一的探测的名称。

Path

获取或设置探测的相对路径。 有效路径从“/”开始。 探测发送到 &lt;协议&gt;://&lt;host&gt;:&lt;port&gt;&lt;path&gt;.

PickHostNameFromBackendHttpSettings

获取或设置是否应从后端 http 设置中选取主机标头。 默认值为 false。

Port

获取或设置将用于探测后端服务器的自定义端口。 有效值范围为 1 到 65535。 如果未设置,将使用 http 设置中的端口。 此属性仅对Standard_v2和WAF_v2有效。

Protocol

获取或设置用于探测的协议。 可能的值包括:“Http”、“Https”

ProvisioningState

获取探测资源的预配状态。 可能的值包括:“Succeeded”、“Updating”、“Deleting”、“Failed”

Timeout

获取或设置探测超时(以秒为单位)。 如果在此超时期限内未收到有效响应,则标记为失败的探测。 可接受的值为 1 秒到 86400 秒。

Type

获取资源的类型。

UnhealthyThreshold

获取或设置探测重试计数。 在连续探测失败计数达到 UnhealthyThreshold 后,后端服务器被标记为关闭。 可接受的值为 1 秒到 20 秒。

方法

Validate()

验证 对象。

适用于