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 = 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
- System.Boolean
- cancellationToken
- System.Threading.CancellationToken
Returns
- System.Threading.Tasks.Task<IPagedCollection<T>>
list of resources