ArmNetworkModelFactory.VirtualNetworkAddressSpace Method

Definition

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

Parameters

addressPrefixes
IEnumerable<String>

A list of address blocks reserved for this virtual network in CIDR notation.

ipamPoolPrefixAllocations
IEnumerable<IpamPoolPrefixAllocation>

A list of IPAM Pools allocating IP address prefixes.

Returns

A new VirtualNetworkAddressSpace instance for mocking.

Applies to