Sdílet prostřednictvím


IpAllocation Constructors

Definition

Overloads

IpAllocation()

Initializes a new instance of the IpAllocation class.

IpAllocation(String, String, String, String, IDictionary<String, String>, SubResource, SubResource, String, String, Nullable<Int32>, String, String, IDictionary<String,String>, String)

Initializes a new instance of the IpAllocation class.

IpAllocation()

Initializes a new instance of the IpAllocation class.

public IpAllocation ();
Public Sub New ()

Applies to

IpAllocation(String, String, String, String, IDictionary<String, String>, SubResource, SubResource, String, String, Nullable<Int32>, String, String, IDictionary<String,String>, String)

Initializes a new instance of the IpAllocation class.

public IpAllocation (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.SubResource subnet = default, Microsoft.Azure.Management.Network.Models.SubResource virtualNetwork = default, string ipAllocationType = default, string prefix = default, int? prefixLength = default, string prefixType = default, string ipamAllocationId = default, System.Collections.Generic.IDictionary<string,string> allocationTags = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.IpAllocation : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * string * string * Nullable<int> * string * string * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.Network.Models.IpAllocation
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional subnet As SubResource = Nothing, Optional virtualNetwork As SubResource = Nothing, Optional ipAllocationType As String = Nothing, Optional prefix As String = Nothing, Optional prefixLength As Nullable(Of Integer) = Nothing, Optional prefixType As String = Nothing, Optional ipamAllocationId As String = Nothing, Optional allocationTags As IDictionary(Of String, String) = Nothing, Optional etag As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

subnet
SubResource

The Subnet that using the prefix of this IpAllocation resource.

virtualNetwork
SubResource

The VirtualNetwork that using the prefix of this IpAllocation resource.

ipAllocationType
String

The type for the IpAllocation. Possible values include: 'Undefined', 'Hypernet'

prefix
String

The address prefix for the IpAllocation.

prefixLength
Nullable<Int32>

The address prefix length for the IpAllocation.

prefixType
String

The address prefix Type for the IpAllocation. Possible values include: 'IPv4', 'IPv6'

ipamAllocationId
String

The IPAM allocation ID.

allocationTags
IDictionary<String,String>

IpAllocation tags.

etag
String

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

Applies to