Show / Hide Table of Contents

Class AutoscaleSettingProfileRuleMetricTriggerArgs

Inheritance
System.Object
InputArgs
ResourceArgs
AutoscaleSettingProfileRuleMetricTriggerArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Monitoring.Inputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class AutoscaleSettingProfileRuleMetricTriggerArgs : ResourceArgs

Constructors

View Source

AutoscaleSettingProfileRuleMetricTriggerArgs()

Declaration
public AutoscaleSettingProfileRuleMetricTriggerArgs()

Properties

View Source

MetricName

The name of the metric that defines what the rule monitors, such as Percentage CPU for Virtual Machine Scale Sets and CpuPercentage for App Service Plan.

Declaration
public Input<string> MetricName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MetricResourceId

The ID of the Resource which the Rule monitors.

Declaration
public Input<string> MetricResourceId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Operator

Specifies the operator used to compare the metric data and threshold. Possible values are: Equals, NotEquals, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual.

Declaration
public Input<string> Operator { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Statistic

Specifies how the metrics from multiple instances are combined. Possible values are Average, Min and Max.

Declaration
public Input<string> Statistic { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Threshold

Specifies the threshold of the metric that triggers the scale action.

Declaration
public Input<double> Threshold { get; set; }
Property Value
Type Description
Input<System.Double>
View Source

TimeAggregation

Specifies how the data that's collected should be combined over time. Possible values include Average, Count, Maximum, Minimum, Last and Total. Defaults to Average.

Declaration
public Input<string> TimeAggregation { get; set; }
Property Value
Type Description
Input<System.String>
View Source

TimeGrain

Specifies the granularity of metrics that the rule monitors, which must be one of the pre-defined values returned from the metric definitions for the metric. This value must be between 1 minute and 12 hours an be formatted as an ISO 8601 string.

Declaration
public Input<string> TimeGrain { get; set; }
Property Value
Type Description
Input<System.String>
View Source

TimeWindow

Specifies the time range for which data is collected, which must be greater than the delay in metric collection (which varies from resource to resource). This value must be between 5 minutes and 12 hours and be formatted as an ISO 8601 string.

Declaration
public Input<string> TimeWindow { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.