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

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