ISupportsListing<T>.ListAsync(Boolean, CancellationToken) Method

Definition

Lists all the resources of the specified type in the currently selected subscription.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<T>> ListAsync (bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = default);
abstract member ListAsync : bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>
Public Function ListAsync (Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of T))

Parameters

loadAllPages
Boolean
cancellationToken
CancellationToken

Returns

list of resources

Applies to