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

InboundNatPool 构造函数

定义

初始化 InboundNatPool 类的新实例。

public InboundNatPool (string name, Microsoft.Azure.Batch.Common.InboundEndpointProtocol protocol, int backendPort, int frontendPortRangeStart, int frontendPortRangeEnd, System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Batch.NetworkSecurityGroupRule> networkSecurityGroupRules = default);
new Microsoft.Azure.Batch.InboundNatPool : string * Microsoft.Azure.Batch.Common.InboundEndpointProtocol * int * int * int * System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Batch.NetworkSecurityGroupRule> -> Microsoft.Azure.Batch.InboundNatPool
Public Sub New (name As String, protocol As InboundEndpointProtocol, backendPort As Integer, frontendPortRangeStart As Integer, frontendPortRangeEnd As Integer, Optional networkSecurityGroupRules As IReadOnlyList(Of NetworkSecurityGroupRule) = Nothing)

参数

name
String

终结点的名称。

protocol
InboundEndpointProtocol

终结点的协议。

backendPort
Int32

计算节点上的端口号。

frontendPortRangeStart
Int32

外部端口范围中的第一个端口号,用于提供对单个计算节点上 backendPort 的入站访问。

frontendPortRangeEnd
Int32

外部端口范围中的最后一个端口号,用于提供对单个计算节点上 backendPort 的入站访问。

networkSecurityGroupRules
IReadOnlyList<NetworkSecurityGroupRule>

将应用于终结点的网络安全组规则列表。

适用于