Share via


ComputeBatchModelFactory.BatchPoolEndpointConfiguration Method

Definition

The endpoint configuration for a Pool.

public static Azure.Compute.Batch.BatchPoolEndpointConfiguration BatchPoolEndpointConfiguration(System.Collections.Generic.IEnumerable<Azure.Compute.Batch.BatchInboundNatPool> inboundNatPools = default);
static member BatchPoolEndpointConfiguration : seq<Azure.Compute.Batch.BatchInboundNatPool> -> Azure.Compute.Batch.BatchPoolEndpointConfiguration
Public Shared Function BatchPoolEndpointConfiguration (Optional inboundNatPools As IEnumerable(Of BatchInboundNatPool) = Nothing) As BatchPoolEndpointConfiguration

Parameters

inboundNatPools
IEnumerable<BatchInboundNatPool>

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.

Returns

A new BatchPoolEndpointConfiguration instance for mocking.

Applies to