MetricValueOperationsExtensions.List Method (IMetricValueOperations, String, IList<String>, String, TimeSpan, DateTime, DateTime)
The List Metric Value operation lists the metric value sets for the resource metrics.
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
public static MetricValueListResponse List( this IMetricValueOperations operations, string resourceId, IList<string> metricNames, string metricNamespace, TimeSpan timeGrain, DateTime startTime, DateTime endTime )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricValueOperations
Reference to the Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricValueOperations.
- resourceId
-
Type:
System.String
Required. The id of the resource.
- metricNames
-
Type:
System.Collections.Generic.IList<String>
Required. The names of the metrics.
- metricNamespace
-
Type:
System.String
Optional. The namespace of the metrics.
- timeGrain
-
Type:
System.TimeSpan
Required. The time grain of the metrics.
- startTime
-
Type:
System.DateTime
Required. The start time (in UTC) of the metrics.
- endTime
-
Type:
System.DateTime
Required. The end time (in UTC) of the metrics.
Return Value
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricValueListResponseThe List Metric values operation response.
Show: