Partager via


BatchPoolEndpointConfiguration(IEnumerable<InboundNatPool>) Constructor

Definition

Initializes a new instance of BatchPoolEndpointConfiguration.

public BatchPoolEndpointConfiguration (System.Collections.Generic.IEnumerable<Azure.Compute.Batch.InboundNatPool> inboundNatPools);
new Azure.Compute.Batch.BatchPoolEndpointConfiguration : seq<Azure.Compute.Batch.InboundNatPool> -> Azure.Compute.Batch.BatchPoolEndpointConfiguration
Public Sub New (inboundNatPools As IEnumerable(Of InboundNatPool))

Parameters

inboundNatPools
IEnumerable<InboundNatPool>

A list of inbound NAT Pools that can be used to address specific ports on an individual Compute Node externally. The maximum number of inbound NAT Pools per Batch Pool is 5. If the maximum number of inbound NAT Pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.

Exceptions

inboundNatPools is null.

Applies to