Class PoolEndpointConfiguration

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

public final class PoolEndpointConfiguration extends Object
The endpoint configuration for a pool.
  • Constructor Details

    • PoolEndpointConfiguration

      public PoolEndpointConfiguration()
      Creates an instance of PoolEndpointConfiguration class.
  • Method Details

    • inboundNatPools

      public 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.

      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.
    • withInboundNatPools

      public 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.

      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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.