Bagikan melalui


RecordSetsOperationsExtensions.ListByType Method

Definition

Lists the record sets of a specified type in a Private DNS zone.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PrivateDns.Models.RecordSet> ListByType (this Microsoft.Azure.Management.PrivateDns.IRecordSetsOperations operations, string resourceGroupName, string privateZoneName, Microsoft.Azure.Management.PrivateDns.Models.RecordType recordType, int? top = default, string recordsetnamesuffix = default);
static member ListByType : Microsoft.Azure.Management.PrivateDns.IRecordSetsOperations * string * string * Microsoft.Azure.Management.PrivateDns.Models.RecordType * Nullable<int> * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PrivateDns.Models.RecordSet>
<Extension()>
Public Function ListByType (operations As IRecordSetsOperations, resourceGroupName As String, privateZoneName As String, recordType As RecordType, Optional top As Nullable(Of Integer) = Nothing, Optional recordsetnamesuffix As String = Nothing) As IPage(Of RecordSet)

Parameters

operations
IRecordSetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

privateZoneName
String

The name of the Private DNS zone (without a terminating dot).

recordType
RecordType

The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'PTR', 'SOA', 'SRV', 'TXT'

top
Nullable<Int32>

The maximum number of record sets to return. If not specified, returns up to 100 record sets.

recordsetnamesuffix
String

The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>".

Returns

Applies to