Show / Hide Table of Contents

Class AlarmArgs

Inheritance
System.Object
InputArgs
ResourceArgs
AlarmArgs
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.AliCloud.Ess
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class AlarmArgs : ResourceArgs

Constructors

View Source

AlarmArgs()

Declaration
public AlarmArgs()

Properties

View Source

AlarmActions

The list of actions to execute when this alarm transition into an ALARM state. Each action is specified as ess scaling rule ari.

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

CloudMonitorGroupId

Defines the application group id defined by CMS which is assigned when you upload custom metric to CMS, only available for custom metirc.

Declaration
public Input<int> CloudMonitorGroupId { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ComparisonOperator

The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Supported value: >=, <=, >, <. Defaults to >=.

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

Description

The description for the alarm.

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

Dimensions

The dimension map for the alarm's associated metric (documented below). For all metrics, you can not set the dimension key as "scaling_group" or "userId", which is set by default, the second dimension for metric, such as "device" for "PackagesNetIn", need to be set by users.

Declaration
public InputMap<object> Dimensions { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

Enable

Whether to enable specific ess alarm. Default to true.

Declaration
public Input<bool> Enable { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

EvaluationCount

The number of times that needs to satisfies comparison condition before transition into ALARM state. Defaults to 3.

Declaration
public Input<int> EvaluationCount { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

MetricName

The name for the alarm's associated metric. See Block_metricNames_and_dimensions below for details.

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

MetricType

The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.

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

Name

The name for ess alarm.

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

Period

The period in seconds over which the specified statistic is applied. Supported value: 60, 120, 300, 900. Defaults to 300.

Declaration
public Input<int> Period { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ScalingGroupId

The scaling group associated with this alarm, the 'ForceNew' attribute is available in 1.56.0+.

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

Statistics

The statistic to apply to the alarm's associated metric. Supported value: Average, Minimum, Maximum. Defaults to Average.

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

Threshold

The value against which the specified statistics is compared.

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