你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
InboundNatPool 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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>
将应用于终结点的网络安全组规则列表。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈