ISupportsListingByResourceGroup<T>.ListByResourceGroupAsync(String, Boolean, CancellationToken) Method

Definition

Lists resources of the specified type in the specified resource group.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<T>> ListByResourceGroupAsync (string resourceGroupName, bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = null);
abstract member ListByResourceGroupAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>

Parameters

resourceGroupName
String

the name of the resource group to list the resources from

loadAllPages
Boolean
cancellationToken
CancellationToken

Returns

Task<IPagedCollection<T>>

the list of resources

Applies to