CollectionRegionOperationsExtensions.ListMetricsAsync メソッド

定義

指定されたデータベース アカウント、コレクション、およびリージョンの指定されたフィルターによって決定されたメトリックを取得します。

C#
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.CosmosDB.Models.Metric>> ListMetricsAsync(this Microsoft.Azure.Management.CosmosDB.ICollectionRegionOperations operations, string resourceGroupName, string accountName, string region, string databaseRid, string collectionRid, string filter, System.Threading.CancellationToken cancellationToken = default);

パラメーター

operations
ICollectionRegionOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

accountName
String

Cosmos DB データベース アカウント名。

region
String

単語と各単語の間のスペースが大文字の Cosmos DB リージョン。

databaseRid
String

Cosmos DB データベースの削除。

collectionRid
String

Cosmos DB コレクションの削除。

filter
String

返すメトリックのサブセットを記述する OData フィルター式。 フィルター処理できるパラメーターは、name.value (メトリックの名前、または複数の名前を持つことができます)、startTime、endTime、timeGrain です。 サポートされている演算子は eq です。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象

製品 バージョン
Azure SDK for .NET Legacy