Share via


PSInboundNatPool Constructor

Definition

public PSInboundNatPool (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.Commands.Batch.Models.PSInboundNatPool : string * Microsoft.Azure.Batch.Common.InboundEndpointProtocol * int * int * int * System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Batch.NetworkSecurityGroupRule> -> Microsoft.Azure.Commands.Batch.Models.PSInboundNatPool
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)

Parameters

name
String
backendPort
Int32
frontendPortRangeStart
Int32
frontendPortRangeEnd
Int32
networkSecurityGroupRules
IReadOnlyList<NetworkSecurityGroupRule>

Applies to