Freigeben über


ISupportsListingByResourceGroup<T>.ListByResourceGroupAsync Methode

Definition

Listet Ressourcen des angegebenen Typs in der angegebenen Ressourcengruppe auf.

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))

Parameter

resourceGroupName
String

der Name der Ressourcengruppe, aus der die Ressourcen aufgelistet werden sollen.

loadAllPages
Boolean
cancellationToken
CancellationToken

Gibt zurück

Die Liste der Ressourcen

Gilt für: