Share via


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
System_CAPS_pubmethod MetricTrigger()

Initializes a new instance of the MetricTrigger class.

Properties

Name Description
System_CAPS_pubproperty MetricName

Optional. The name of the metric that defines what the rule monitors.

System_CAPS_pubproperty MetricNamespace

Optional. Only should be present for availability level metrics, where the value must be WindowsAzure.Availability.

System_CAPS_pubproperty MetricResourceUri

Optional. The resource identifier of the resource the rule monitors.

System_CAPS_pubproperty Operator

Optional. The operator that is used to compare the metric data and the threshold.

System_CAPS_pubproperty Statistic

Optional. How the metrics from multiple instances are combined.

System_CAPS_pubproperty Threshold

Optional. The threshold of the metric that triggers the scale action.

System_CAPS_pubproperty TimeAggregation

Optional. How the data that is collected should be combined over time. The default value is Average.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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
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.Azure.Management.Insights.Models Namespace

Return to top