MetricTrigger Class
Updated: September 18, 2014
The trigger that results in a scaling action.
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
| Name | Description | |
|---|---|---|
![]() | MetricTrigger() | Initializes a new instance of the MetricTrigger class. |
| 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. |
| 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.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=cpp)
.jpeg?cs-save-lang=1&cs-lang=cpp)
.jpeg?cs-save-lang=1&cs-lang=cpp)