IBaselinesOperations.ListWithHttpMessagesAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
リソースのメトリック ベースライン値を一覧表示します。
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Monitor.Models.SingleMetricBaseline>>> ListWithHttpMessagesAsync (string resourceUri, string metricnames = default, string metricnamespace = default, string timespan = default, TimeSpan? interval = default, string aggregation = default, string sensitivities = default, string filter = default, Microsoft.Azure.Management.Monitor.Models.ResultType? resultType = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : string * string * string * string * Nullable<TimeSpan> * string * string * string * Nullable<Microsoft.Azure.Management.Monitor.Models.ResultType> * 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.Monitor.Models.SingleMetricBaseline>>>
Public Function ListWithHttpMessagesAsync (resourceUri As String, Optional metricnames As String = Nothing, Optional metricnamespace As String = Nothing, Optional timespan As String = Nothing, Optional interval As Nullable(Of TimeSpan) = Nothing, Optional aggregation As String = Nothing, Optional sensitivities As String = Nothing, Optional filter As String = Nothing, Optional resultType As Nullable(Of ResultType) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IEnumerable(Of SingleMetricBaseline)))
パラメーター
- resourceUri
- String
リソースの識別子。
- metricnames
- String
取得するメトリックの名前 (コンマ区切り)。 特殊なケース: メトリック名自体にコンマが含まれる場合は、%2 を使用して指定します。 例: 'Metric,Name1' は 'Metric%2Name1' である必要があります
- metricnamespace
- String
メトリック定義のクエリを実行するメトリック名前空間。
- timespan
- String
クエリの期間。 "startDateTime_ISO/endDateTime_ISO" という形式の文字列です。
- aggregation
- String
取得する集計の種類 (コンマ区切り) の一覧。
- sensitivities
- String
取得する秘密度 (コンマ区切り) の一覧。
- filter
- String
$filterは、返されるメトリック データのセットを減らすために使用されます。 例: メトリックにメタデータ A、 B と C。 - A = a1 と B = b1 または b2 $filter=A eq 'a1' と B eq 'b1' または B eq 'b2' と C eq '*' が含まれるすべての時系列 C を返します。バリアントが無効です: $filter=A eq 'a1' と B eq 'b1' と C eq '*' または B = 'b2' 論理または演算子が 2 つの異なるメタデータ名を区切ることができないため、これは無効です。 - A = a1、B = b1、C = c1: $filter=A eq 'a1' と B eq 'b1' と C eq 'c1' のすべての時系列を返します。A = a1 $filter=A eq 'a1' と B eq '' と C eq '' のすべての時系列を返します。 特殊なケース: ディメンション名またはディメンション値で角かっこが使用されている場合。 例: ディメンション名が dim (テスト) 1 $filter= "dim (test) 1 eq '' を使用する代わりに、**$filter= "dim %2528test%2529 1 eq '' "** ディメンション名が dim (test) 3 で寸法値が dim の場合 3 (テスト) val $filter= "dim (test) 3 eq 'dim3 (test) val' を使用する代わりに、 $filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' を使用します"
- resultType
- Nullable<ResultType>
ベースラインのメタデータのみを取得できるようにします。 データ要求時にすべての情報が取得されます。 使用可能な値には、'Data'、'Metadata' などがあります。
- customHeaders
- Dictionary<String,List<String>>
要求に追加されるヘッダー。
- cancellationToken
- CancellationToken
キャンセル トークン。
戻り値
例外
操作が無効な状態コードを返したときにスローされます
応答を逆シリアル化できない場合にスローされます
必須パラメーターが null の場合にスローされます
適用対象
Azure SDK for .NET