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

RecordSetsOperationsExtensions.ListByTypeAsync 方法

定义

列出 DNS 区域中指定类型的记录集。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Dns.Fluent.Models.RecordSetInner>> ListByTypeAsync (this Microsoft.Azure.Management.Dns.Fluent.IRecordSetsOperations operations, string resourceGroupName, string zoneName, Microsoft.Azure.Management.Dns.Fluent.Models.RecordType recordType, int? top = default, string recordsetnamesuffix = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByTypeAsync : Microsoft.Azure.Management.Dns.Fluent.IRecordSetsOperations * string * string * Microsoft.Azure.Management.Dns.Fluent.Models.RecordType * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Dns.Fluent.Models.RecordSetInner>>
<Extension()>
Public Function ListByTypeAsync (operations As IRecordSetsOperations, resourceGroupName As String, zoneName As String, recordType As RecordType, Optional top As Nullable(Of Integer) = Nothing, Optional recordsetnamesuffix As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RecordSetInner))

参数

operations
IRecordSetsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

zoneName
String

不带终止点) (DNS 区域的名称。

recordType
RecordType

要枚举的记录集的类型。 可能的值包括:“A”、“AAAA”、“CAA”、“CNAME”、“MX”、“NS”、“PTR”、“SOA”、“SRV”、“TXT”

top
Nullable<Int32>

要返回的最大记录集数。 如果未指定,则最多返回 100 个记录集。

recordsetnamesuffix
String

必须用于筛选记录集枚举的记录集名称的后缀标签。 如果指定此参数,枚举将仅返回以 结尾的记录。<recordSetNameSuffix>

cancellationToken
CancellationToken

取消标记。

返回

适用于