Freigeben über


DisksOperationsExtensions.ListByResourceGroupAsync Methode

Definition

Listet alle Datenträger unter einer Ressourcengruppe auf.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.Disk>> ListByResourceGroupAsync (this Microsoft.Azure.Management.Compute.IDisksOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.Compute.IDisksOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.Disk>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IDisksOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Disk))

Parameter

operations
IDisksOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: