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

RecordSet 构造函数

定义

重载

RecordSet()

初始化 RecordSet 类的新实例。

RecordSet(String, String, String, String, IDictionary<String, String>, Nullable<Int64>, String, Nullable<Boolean>, IList<ARecord>, IList<AaaaRecord>, CnameRecord, IList<MxRecord>, IList<PtrRecord>, SoaRecord, IList<SrvRecord>, IList<TxtRecord>)

初始化 RecordSet 类的新实例。

RecordSet()

初始化 RecordSet 类的新实例。

public RecordSet ();
Public Sub New ()

适用于

RecordSet(String, String, String, String, IDictionary<String, String>, Nullable<Int64>, String, Nullable<Boolean>, IList<ARecord>, IList<AaaaRecord>, CnameRecord, IList<MxRecord>, IList<PtrRecord>, SoaRecord, IList<SrvRecord>, IList<TxtRecord>)

初始化 RecordSet 类的新实例。

public RecordSet (string id = default, string name = default, string type = default, string etag = default, System.Collections.Generic.IDictionary<string,string> metadata = default, long? ttl = default, string fqdn = default, bool? isAutoRegistered = default, System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.ARecord> aRecords = default, System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.AaaaRecord> aaaaRecords = default, Microsoft.Azure.Management.PrivateDns.Models.CnameRecord cnameRecord = default, System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.MxRecord> mxRecords = default, System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.PtrRecord> ptrRecords = default, Microsoft.Azure.Management.PrivateDns.Models.SoaRecord soaRecord = default, System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.SrvRecord> srvRecords = default, System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.TxtRecord> txtRecords = default);
new Microsoft.Azure.Management.PrivateDns.Models.RecordSet : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<int64> * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.ARecord> * System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.AaaaRecord> * Microsoft.Azure.Management.PrivateDns.Models.CnameRecord * System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.MxRecord> * System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.PtrRecord> * Microsoft.Azure.Management.PrivateDns.Models.SoaRecord * System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.SrvRecord> * System.Collections.Generic.IList<Microsoft.Azure.Management.PrivateDns.Models.TxtRecord> -> Microsoft.Azure.Management.PrivateDns.Models.RecordSet
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional ttl As Nullable(Of Long) = Nothing, Optional fqdn As String = Nothing, Optional isAutoRegistered As Nullable(Of Boolean) = Nothing, Optional aRecords As IList(Of ARecord) = Nothing, Optional aaaaRecords As IList(Of AaaaRecord) = Nothing, Optional cnameRecord As CnameRecord = Nothing, Optional mxRecords As IList(Of MxRecord) = Nothing, Optional ptrRecords As IList(Of PtrRecord) = Nothing, Optional soaRecord As SoaRecord = Nothing, Optional srvRecords As IList(Of SrvRecord) = Nothing, Optional txtRecords As IList(Of TxtRecord) = Nothing)

参数

id
String

资源的完全限定资源 ID。 示例 - “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}”。

name
String

资源的名称

type
String

资源类型。 示例 -“Microsoft.Network/privateDnsZones”。

etag
String

记录集的 ETag。

metadata
IDictionary<String,String>

附加到记录集的元数据。

ttl
Nullable<Int64>

TTL (记录集中记录的生存时间) 。

fqdn
String

记录集的完全限定域名。

isAutoRegistered
Nullable<Boolean>

记录集是否通过虚拟网络链接在专用 DNS区域中自动注册?

aRecords
IList<ARecord>

记录集中的 A 记录的列表。

aaaaRecords
IList<AaaaRecord>

记录集中的 AAAA 记录的列表。

cnameRecord
CnameRecord

记录集中的 CNAME 记录。

mxRecords
IList<MxRecord>

记录集中 MX 记录的列表。

ptrRecords
IList<PtrRecord>

记录集中的 PTR 记录列表。

soaRecord
SoaRecord

记录集中的 SOA 记录。

srvRecords
IList<SrvRecord>

记录集中的 SRV 记录列表。

txtRecords
IList<TxtRecord>

记录集中 TXT 记录的列表。

适用于