Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The List Metric Value operation lists the metric value sets for the resource metrics.
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Metrics
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Syntax
public static MetricValueListResponse List(
this IMetricValueOperations operations,
string resourceId,
IList<string> metricNames,
string metricNamespace,
TimeSpan timeGrain,
DateTime startTime,
DateTime endTime
)
public:
[ExtensionAttribute]
static MetricValueListResponse^ List(
IMetricValueOperations^ operations,
String^ resourceId,
IList<String^>^ metricNames,
String^ metricNamespace,
TimeSpan timeGrain,
DateTime startTime,
DateTime endTime
)
static member List :
operations:IMetricValueOperations *
resourceId:string *
metricNames:IList<string> *
metricNamespace:string *
timeGrain:TimeSpan *
startTime:DateTime *
endTime:DateTime -> MetricValueListResponse
<ExtensionAttribute>
Public Shared Function List (
operations As IMetricValueOperations,
resourceId As String,
metricNames As IList(Of String),
metricNamespace As String,
timeGrain As TimeSpan,
startTime As Date,
endTime As Date
) As MetricValueListResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricValueOperationsReference to the Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricValueOperations.
resourceId
Type: System.StringRequired. The id of the resource.
metricNames
Type: System.Collections.Generic.IList<String>Required. The names of the metrics.
metricNamespace
Type: System.StringOptional. The namespace of the metrics.
timeGrain
Type: System.TimeSpanRequired. The time grain of the metrics.
startTime
Type: System.DateTimeRequired. The start time (in UTC) of the metrics.
endTime
Type: System.DateTimeRequired. The end time (in UTC) of the metrics.
Return Value
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricValueListResponse
The List Metric values operation response.
See Also
MetricValueOperationsExtensions Class
Microsoft.WindowsAzure.Management.Monitoring.Metrics Namespace
Return to top