Class AutoscaleSettingProfileRuleMetricTrigger
Inheritance
Inherited Members
Namespace: Pulumi.Azure.Monitoring.Outputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class AutoscaleSettingProfileRuleMetricTrigger
Fields
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 readonly string MetricName
Field Value
| Type | Description |
|---|---|
| System.String |
MetricResourceId
The ID of the Resource which the Rule monitors.
Declaration
public readonly string MetricResourceId
Field Value
| Type | Description |
|---|---|
| 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 readonly string Operator
Field Value
| Type | Description |
|---|---|
| System.String |
Statistic
Specifies how the metrics from multiple instances are combined. Possible values are Average, Min and Max.
Declaration
public readonly string Statistic
Field Value
| Type | Description |
|---|---|
| System.String |
Threshold
Specifies the threshold of the metric that triggers the scale action.
Declaration
public readonly double Threshold
Field Value
| Type | Description |
|---|---|
| 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 readonly string TimeAggregation
Field Value
| Type | Description |
|---|---|
| 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 readonly string TimeGrain
Field Value
| Type | Description |
|---|---|
| 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 readonly string TimeWindow
Field Value
| Type | Description |
|---|---|
| System.String |