MetricValueOperationsExtensions.ListAsync Method (IMetricValueOperations, String, IList<String>, String, TimeSpan, DateTime, DateTime)
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 Task<MetricValueListResponse> ListAsync(
this IMetricValueOperations operations,
string resourceId,
IList<string> metricNames,
string metricNamespace,
TimeSpan timeGrain,
DateTime startTime,
DateTime endTime
)
public:
[ExtensionAttribute]
static Task<MetricValueListResponse^>^ ListAsync(
IMetricValueOperations^ operations,
String^ resourceId,
IList<String^>^ metricNames,
String^ metricNamespace,
TimeSpan timeGrain,
DateTime startTime,
DateTime endTime
)
static member ListAsync :
operations:IMetricValueOperations *
resourceId:string *
metricNames:IList<string> *
metricNamespace:string *
timeGrain:TimeSpan *
startTime:DateTime *
endTime:DateTime -> Task<MetricValueListResponse>
<ExtensionAttribute>
Public Shared Function ListAsync (
operations As IMetricValueOperations,
resourceId As String,
metricNames As IList(Of String),
metricNamespace As String,
timeGrain As TimeSpan,
startTime As Date,
endTime As Date
) As Task(Of 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: System.Threading.Tasks.Task<MetricValueListResponse>
The List Metric values operation response.
See Also
MetricValueOperationsExtensions Class
Microsoft.WindowsAzure.Management.Monitoring.Metrics Namespace
Return to top