你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IpAllocation 构造函数

定义

重载

IpAllocation()

初始化 IpAllocation 类的新实例。

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

初始化 IpAllocation 类的新实例。

IpAllocation()

初始化 IpAllocation 类的新实例。

public IpAllocation ();
Public Sub New ()

适用于

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

初始化 IpAllocation 类的新实例。

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)

参数

id
String

资源 ID。

name
String

资源名称。

type
String

资源类型。

location
String

资源位置。

tags
IDictionary<String,String>

资源标记。

subnet
SubResource

使用此 IpAllocation 资源的前缀的子网。

virtualNetwork
SubResource

使用此 IpAllocation 资源的前缀的 VirtualNetwork。

ipAllocationType
String

IpAllocation 的类型。 可能的值包括:“Undefined”、“Hypernet”

prefix
String

IpAllocation 的地址前缀。

prefixLength
Nullable<Int32>

IpAllocation 的地址前缀长度。

prefixType
String

IpAllocation 的地址前缀类型。 可能的值包括:“IPv4”、“IPv6”

ipamAllocationId
String

IPAM 分配 ID。

allocationTags
IDictionary<String,String>

IpAllocation 标记。

etag
String

一个唯一的只读字符串,每当资源更新时都会更改。

适用于