Share via


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

IUpdate 接口

定义

整个应用程序网关探测更新作为应用程序网关更新的一部分。

public interface IUpdate : Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Update.IWithHealthyHttpResponseBodyContents, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Update.IWithHealthyHttpResponseStatusCodeRanges, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Update.IWithHost, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Update.IWithInterval, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Update.IWithPath, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Update.IWithProtocol, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Update.IWithRetries, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Update.IWithTimeout, Microsoft.Azure.Management.Network.Fluent.HasProtocol.Update.IWithProtocol<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Update.IUpdate,Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayProtocol>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResourceActions.ISettable<Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IUpdate = interface
    interface ISettable<IUpdate>
    interface IWithProtocol
    interface IWithProtocol<IUpdate, ApplicationGatewayProtocol>
    interface IWithPath
    interface IWithHost
    interface IWithTimeout
    interface IWithInterval
    interface IWithRetries
    interface IWithHealthyHttpResponseStatusCodeRanges
    interface IWithHealthyHttpResponseStatusCodeRangesBeta
    interface IBeta
    interface IWithHealthyHttpResponseBodyContents
    interface IWithHealthyHttpResponseBodyContentsBeta
Public Interface IUpdate
Implements IBeta, ISettable(Of IUpdate), IWithHealthyHttpResponseBodyContents, IWithHealthyHttpResponseStatusCodeRanges, IWithHost, IWithInterval, IWithPath, IWithProtocol, IWithProtocol(Of IUpdate, ApplicationGatewayProtocol), IWithRetries, IWithTimeout
实现

方法

Parent()

整个应用程序网关探测更新作为应用程序网关更新的一部分。

(继承自 ISettable<ParentT>)
WithHealthyHttpResponseBodyContents(String)

指定要在 HTTP 响应的正文中查找的内容(如果有),该响应用于确定后端的运行状况。

(继承自 IWithHealthyHttpResponseBodyContentsBeta)
WithHealthyHttpResponseStatusCodeRange(Int32, Int32)

添加要被视为正常的后端 HTTP 响应状态代码的指定范围。

(继承自 IWithHealthyHttpResponseStatusCodeRangesBeta)
WithHealthyHttpResponseStatusCodeRange(String)

添加要被视为正常的后端 HTTP 响应状态代码的指定范围。

(继承自 IWithHealthyHttpResponseStatusCodeRangesBeta)
WithHealthyHttpResponseStatusCodeRanges(ISet<String>)

指定要被视为正常的后端 HTTP 响应状态代码的范围。

(继承自 IWithHealthyHttpResponseStatusCodeRangesBeta)
WithHost(String)

指定要将探测发送到的主机名。

(继承自 IWithHost)
WithHttp()

指定 HTTP 作为探测协议。

(继承自 IWithProtocol)
WithHttps()

将 HTTPS 指定为探测协议。

(继承自 IWithProtocol)
WithoutHealthyHttpResponseStatusCodeRanges()

删除所有正常的 HTTP 状态响应代码范围。

(继承自 IWithHealthyHttpResponseStatusCodeRangesBeta)
WithPath(String)

指定要调用的探测的相对路径。 探测将发送到 <protocol>://<host>:<port><路径>。

(继承自 IWithPath)
WithProtocol(ProtocolT)

指定传输协议。

(继承自 IWithProtocol<ReturnT,ProtocolT>)
WithRetriesBeforeUnhealthy(Int32)

指定在服务器被视为不正常之前重试的次数。

(继承自 IWithRetries)
WithTimeBetweenProbesInSeconds(Int32)

指定连续探测之间的时间间隔(以秒为单位)。

(继承自 IWithInterval)
WithTimeoutInSeconds(Int32)

指定在探测被视为失败之前等待响应的时间(以秒为单位)。

(继承自 IWithTimeout)

适用于