IDnsRecordSets<RecordSetT>.ListAsync 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.
Overloads
ListAsync(Int32, Boolean, CancellationToken) |
Lists all the record sets, with number of entries in each page limited to given size. |
ListAsync(String, Boolean, CancellationToken) |
Lists all the record sets with the given suffix. |
ListAsync(String, Int32, Boolean, CancellationToken) |
Lists all the record sets with the given suffix, also limits the number of entries per page to the given page size. |
ListAsync(Int32, Boolean, CancellationToken)
Lists all the record sets, with number of entries in each page limited to given size.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<RecordSetT>> ListAsync (int pageSize, bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = default);
abstract member ListAsync : int * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'RecordSetT>>
Public Function ListAsync (pageSize As Integer, Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of RecordSetT))
Parameters
- pageSize
- Int32
The maximum number of record sets in a page.
- loadAllPages
- Boolean
- cancellationToken
- CancellationToken
Returns
Applies to
ListAsync(String, Boolean, CancellationToken)
Lists all the record sets with the given suffix.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<RecordSetT>> ListAsync (string recordSetNameSuffix, bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = default);
abstract member ListAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'RecordSetT>>
Public Function ListAsync (recordSetNameSuffix As String, Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of RecordSetT))
Parameters
- recordSetNameSuffix
- String
The record set name suffix.
- loadAllPages
- Boolean
- cancellationToken
- CancellationToken
Returns
Applies to
ListAsync(String, Int32, Boolean, CancellationToken)
Lists all the record sets with the given suffix, also limits the number of entries per page to the given page size.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<RecordSetT>> ListAsync (string recordSetNameSuffix, int pageSize, bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = default);
abstract member ListAsync : string * int * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'RecordSetT>>
Public Function ListAsync (recordSetNameSuffix As String, pageSize As Integer, Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of RecordSetT))
Parameters
- recordSetNameSuffix
- String
The record set name suffix.
- pageSize
- Int32
The maximum number of record sets in a page.
- loadAllPages
- Boolean
- cancellationToken
- CancellationToken
Returns
Applies to
Azure SDK for .NET