Freigeben über


DatabaseOperationsExtensions.ListMetricDefinitionsAsync Methode

Definition

Ruft Metrikdefinitionen für die angegebene Datenbank ab.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricDefinition>> ListMetricDefinitionsAsync (this Microsoft.Azure.Management.CosmosDB.Fluent.IDatabaseOperations operations, string resourceGroupName, string accountName, string databaseRid, System.Threading.CancellationToken cancellationToken = default);
static member ListMetricDefinitionsAsync : Microsoft.Azure.Management.CosmosDB.Fluent.IDatabaseOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricDefinition>>
<Extension()>
Public Function ListMetricDefinitionsAsync (operations As IDatabaseOperations, resourceGroupName As String, accountName As String, databaseRid As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of MetricDefinition))

Parameter

operations
IDatabaseOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name einer Azure-Ressourcengruppe.

accountName
String

Name des Cosmos DB-Datenbankkontos.

databaseRid
String

Cosmos DB-Datenbank wird entfernt.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: