共用方式為


ISupportsListingByResourceGroup<T>.ListByResourceGroupAsync 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 = default);
abstract member ListByResourceGroupAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>
Public Function ListByResourceGroupAsync (resourceGroupName As String, Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of T))

Parameters

resourceGroupName
String

the name of the resource group to list the resources from

loadAllPages
Boolean
cancellationToken
CancellationToken

Returns

the list of resources

Applies to