ComputeBatchModelFactory.BatchPublicIpAddressConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The public IP Address configuration of the networking configuration of a Pool.
public static Azure.Compute.Batch.BatchPublicIpAddressConfiguration BatchPublicIpAddressConfiguration(Azure.Compute.Batch.IpAddressProvisioningType? ipAddressProvisioningType = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.IPFamily> ipFamilies = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> ipAddressIds = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.IPTag> ipTags = default);
static member BatchPublicIpAddressConfiguration : Nullable<Azure.Compute.Batch.IpAddressProvisioningType> * seq<Azure.Compute.Batch.IPFamily> * seq<Azure.Core.ResourceIdentifier> * seq<Azure.Compute.Batch.IPTag> -> Azure.Compute.Batch.BatchPublicIpAddressConfiguration
Public Shared Function BatchPublicIpAddressConfiguration (Optional ipAddressProvisioningType As Nullable(Of IpAddressProvisioningType) = Nothing, Optional ipFamilies As IEnumerable(Of IPFamily) = Nothing, Optional ipAddressIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional ipTags As IEnumerable(Of IPTag) = Nothing) As BatchPublicIpAddressConfiguration
Parameters
- ipAddressProvisioningType
- Nullable<IpAddressProvisioningType>
The provisioning type for Public IP Addresses for the Pool. The default value is BatchManaged.
- ipFamilies
- IEnumerable<IPFamily>
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.
- ipAddressIds
- IEnumerable<ResourceIdentifier>
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}.
- ipTags
- IEnumerable<IPTag>
A list of IP tags associated with the public IP addresses of the Pool. IP tags are used to categorize and filter public IP addresses for billing and management purposes.
Returns
A new BatchPublicIpAddressConfiguration instance for mocking.