Show / Hide Table of Contents

Class AlarmState

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

Constructors

View Source

AlarmState()

Declaration
public AlarmState()

Properties

View Source

ContactGroups

List contact groups of the alarm rule, which must have been created on the console.

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

Dimensions

Map of the resources associated with the alarm rule, such as "instanceId", "device" and "port". Each key's value is a string and it uses comma to split multiple items. For more information, see Metrics Reference.

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

EffectiveInterval

The interval of effecting alarm rule. It foramt as "hh:mm-hh:mm", like "0:00-4:00". Default to "00:00-23:59".

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

Enabled

Whether to enable alarm rule. Default to true.

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

EndTime

It has been deprecated from provider version 1.50.0 and 'effective_interval' instead.

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

Metric

Name of the monitoring metrics corresponding to a project, such as "CPUUtilization" and "networkin_rate". For more information, see Metrics Reference.

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

Name

The alarm rule name.

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

Operator

Alarm comparison operator. Valid values: ["<=", "<", ">", ">=", "==", "!="]. Default to "==".

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

Period

Index query cycle, which must be consistent with that defined for metrics. Default to 300, in seconds.

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

Project

Monitor project name, such as "acs_ecs_dashboard" and "acs_rds_dashboard". For more information, see Metrics Reference.

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

SilenceTime

Notification silence period in the alarm state, in seconds. Valid value range: [300, 86400]. Default to 86400

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

StartTime

It has been deprecated from provider version 1.50.0 and 'effective_interval' instead.

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

Statistics

Statistical method. It must be consistent with that defined for metrics. Valid values: ["Average", "Minimum", "Maximum"]. Default to "Average".

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

Status

The current alarm rule status.

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

Threshold

Alarm threshold value, which must be a numeric value currently.

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

TriggeredCount

Number of consecutive times it has been detected that the values exceed the threshold. Default to 3.

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

Webhook

The webhook that should be called when the alarm is triggered. Currently, only http protocol is supported. Default is empty string.

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