IMetricValueOperations.ListAsync Method (String, IList<String>, String, TimeSpan, DateTime, DateTime, CancellationToken)

 

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)

Task<MetricValueListResponse> ListAsync(
	string resourceId,
	IList<string> metricNames,
	string metricNamespace,
	TimeSpan timeGrain,
	DateTime startTime,
	DateTime endTime,
	CancellationToken cancellationToken
)

Parameters

resourceId
Type: System.String

The id of the resource.

metricNames
Type: System.Collections.Generic.IList<String>

The names of the metrics.

metricNamespace
Type: System.String

The namespace of the metrics.

timeGrain
Type: System.TimeSpan

The time grain of the metrics.

startTime
Type: System.DateTime

The start time (in UTC) of the metrics.

endTime
Type: System.DateTime

The end time (in UTC) of the metrics.

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks.Task<MetricValueListResponse>

The List Metric values operation response.

Return to top
Show: