BatchPoolEndpointConfiguration Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchPoolEndpointConfiguration
- com.
Implements
public final class BatchPoolEndpointConfiguration
implements JsonSerializable<BatchPoolEndpointConfiguration>
The endpoint configuration for a Pool.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchPoolEndpointConfiguration(List<BatchInboundNatPool> inboundNatPools) |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
List<Batch |
getInboundNatPools()
Get the inbound |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
BatchPoolEndpointConfiguration
public BatchPoolEndpointConfiguration(List<BatchInboundNatPool> inboundNatPools)
Creates an instance of BatchPoolEndpointConfiguration class.
Parameters:
Method Details
fromJson
public static BatchPoolEndpointConfiguration fromJson(JsonReader jsonReader)
Reads an instance of BatchPoolEndpointConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
getInboundNatPools
public List<BatchInboundNatPool> getInboundNatPools()
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: