MetricTrigger Class

 

Updated: September 18, 2014

The trigger that results in a scaling action.

Namespace:   Microsoft.Azure.Management.Insights.Models
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

System.Object
  Microsoft.Azure.Management.Insights.Models.MetricTrigger

Public Class MetricTrigger

NameDescription
System_CAPS_pubmethodMetricTrigger()

Initializes a new instance of the MetricTrigger class.

NameDescription
System_CAPS_pubpropertyMetricName

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

System_CAPS_pubpropertyMetricNamespace

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

System_CAPS_pubpropertyMetricResourceUri

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

System_CAPS_pubpropertyOperator

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

System_CAPS_pubpropertyStatistic

Optional. How the metrics from multiple instances are combined.

System_CAPS_pubpropertyThreshold

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

System_CAPS_pubpropertyTimeAggregation

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

System_CAPS_pubpropertyTimeGrain

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_pubpropertyTimeWindow

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.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

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

Return to top
Show: