PublicIPAddressConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.PublicIPAddressConfiguration

public class PublicIPAddressConfiguration

The public IP Address configuration of the networking configuration of a Pool.

Constructor Summary

Constructor Description
PublicIPAddressConfiguration()

Method Summary

Modifier and Type Method and Description
java.util.List<java.lang.String> ipAddressIds()

Get the number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 low-priority nodes can be allocated for each public IP.

IPAddressProvisioningType provision()

Get the default value is BatchManaged.

PublicIPAddressConfiguration withIpAddressIds(List<String> ipAddressIds)

Set the number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 low-priority nodes can be allocated for each public IP.

PublicIPAddressConfiguration withProvision(IPAddressProvisioningType provision)

Set the default value is BatchManaged.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PublicIPAddressConfiguration

public PublicIPAddressConfiguration()

Method Details

ipAddressIds

public List ipAddressIds()

Get the number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 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

provision

public IPAddressProvisioningType provision()

Get the default value is BatchManaged. Possible values include: 'BatchManaged', 'UserManaged', 'NoPublicIPAddresses'.

Returns:

the provision value

withIpAddressIds

public PublicIPAddressConfiguration withIpAddressIds(List ipAddressIds)

Set the number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 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.

withProvision

public PublicIPAddressConfiguration withProvision(IPAddressProvisioningType provision)

Set the default value is BatchManaged. Possible values include: 'BatchManaged', 'UserManaged', 'NoPublicIPAddresses'.

Parameters:

provision - the provision value to set

Returns:

the PublicIPAddressConfiguration object itself.

Applies to