Class PoolEndpointConfiguration
java.lang.Object
com.azure.resourcemanager.batch.models.PoolEndpointConfiguration
The endpoint configuration for a pool.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PoolEndpointConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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.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.
-
Constructor Details
-
PoolEndpointConfiguration
public PoolEndpointConfiguration()Creates an instance of PoolEndpointConfiguration class.
-
-
Method Details
-
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
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.
-