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

Zone 构造函数

定义

重载

Zone()

初始化 Zone 类的新实例。

Zone(String, String, String, String, IDictionary<String,String>, String, Nullable<Int64>, Nullable<Int64>, IList<String>, Nullable<ZoneType>, IList<SubResource>, IList<SubResource>)

初始化 Zone 类的新实例。

Zone()

初始化 Zone 类的新实例。

public Zone ();
Public Sub New ()

适用于

Zone(String, String, String, String, IDictionary<String,String>, String, Nullable<Int64>, Nullable<Int64>, IList<String>, Nullable<ZoneType>, IList<SubResource>, IList<SubResource>)

初始化 Zone 类的新实例。

public Zone (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string etag = default, long? maxNumberOfRecordSets = default, long? numberOfRecordSets = default, System.Collections.Generic.IList<string> nameServers = default, Microsoft.Azure.Management.Dns.Models.ZoneType? zoneType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Dns.Models.SubResource> registrationVirtualNetworks = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Dns.Models.SubResource> resolutionVirtualNetworks = default);
new Microsoft.Azure.Management.Dns.Models.Zone : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<int64> * Nullable<int64> * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Management.Dns.Models.ZoneType> * System.Collections.Generic.IList<Microsoft.Azure.Management.Dns.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Dns.Models.SubResource> -> Microsoft.Azure.Management.Dns.Models.Zone
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As String = Nothing, Optional maxNumberOfRecordSets As Nullable(Of Long) = Nothing, Optional numberOfRecordSets As Nullable(Of Long) = Nothing, Optional nameServers As IList(Of String) = Nothing, Optional zoneType As Nullable(Of ZoneType) = Nothing, Optional registrationVirtualNetworks As IList(Of SubResource) = Nothing, Optional resolutionVirtualNetworks As IList(Of SubResource) = Nothing)

参数

location
String

资源位置。

id
String

资源 ID。

name
String

资源名称。

type
String

资源类型。

tags
IDictionary<String,String>

资源标记。

etag
String

区域的 etag。

maxNumberOfRecordSets
Nullable<Int64>

可在此 DNS 区域中创建的最大记录集数。 这是一个只读属性,任何设置此值的尝试都将被忽略。

numberOfRecordSets
Nullable<Int64>

此 DNS 区域中的当前记录集数。 这是一个只读属性,任何设置此值的尝试都将被忽略。

nameServers
IList<String>

此 DNS 区域的名称服务器。 这是一个只读属性,任何设置此值的尝试都将被忽略。

zoneType
Nullable<ZoneType>

此 DNS 区域的类型 (公用或专用) 。 可能的值包括:“Public”、“Private”

registrationVirtualNetworks
IList<SubResource>

对在此 DNS 区域中注册主机名的虚拟网络的引用列表。 仅当 ZoneType 为 Private 时,才为 。

resolutionVirtualNetworks
IList<SubResource>

对解析此 DNS 区域中记录的虚拟网络的引用列表。 仅当 ZoneType 为 Private 时,才为 。

适用于