MetricDefinition Class

 

Metric definition class specifies the metadata for a metric.

Namespace:   Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models
Assembly:  Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Management.Monitoring.Metrics.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 DisplayName

Optional. Metric display name.

System_CAPS_pubproperty IsAlertable

Optional. Specifies if the metric is alertable. Alerts can be defined on a metric only if this property is true.

System_CAPS_pubproperty MetricAvailabilities

Optional. Metric availability specifies the time grain (aggregation interval) and the retention period for the metric in a timegrain.

System_CAPS_pubproperty MinimumAlertableTimeWindow

Optional. Specifies the minimum alertable time window for the metric.

System_CAPS_pubproperty Name

Optional. Get the metric name.

System_CAPS_pubproperty Namespace

Optional. Get the metric namespace.

System_CAPS_pubproperty PrimaryAggregation

Optional. Metric primary aggregation specifies the default type for the metrics. This indicates if the metric is of type average, total, minimum or maximum.

System_CAPS_pubproperty ResourceIdSuffix

Optional. Metric resource id suffix specfies the sub-resource path within the the resource for the metric.

System_CAPS_pubproperty Unit

Optional. The unit for 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.WindowsAzure.Management.Monitoring.Metrics.Models Namespace

Return to top