ArmNetworkModelFactory.IpamPoolPrefixAllocation Method

Definition

public static Azure.ResourceManager.Network.Models.IpamPoolPrefixAllocation IpamPoolPrefixAllocation(Azure.Core.ResourceIdentifier id = default, string numberOfIpAddresses = default, System.Collections.Generic.IEnumerable<string> allocatedAddressPrefixes = default);
static member IpamPoolPrefixAllocation : Azure.Core.ResourceIdentifier * string * seq<string> -> Azure.ResourceManager.Network.Models.IpamPoolPrefixAllocation
Public Shared Function IpamPoolPrefixAllocation (Optional id As ResourceIdentifier = Nothing, Optional numberOfIpAddresses As String = Nothing, Optional allocatedAddressPrefixes As IEnumerable(Of String) = Nothing) As IpamPoolPrefixAllocation

Parameters

id
ResourceIdentifier

Resource id of the associated Azure IpamPool resource.

numberOfIpAddresses
String

Number of IP addresses to allocate.

allocatedAddressPrefixes
IEnumerable<String>

List of assigned IP address prefixes in the IpamPool of the associated resource.

Returns

A new IpamPoolPrefixAllocation instance for mocking.

Applies to