Class PublicIpAddressConfiguration
java.lang.Object
com.azure.resourcemanager.batch.models.PublicIpAddressConfiguration
The public IP Address configuration of the networking configuration of a Pool.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PublicIpAddressConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the ipAddressIds property: The list of public IPs which the Batch service will use when provisioning Compute Nodes.Get the provision property: The provisioning type for Public IP Addresses for the Batch Pool.voidvalidate()Validates the instance.withIpAddressIds(List<String> ipAddressIds) Set the ipAddressIds property: The list of public IPs which the Batch service will use when provisioning Compute Nodes.withProvision(IpAddressProvisioningType provision) Set the provision property: The provisioning type for Public IP Addresses for the Batch Pool.
-
Constructor Details
-
PublicIpAddressConfiguration
public PublicIpAddressConfiguration()Creates an instance of PublicIpAddressConfiguration class.
-
-
Method Details
-
provision
Get the provision property: The provisioning type for Public IP Addresses for the Batch Pool. The default value is BatchManaged.- Returns:
- the provision value.
-
withProvision
Set the provision property: The provisioning type for Public IP Addresses for the Batch Pool. The default value is BatchManaged.- Parameters:
provision- the provision value to set.- Returns:
- the PublicIpAddressConfiguration object itself.
-
ipAddressIds
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:
- the ipAddressIds value.
-
withIpAddressIds
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:
ipAddressIds- the ipAddressIds value to set.- Returns:
- the PublicIpAddressConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-