MetricValueOperationsExtensions.List Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The List Metric Value operation lists the metric value sets for the resource metrics.
public static Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricValueListResponse List (this Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricValueOperations operations, string resourceId, System.Collections.Generic.IList<string> metricNames, string metricNamespace, TimeSpan timeGrain, DateTime startTime, DateTime endTime);
static member List : Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricValueOperations * string * System.Collections.Generic.IList<string> * string * TimeSpan * DateTime * DateTime -> Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricValueListResponse
<Extension()>
Public Function List (operations As IMetricValueOperations, resourceId As String, metricNames As IList(Of String), metricNamespace As String, timeGrain As TimeSpan, startTime As DateTime, endTime As DateTime) As MetricValueListResponse
Parameters
- operations
- IMetricValueOperations
Reference to the Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricValueOperations.
- resourceId
- String
Required. The id of the resource.
- metricNamespace
- String
Optional. The namespace of the metrics.
- timeGrain
- TimeSpan
Required. The time grain of the metrics.
- startTime
- DateTime
Required. The start time (in UTC) of the metrics.
- endTime
- DateTime
Required. The end time (in UTC) of the metrics.
Returns
The List Metric values operation response.