PoolEndpointConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.models.PoolEndpointConfiguration

public final class PoolEndpointConfiguration

The endpoint configuration for a pool.

Constructor Summary

Constructor Description
PoolEndpointConfiguration()

Creates an instance of PoolEndpointConfiguration class.

Method Summary

Modifier and Type Method and Description
List<InboundNatPool> inboundNatPools()

Get the inboundNatPools property: A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally.

void validate()

Validates the instance.

PoolEndpointConfiguration withInboundNatPools(List<InboundNatPool> inboundNatPools)

Set the inboundNatPools property: A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally.

Methods inherited from java.lang.Object

Constructor Details

PoolEndpointConfiguration

public PoolEndpointConfiguration()

Creates an instance of PoolEndpointConfiguration class.

Method Details

inboundNatPools

public List inboundNatPools()

Get the inboundNatPools property: 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:

the inboundNatPools value.

validate

public void validate()

Validates the instance.

withInboundNatPools

public PoolEndpointConfiguration withInboundNatPools(List inboundNatPools)

Set the inboundNatPools property: 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.

Parameters:

inboundNatPools - the inboundNatPools value to set.

Returns:

the PoolEndpointConfiguration object itself.

Applies to