Freigeben über


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
System_CAPS_pubmethod Metric()

Initializes a new instance of the Metric class.

Properties

Name Description
System_CAPS_pubproperty EndTime

Optional. The end time.

System_CAPS_pubproperty MetricValues

Optional. The collection of actual metric values.

System_CAPS_pubproperty Name

Optional. The name and the display name of the metric.

System_CAPS_pubproperty Properties

Optional. Collection of extended properties.

System_CAPS_pubproperty ResourceId

Optional. The resource ID of the resource that has emitted the metric.

System_CAPS_pubproperty StartTime

Optional. The start time.

System_CAPS_pubproperty TimeGrain

Optional. The time grain of the metric. Also known as the aggregation interval or frequency.

System_CAPS_pubproperty Unit

Optional. The unit of the metric.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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