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)

public:
[ExtensionAttribute]
static Task<MetricValueListResponse^>^ ListAsync(
	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: System.Threading.Tasks::Task<MetricValueListResponse^>^

The List Metric values operation response.

Return to top
Show: