Metric Class
A metric value set represents a set of metric values in a time period.
Namespace: Microsoft.Azure.Insights.Models
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Inheritance Hierarchy
System.Object
Microsoft.Azure.Insights.Models.Metric
Syntax
public class Metric
public ref class Metric
type Metric = class end
Public Class Metric
Constructors
Name | Description | |
---|---|---|
Metric() | Initializes a new instance of the Metric class. |
Properties
Name | Description | |
---|---|---|
EndTime | Optional. The end time. |
|
MetricValues | Optional. The collection of actual metric values. |
|
Name | Optional. The name and the display name of the metric. |
|
Properties | Optional. Collection of extended properties. |
|
ResourceId | Optional. The resource ID of the resource that has emitted the metric. |
|
StartTime | Optional. The start time. |
|
TimeGrain | Optional. The time grain of the metric. Also known as the aggregation interval or frequency. |
|
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