Sdílet prostřednictvím


ArmNetworkModelFactory.IpamPoolPrefixAllocation Method

Definition

Initializes a new instance of IpamPoolPrefixAllocation.

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

Parameters

numberOfIPAddresses
String

Number of IP addresses to allocate.

allocatedAddressPrefixes
IEnumerable<String>

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

id
ResourceIdentifier

Resource id of the associated Azure IpamPool resource.

Returns

A new IpamPoolPrefixAllocation instance for mocking.

Applies to