次の方法で共有


IPercentileSourceTargetOperations.ListMetricsWithHttpMessagesAsync メソッド

定義

特定のアカウント、ソース、ターゲット リージョンの指定されたフィルターによって決定されたメトリックを取得します。 この URL は、PBS とレプリケーションの待機時間データ専用です

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.CosmosDB.Models.PercentileMetric>>> ListMetricsWithHttpMessagesAsync(string resourceGroupName, string accountName, string sourceRegion, string targetRegion, string filter, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListMetricsWithHttpMessagesAsync : string * string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<seq<Microsoft.Azure.Management.CosmosDB.Models.PercentileMetric>>>
Public Function ListMetricsWithHttpMessagesAsync (resourceGroupName As String, accountName As String, sourceRegion As String, targetRegion As String, filter As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IEnumerable(Of PercentileMetric)))

パラメーター

resourceGroupName
String

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

accountName
String

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

sourceRegion
String

データの書き込み元のソース リージョン。 単語と各単語の間のスペースが大文字の Cosmos DB リージョン。

targetRegion
String

データの書き込み先のターゲット リージョン。 単語と各単語の間のスペースが大文字の Cosmos DB リージョン。

filter
String

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

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

適用対象