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 | |
---|---|---|
MetricDefinition() | Initializes a new instance of the MetricDefinition class. |
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. |
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.WindowsAzure.Management.Monitoring.Metrics.Models Namespace
Return to top