MetricTrigger Class
The trigger that results in a scaling action.
Namespace: Microsoft.Azure.Management.Insights.Models
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Inheritance Hierarchy
System.Object
Microsoft.Azure.Management.Insights.Models.MetricTrigger
Syntax
public class MetricTrigger
public ref class MetricTrigger
type MetricTrigger = class end
Public Class MetricTrigger
Constructors
Name | Description | |
---|---|---|
MetricTrigger() | Initializes a new instance of the MetricTrigger class. |
Properties
Name | Description | |
---|---|---|
MetricName | Optional. The name of the metric that defines what the rule monitors. |
|
MetricNamespace | Optional. Only should be present for availability level metrics, where the value must be WindowsAzure.Availability. |
|
MetricResourceUri | Optional. The resource identifier of the resource the rule monitors. |
|
Operator | Optional. The operator that is used to compare the metric data and the threshold. |
|
Statistic | Optional. How the metrics from multiple instances are combined. |
|
Threshold | Optional. The threshold of the metric that triggers the scale action. |
|
TimeAggregation | Optional. How the data that is collected should be combined over time. The default value is Average. |
|
TimeGrain | Optional. The granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute. |
|
TimeWindow | Optional. The range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes. |
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.Azure.Management.Insights.Models Namespace
Return to top