ArmNetworkModelFactory.VirtualNetworkAddressSpace 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.
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.