Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.batch;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
The public IP Address configuration of the networking configuration of a
Pool.
/**
* The public IP Address configuration of the networking configuration of a
* Pool.
*/
public class PublicIPAddressConfiguration {
The provisioning type for Public IP Addresses for the pool.
The default value is BatchManaged. Possible values include:
'BatchManaged', 'UserManaged', 'NoPublicIPAddresses'.
/**
* The provisioning type for Public IP Addresses for the pool.
* The default value is BatchManaged. Possible values include:
* 'BatchManaged', 'UserManaged', 'NoPublicIPAddresses'.
*/
@JsonProperty(value = "provision")
private IPAddressProvisioningType provision;
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 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}.
/**
* 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 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}.
*/
@JsonProperty(value = "ipAddressIds")
private List<String> ipAddressIds;
Get the default value is BatchManaged. Possible values include: 'BatchManaged', 'UserManaged', 'NoPublicIPAddresses'.
Returns: the provision value
/**
* Get the default value is BatchManaged. Possible values include: 'BatchManaged', 'UserManaged', 'NoPublicIPAddresses'.
*
* @return the provision value
*/
public IPAddressProvisioningType provision() {
return this.provision;
}
Set the default value is BatchManaged. Possible values include: 'BatchManaged', 'UserManaged', 'NoPublicIPAddresses'.
Params: - provision – the provision value to set
Returns: the PublicIPAddressConfiguration object itself.
/**
* Set the default value is BatchManaged. Possible values include: 'BatchManaged', 'UserManaged', 'NoPublicIPAddresses'.
*
* @param provision the provision value to set
* @return the PublicIPAddressConfiguration object itself.
*/
public PublicIPAddressConfiguration withProvision(IPAddressProvisioningType provision) {
this.provision = provision;
return this;
}
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
/**
* 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}.
*
* @return the ipAddressIds value
*/
public List<String> ipAddressIds() {
return this.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}.
Params: - ipAddressIds – the ipAddressIds value to set
Returns: the PublicIPAddressConfiguration object itself.
/**
* 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}.
*
* @param ipAddressIds the ipAddressIds value to set
* @return the PublicIPAddressConfiguration object itself.
*/
public PublicIPAddressConfiguration withIpAddressIds(List<String> ipAddressIds) {
this.ipAddressIds = ipAddressIds;
return this;
}
}