Class AutoscaleSettingProfileRuleMetricTriggerArgs
Inherited Members
Namespace: Pulumi.Azure.Monitoring.Inputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class AutoscaleSettingProfileRuleMetricTriggerArgs : ResourceArgs
Constructors
View SourceAutoscaleSettingProfileRuleMetricTriggerArgs()
Declaration
public AutoscaleSettingProfileRuleMetricTriggerArgs()
Properties
View SourceMetricName
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> |
MetricResourceId
The ID of the Resource which the Rule monitors.
Declaration
public Input<string> MetricResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
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> |
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> |
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> |
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> |