BatchPublicIpAddressConfiguration Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchPublicIpAddressConfiguration
- com.
Implements
public final class BatchPublicIpAddressConfiguration
implements JsonSerializable<BatchPublicIpAddressConfiguration>
The public IP Address configuration of the networking configuration of a Pool.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchPublicIpAddressConfiguration() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| List<String> |
getIpAddressIds()
Get the ip |
|
Ip |
getIpAddressProvisioningType()
Get the ip |
|
Batch |
setIpAddressIds(List<String> ipAddressIds)
Set the ip |
|
Batch |
setIpAddressProvisioningType(IpAddressProvisioningType ipAddressProvisioningType)
Set the ip |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
BatchPublicIpAddressConfiguration
public BatchPublicIpAddressConfiguration()
Creates an instance of BatchPublicIpAddressConfiguration class.
Method Details
fromJson
public static BatchPublicIpAddressConfiguration fromJson(JsonReader jsonReader)
Reads an instance of BatchPublicIpAddressConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
getIpAddressIds
public List<String> getIpAddressIds()
Get the ipAddressIds property: The list of public IPs which the Batch service will use when provisioning Compute Nodes. The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/Low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
Returns:
getIpAddressProvisioningType
public IpAddressProvisioningType getIpAddressProvisioningType()
Get the ipAddressProvisioningType property: The provisioning type for Public IP Addresses for the Pool. The default value is BatchManaged.
Returns:
setIpAddressIds
public BatchPublicIpAddressConfiguration setIpAddressIds(List<String> ipAddressIds)
Set the ipAddressIds property: The list of public IPs which the Batch service will use when provisioning Compute Nodes. The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/Low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
Parameters:
Returns:
setIpAddressProvisioningType
public BatchPublicIpAddressConfiguration setIpAddressProvisioningType(IpAddressProvisioningType ipAddressProvisioningType)
Set the ipAddressProvisioningType property: The provisioning type for Public IP Addresses for the Pool. The default value is BatchManaged.
Parameters:
Returns: