ArmNetworkModelFactory.IPAllocationData Method

Definition

public static Azure.ResourceManager.Network.IPAllocationData IPAllocationData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Network.Models.NetworkIPAllocationType? ipAllocationType = default, string prefix = default, int? prefixLength = default, Azure.ResourceManager.Network.Models.NetworkIPVersion? prefixType = default, string ipamAllocationId = default, System.Collections.Generic.IDictionary<string,string> allocationTags = default, Azure.Core.ResourceIdentifier subnetId = default, Azure.Core.ResourceIdentifier virtualNetworkId = default);
static member IPAllocationData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.Network.Models.NetworkIPAllocationType> * string * Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.NetworkIPVersion> * string * System.Collections.Generic.IDictionary<string, string> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.IPAllocationData
Public Shared Function IPAllocationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional ipAllocationType As Nullable(Of NetworkIPAllocationType) = Nothing, Optional prefix As String = Nothing, Optional prefixLength As Nullable(Of Integer) = Nothing, Optional prefixType As Nullable(Of NetworkIPVersion) = Nothing, Optional ipamAllocationId As String = Nothing, Optional allocationTags As IDictionary(Of String, String) = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional virtualNetworkId As ResourceIdentifier = Nothing) As IPAllocationData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

ipAllocationType
Nullable<NetworkIPAllocationType>

The type for the IpAllocation.

prefix
String

The address prefix for the IpAllocation.

prefixLength
Nullable<Int32>

The address prefix length for the IpAllocation.

prefixType
Nullable<NetworkIPVersion>

The address prefix Type for the IpAllocation.

ipamAllocationId
String

The IPAM allocation ID.

allocationTags
IDictionary<String,String>

IpAllocation tags.

subnetId
ResourceIdentifier

Resource ID.

virtualNetworkId
ResourceIdentifier

Resource ID.

Returns

A new IPAllocationData instance for mocking.

Applies to