ISupportsListingByResourceGroup<T>.ListByResourceGroupAsync(String, 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 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
- System.String
the name of the resource group to list the resources from
- loadAllPages
- System.Boolean
- cancellationToken
- System.Threading.CancellationToken
Returns
- System.Threading.Tasks.Task<IPagedCollection<T>>
the list of resources