ISupportsListing<T>.ListAsync(Boolean, CancellationToken) 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 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
- System.Boolean
- cancellationToken
- System.Threading.CancellationToken
Returns
- System.Threading.Tasks.Task<IPagedCollection<T>>
list of resources