Share via


ArmNetworkModelFactory.IPAllocationData Method

Definition

Initializes a new instance of IPAllocationData.

public static Azure.ResourceManager.Network.IPAllocationData IPAllocationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier subnetId = default, Azure.Core.ResourceIdentifier virtualNetworkId = 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);
static member IPAllocationData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.NetworkIPAllocationType> * string * Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.NetworkIPVersion> * string * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Network.IPAllocationData
Public Shared Function IPAllocationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional virtualNetworkId As ResourceIdentifier = 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) As IPAllocationData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

subnetId
ResourceIdentifier

The Subnet that using the prefix of this IpAllocation resource.

virtualNetworkId
ResourceIdentifier

The VirtualNetwork that using the prefix of this IpAllocation resource.

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.

Returns

A new IPAllocationData instance for mocking.

Applies to