ArmBatchModelFactory.BatchPublicIPAddressConfiguration Method

Definition

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

public static Azure.ResourceManager.Batch.Models.BatchPublicIPAddressConfiguration BatchPublicIPAddressConfiguration(Azure.ResourceManager.Batch.Models.BatchIPAddressProvisioningType? provision = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> ipAddressIds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Batch.Models.BatchIPFamily> ipFamilies = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Batch.Models.BatchIPTag> ipTags = default);
static member BatchPublicIPAddressConfiguration : Nullable<Azure.ResourceManager.Batch.Models.BatchIPAddressProvisioningType> * seq<Azure.Core.ResourceIdentifier> * seq<Azure.ResourceManager.Batch.Models.BatchIPFamily> * seq<Azure.ResourceManager.Batch.Models.BatchIPTag> -> Azure.ResourceManager.Batch.Models.BatchPublicIPAddressConfiguration
Public Shared Function BatchPublicIPAddressConfiguration (Optional provision As Nullable(Of BatchIPAddressProvisioningType) = Nothing, Optional ipAddressIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional ipFamilies As IEnumerable(Of BatchIPFamily) = Nothing, Optional ipTags As IEnumerable(Of BatchIPTag) = Nothing) As BatchPublicIPAddressConfiguration

Parameters

provision
Nullable<BatchIPAddressProvisioningType>

The default value is BatchManaged.

ipAddressIds
IEnumerable<ResourceIdentifier>

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

ipFamilies
IEnumerable<BatchIPFamily>

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.

ipTags
IEnumerable<BatchIPTag>

IP Tags that will applied to new Public IPs that Batch creates.

Returns

A new BatchPublicIPAddressConfiguration instance for mocking.

Applies to