Freigeben über


UsageOperationsExtensions.ListAsync Methode

Definition

Ruft für den angegebenen Speicherort die aktuellen Computeressourcennutzungsinformationen sowie die Grenzwerte für Computeressourcen unter dem Abonnement ab.

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

Parameter

operations
IUsageOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

location
String

Der Speicherort, für den die Ressourcennutzung abgefragt wird.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: