RecordSetsOperationsExtensions.ListByTypeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists the record sets of a specified type in a Private DNS zone.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PrivateDns.Models.RecordSet>> ListByTypeAsync (this Microsoft.Azure.Management.PrivateDns.IRecordSetsOperations operations, string resourceGroupName, string privateZoneName, Microsoft.Azure.Management.PrivateDns.Models.RecordType recordType, int? top = default, string recordsetnamesuffix = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByTypeAsync : Microsoft.Azure.Management.PrivateDns.IRecordSetsOperations * string * string * Microsoft.Azure.Management.PrivateDns.Models.RecordType * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PrivateDns.Models.RecordSet>>
<Extension()>
Public Function ListByTypeAsync (operations As IRecordSetsOperations, resourceGroupName As String, privateZoneName 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 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'
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>".
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET