PublicIpAddressConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. batch. models. PublicIpAddressConfiguration
- com.
Implements
public final class PublicIpAddressConfiguration
implements JsonSerializable<PublicIpAddressConfiguration>
The public IP Address configuration of the networking configuration of a Pool.
Constructor Summary
| Constructor | Description |
|---|---|
| PublicIpAddressConfiguration() |
Creates an instance of Public |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Public |
fromJson(JsonReader jsonReader)
Reads an instance of Public |
| List<String> |
ipAddressIds()
Get the ip |
| List<IPFamily> |
ipFamilies()
Get the ip |
| List<IPTag> |
ipTags()
Get the ip |
|
Ip |
provision()
Get the provision property: The provisioning type for Public IP Addresses for the Batch Pool. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Public |
withIpAddressIds(List<String> ipAddressIds)
Set the ip |
|
Public |
withIpFamilies(List<IPFamily> ipFamilies)
Set the ip |
|
Public |
withIpTags(List<IPTag> ipTags)
Set the ip |
|
Public |
withProvision(IpAddressProvisioningType provision)
Set the provision property: The provisioning type for Public IP Addresses for the Batch Pool. |
Methods inherited from java.lang.Object
Constructor Details
PublicIpAddressConfiguration
public PublicIpAddressConfiguration()
Creates an instance of PublicIpAddressConfiguration class.
Method Details
fromJson
public static PublicIpAddressConfiguration fromJson(JsonReader jsonReader)
Reads an instance of PublicIpAddressConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
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:
ipFamilies
public List<IPFamily> ipFamilies()
Get the ipFamilies property: The IP families used to specify IP versions available to the pool. IP families are used to determine single-stack or dual-stack pools. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
Returns:
ipTags
public List<IPTag> ipTags()
Get the ipTags property: IP Tags that will applied to new Public IPs that Batch creates.
Returns:
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:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withIpFamilies
public PublicIpAddressConfiguration withIpFamilies(List<IPFamily> ipFamilies)
Set the ipFamilies property: The IP families used to specify IP versions available to the pool. IP families are used to determine single-stack or dual-stack pools. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
Parameters:
Returns:
withIpTags
public PublicIpAddressConfiguration withIpTags(List<IPTag> ipTags)
Set the ipTags property: IP Tags that will applied to new Public IPs that Batch creates.
Parameters:
Returns:
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:
Returns: