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 = null);
abstract member ListAsync : bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>

Parameters

loadAllPages
Boolean
cancellationToken
CancellationToken

Returns

Task<IPagedCollection<T>>

list of resources

Applies to