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.

Method Summary

Modifier and Type Method and Description
List<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. 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}.

IPAddressProvisioningType provision()

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

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. 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}.

PublicIPAddressConfiguration withProvision(IPAddressProvisioningType provision)

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

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