IMetricOperations Interface

 

Updated: September 18, 2014

Operations for metric values.

Namespace:   Microsoft.Azure.Insights
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

public interface class IMetricOperations

NameDescription
System_CAPS_pubmethodGetMetricsAsync(String^, String^, CancellationToken)

The List Metric operation lists the metric value sets for the resource metrics.

System_CAPS_pubmethodGetMetricsAsync(String^, String^, IEnumerable<MetricDefinition^>^, CancellationToken)

Get Metrics function that takes in the MetricDefinitions (rather than names in the filter string) to allow users to cache the definitions themselves

NameDescription
System_CAPS_pubmethodGetMetrics(String^, String^)

Overloaded. The List Metric operation lists the metric value sets for the resource metrics.(Defined by MetricOperationsExtensions.)

System_CAPS_pubmethodGetMetrics(String^, String^, IEnumerable<MetricDefinition^>^)

Overloaded. Non-async version returns the MetricListResponse straight (consistent with overload for get metrics by name functions)(Defined by MetricOperationsExtensions.)

System_CAPS_pubmethodGetMetricsAsync(String^, String^)

Overloaded. The List Metric operation lists the metric value sets for the resource metrics.(Defined by MetricOperationsExtensions.)

System_CAPS_pubmethodGetMetricsAsync(String^, String^, IEnumerable<MetricDefinition^>^)

Overloaded. Overload for get metrics by definitions that does not require cancellation token (consistent with overload for get metrics by name functions)(Defined by MetricOperationsExtensions.)

Return to top
Show: