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

Initializes a new instance of the MetricDefinition class.

Properties

Name Description
System_CAPS_pubproperty MetricAvailabilities

Optional. Collection of what aggregation intervals are available to be queried.

System_CAPS_pubproperty Name

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

System_CAPS_pubproperty PrimaryAggregationType

Optional. The primary aggregation type value defining how to use the values for display.

System_CAPS_pubproperty Properties

Optional. Collection of extended properties.

System_CAPS_pubproperty ResourceUri

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

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