MetricsOperationsExtensions.List メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
リソースのメトリック値を一覧表示します。
public static Microsoft.Azure.Management.Monitor.Models.Response List (this Microsoft.Azure.Management.Monitor.IMetricsOperations operations, string resourceUri, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Monitor.Models.MetadataValue> odataQuery = default, string timespan = default, TimeSpan? interval = default, string metricnames = default, string aggregation = default, int? top = default, string orderby = default, Microsoft.Azure.Management.Monitor.Models.ResultType? resultType = default, string metricnamespace = default);
static member List : Microsoft.Azure.Management.Monitor.IMetricsOperations * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Monitor.Models.MetadataValue> * string * Nullable<TimeSpan> * string * string * Nullable<int> * string * Nullable<Microsoft.Azure.Management.Monitor.Models.ResultType> * string -> Microsoft.Azure.Management.Monitor.Models.Response
<Extension()>
Public Function List (operations As IMetricsOperations, resourceUri As String, Optional odataQuery As ODataQuery(Of MetadataValue) = Nothing, Optional timespan As String = Nothing, Optional interval As Nullable(Of TimeSpan) = Nothing, Optional metricnames As String = Nothing, Optional aggregation As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional orderby As String = Nothing, Optional resultType As Nullable(Of ResultType) = Nothing, Optional metricnamespace As String = Nothing) As Response
パラメーター
- operations
- IMetricsOperations
この拡張メソッドの操作グループ。
- resourceUri
- String
リソースの識別子。
- odataQuery
- ODataQuery<MetadataValue>
操作に適用する OData パラメーター。
- timespan
- String
クエリの期間。 "startDateTime_ISO/endDateTime_ISO" という形式の文字列です。
- metricnames
- String
取得するメトリックの名前 (コンマ区切り)。 特殊なケース: メトリック名自体にコンマが含まれる場合は、%2 を使用して指定します。 例: 'Metric,Name1' は 'Metric%2Name1' である必要があります
- aggregation
- String
取得する集計の種類 (コンマ区切り) の一覧。
- orderby
- String
結果の並べ替えに使用する集計と並べ替えの方向。 指定できる注文は 1 つだけです。 例: sum asc。
- resultType
- Nullable<ResultType>
収集されるデータのセットを減らします。 使用できる構文は、操作によって異なります。 詳細については、操作の説明を参照してください。 使用可能な値には、'Data'、'Metadata' などがあります。
- metricnamespace
- String
メトリック定義のクエリを実行するメトリック名前空間。
戻り値
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET