MetricDefinition Class
Metric definition class specifies the metadata for a metric.
Namespace: Microsoft.Azure.Insights.Models
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Inheritance Hierarchy
System.Object
Microsoft.Azure.Insights.Models.MetricDefinition
Syntax
public class MetricDefinition
public ref class MetricDefinition
type MetricDefinition = class end
Public Class MetricDefinition
Constructors
Name | Description | |
---|---|---|
MetricDefinition() | Initializes a new instance of the MetricDefinition class. |
Properties
Name | Description | |
---|---|---|
MetricAvailabilities | Optional. Collection of what aggregation intervals are available to be queried. |
|
Name | Optional. The name and the display name of the metric. |
|
PrimaryAggregationType | Optional. The primary aggregation type value defining how to use the values for display. |
|
Properties | Optional. Collection of extended properties. |
|
ResourceUri | Optional. The resource identifier of the resource that has emitted the metric. |
|
Unit | Optional. The unit of the metric. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
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.Models Namespace
Return to top