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

IWithHealthyHttpResponseStatusCodeRangesBeta<ReturnT>.WithHealthyHttpResponseStatusCodeRange 方法

定义

重载

WithHealthyHttpResponseStatusCodeRange(String)

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

WithHealthyHttpResponseStatusCodeRange(Int32, Int32)

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

WithHealthyHttpResponseStatusCodeRange(String)

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

public Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.UpdateDefinition.IWithAttach<ReturnT> WithHealthyHttpResponseStatusCodeRange (string range);
abstract member WithHealthyHttpResponseStatusCodeRange : string -> Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.UpdateDefinition.IWithAttach<'ReturnT>
Public Function WithHealthyHttpResponseStatusCodeRange (range As String) As IWithAttach(Of ReturnT)

参数

range
String

以“###-#”格式表示的数字范围,例如“200-399”,这是默认值。

返回

IWithAttach<ReturnT>

适用于

WithHealthyHttpResponseStatusCodeRange(Int32, Int32)

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

public Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.UpdateDefinition.IWithAttach<ReturnT> WithHealthyHttpResponseStatusCodeRange (int from, int to);
abstract member WithHealthyHttpResponseStatusCodeRange : int * int -> Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.UpdateDefinition.IWithAttach<'ReturnT>
Public Function WithHealthyHttpResponseStatusCodeRange (from As Integer, to As Integer) As IWithAttach(Of ReturnT)

参数

from
Int32

范围中最低的数字。

to
Int32

范围中的最高数字。

返回

IWithAttach<ReturnT>

适用于