Share via


MetricDefinition Members

Metric definition class specifies the metadata for a metric.

The following tables list the members exposed by the MetricDefinition type.

Public Constructors

  Name Description
  MetricDefinition Initializes a new instance of the MetricDefinition class.

Top

Public Properties

  Name Description
DisplayName Optional. Metric display name.
IsAlertable Optional. Specifies if the metric is alertable. Alerts can be defined on a metric only if this property is true.
MetricAvailabilities Optional. Metric availability specifies the time grain (aggregation interval) and the retention period for the metric in a timegrain.
MinimumAlertableTimeWindow Optional. Specifies the minimum alertable time window for the metric.
Name Optional. Get the metric name.
Namespace Optional. Get the metric namespace.
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.
ResourceIdSuffix Optional. Metric resource id suffix specfies the sub-resource path within the the resource for the metric.
Unit Optional. The unit for the metric.

Top

Public Methods

(see also Protected Methods)

  Name Description
Equals  (Inherited from Object)
GetHashCode  (Inherited from Object)
GetType  (Inherited from Object)
ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
Finalize  (Inherited from Object)
MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

MetricDefinition Class
Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models Namespace