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

OutboundRule 构造函数

定义

重载

OutboundRule()

初始化 OutboundRule 类的新实例。

OutboundRule(IList<SubResource>, SubResource, String, String, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Int32>, String, String, String)

初始化 OutboundRule 类的新实例。

OutboundRule()

初始化 OutboundRule 类的新实例。

public OutboundRule ();
Public Sub New ()

适用于

OutboundRule(IList<SubResource>, SubResource, String, String, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Int32>, String, String, String)

初始化 OutboundRule 类的新实例。

public OutboundRule (System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> frontendIPConfigurations, Microsoft.Azure.Management.Network.Models.SubResource backendAddressPool, string protocol, string id = default, int? allocatedOutboundPorts = default, string provisioningState = default, bool? enableTcpReset = default, int? idleTimeoutInMinutes = default, string name = default, string etag = default, string type = default);
new Microsoft.Azure.Management.Network.Models.OutboundRule : System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * Microsoft.Azure.Management.Network.Models.SubResource * string * string * Nullable<int> * string * Nullable<bool> * Nullable<int> * string * string * string -> Microsoft.Azure.Management.Network.Models.OutboundRule
Public Sub New (frontendIPConfigurations As IList(Of SubResource), backendAddressPool As SubResource, protocol As String, Optional id As String = Nothing, Optional allocatedOutboundPorts As Nullable(Of Integer) = Nothing, Optional provisioningState As String = Nothing, Optional enableTcpReset As Nullable(Of Boolean) = Nothing, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing, Optional type As String = Nothing)

参数

frontendIPConfigurations
IList<SubResource>

负载均衡器的前端 IP 地址。

backendAddressPool
SubResource

对 DIP 池的引用。 出站流量在后端 IP 中的 IP 之间随机进行负载均衡。

protocol
String

负载均衡器中出站规则的协议。 可能的值包括:“Tcp”、“Udp”、“All”

id
String

资源 ID。

allocatedOutboundPorts
Nullable<Int32>

要用于 NAT 的出站端口数。

provisioningState
String

出站规则资源的预配状态。 可能的值包括:“Succeeded”、“Updateing”、“删除”、“Failed”

enableTcpReset
Nullable<Boolean>

在 TCP 流空闲超时或意外连接终止时接收双向 TCP 重置。 仅在将协议设置为 TCP 后才使用此元素。

idleTimeoutInMinutes
Nullable<Int32>

TCP 空闲连接的超时。

name
String

负载均衡器使用的出站规则集中唯一的资源的名称。 此名称可用于访问资源。

etag
String

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

type
String

资源的类型。

适用于