Class PublicIpAddressConfiguration

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

public final class PublicIpAddressConfiguration extends Object
The public IP Address configuration of the networking configuration of a Pool.
  • Constructor Details

    • PublicIpAddressConfiguration

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

    • provision

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

      public PublicIpAddressConfiguration withProvision(IpAddressProvisioningType provision)
      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

      public List<String> 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

      public PublicIpAddressConfiguration withIpAddressIds(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:
      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.