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.
AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
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>
- ipamPoolPrefixAllocations
- IEnumerable<IpamPoolPrefixAllocation>
Returns
A new VirtualNetworkAddressSpace instance for mocking.