共用方式為


MetricOperationsExtensions Class

 

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

Inheritance Hierarchy

System.Object
  Microsoft.Azure.Insights.MetricOperationsExtensions

Syntax

public static class MetricOperationsExtensions
[ExtensionAttribute]
public ref class MetricOperationsExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type MetricOperationsExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class MetricOperationsExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetMetrics(IMetricOperations, String, String)

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

System_CAPS_pubmethodSystem_CAPS_static GetMetrics(IMetricOperations, String, String, IEnumerable<MetricDefinition>)

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

System_CAPS_pubmethodSystem_CAPS_static GetMetricsAsync(IMetricOperations, String, String)

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

System_CAPS_pubmethodSystem_CAPS_static GetMetricsAsync(IMetricOperations, String, String, IEnumerable<MetricDefinition>)

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Azure.Insights Namespace

Return to top