英語で読む

次の方法で共有


IMetrics.GetMultipleWithHttpMessagesAsync メソッド

定義

メトリック データを取得する

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Query.Models.MetricsResultsItem>>> GetMultipleWithHttpMessagesAsync(string appId, System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Query.Models.MetricsPostBodySchema> body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);

パラメーター

appId
String

アプリケーションの ID。 これは、Azure portalの [API アクセス設定] ブレードの [アプリケーション ID] です。

body
IList<MetricsPostBodySchema>

バッチ処理されたメトリック クエリ。

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

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

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

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

注釈

複数のメトリックのメトリック値を取得します

適用対象

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