Share via


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

IWithAttach<ReturnT> 接口

定义

应用程序网关探测定义的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,也可以将探测定义附加到父应用程序网关定义。

public interface IWithAttach<ReturnT> : Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Definition.IWithHealthyHttpResponseBodyContents<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Definition.IWithHealthyHttpResponseBodyContentsBeta<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Definition.IWithHealthyHttpResponseStatusCodeRanges<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Definition.IWithHealthyHttpResponseStatusCodeRangesBeta<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Definition.IWithInterval<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.Definition.IWithRetries<ReturnT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResourceActions.IInDefinitionAlt<ReturnT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithAttach<'ReturnT> = interface
    interface IInDefinitionAlt<'ReturnT>
    interface IWithInterval<'ReturnT>
    interface IWithRetries<'ReturnT>
    interface IWithHealthyHttpResponseStatusCodeRanges<'ReturnT>
    interface IWithHealthyHttpResponseStatusCodeRangesBeta<'ReturnT>
    interface IBeta
    interface IWithHealthyHttpResponseBodyContents<'ReturnT>
    interface IWithHealthyHttpResponseBodyContentsBeta<'ReturnT>
Public Interface IWithAttach(Of ReturnT)
Implements IBeta, IInDefinitionAlt(Of ReturnT), IWithHealthyHttpResponseBodyContents(Of ReturnT), IWithHealthyHttpResponseBodyContentsBeta(Of ReturnT), IWithHealthyHttpResponseStatusCodeRanges(Of ReturnT), IWithHealthyHttpResponseStatusCodeRangesBeta(Of ReturnT), IWithInterval(Of ReturnT), IWithRetries(Of ReturnT)

类型参数

ReturnT

附加此定义后要返回到的父应用程序网关定义的阶段。

派生
实现

方法

Attach()

将子定义附加到父资源定义。

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

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

(继承自 IWithHealthyHttpResponseBodyContentsBeta<ReturnT>)
WithHealthyHttpResponseStatusCodeRange(Int32, Int32)

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

(继承自 IWithHealthyHttpResponseStatusCodeRangesBeta<ReturnT>)
WithHealthyHttpResponseStatusCodeRange(String)

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

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

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

(继承自 IWithHealthyHttpResponseStatusCodeRangesBeta<ReturnT>)
WithRetriesBeforeUnhealthy(Int32)

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

(继承自 IWithRetries<ParentT>)
WithTimeBetweenProbesInSeconds(Int32)

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

(继承自 IWithInterval<ParentT>)

适用于