Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.21.0 published on Tuesday, Jun 14, 2022 by Pulumi

Alarm

Import

Ess alarm can be imported using the id, e.g.

 $ pulumi import alicloud:ess/alarm:Alarm example asg-2ze500_045efffe-4d05

Create a Alarm Resource

new Alarm(name: string, args: AlarmArgs, opts?: CustomResourceOptions);
@overload
def Alarm(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          alarm_actions: Optional[Sequence[str]] = None,
          cloud_monitor_group_id: Optional[int] = None,
          comparison_operator: Optional[str] = None,
          description: Optional[str] = None,
          dimensions: Optional[Mapping[str, Any]] = None,
          enable: Optional[bool] = None,
          evaluation_count: Optional[int] = None,
          metric_name: Optional[str] = None,
          metric_type: Optional[str] = None,
          name: Optional[str] = None,
          period: Optional[int] = None,
          scaling_group_id: Optional[str] = None,
          statistics: Optional[str] = None,
          threshold: Optional[str] = None)
@overload
def Alarm(resource_name: str,
          args: AlarmArgs,
          opts: Optional[ResourceOptions] = None)
func NewAlarm(ctx *Context, name string, args AlarmArgs, opts ...ResourceOption) (*Alarm, error)
public Alarm(string name, AlarmArgs args, CustomResourceOptions? opts = null)
public Alarm(String name, AlarmArgs args)
public Alarm(String name, AlarmArgs args, CustomResourceOptions options)
type: alicloud:ess:Alarm
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AlarmArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AlarmArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AlarmArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AlarmArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AlarmArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Alarm Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Alarm resource accepts the following input properties:

AlarmActions List<string>

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

MetricName string

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

ScalingGroupId string

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

Threshold string

The value against which the specified statistics is compared.

CloudMonitorGroupId int

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

ComparisonOperator string

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 >=.

Description string

The description for the alarm.

Dimensions Dictionary<string, object>

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.

Enable bool

Whether to enable specific ess alarm. Default to true.

EvaluationCount int

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

MetricType string

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.

Name string

The name for ess alarm.

Period int

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

Statistics string

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

AlarmActions []string

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

MetricName string

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

ScalingGroupId string

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

Threshold string

The value against which the specified statistics is compared.

CloudMonitorGroupId int

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

ComparisonOperator string

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 >=.

Description string

The description for the alarm.

Dimensions map[string]interface{}

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.

Enable bool

Whether to enable specific ess alarm. Default to true.

EvaluationCount int

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

MetricType string

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.

Name string

The name for ess alarm.

Period int

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

Statistics string

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

alarmActions List<String>

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

metricName String

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

scalingGroupId String

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

threshold String

The value against which the specified statistics is compared.

cloudMonitorGroupId Integer

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

comparisonOperator String

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 >=.

description String

The description for the alarm.

dimensions Map<String,Object>

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.

enable Boolean

Whether to enable specific ess alarm. Default to true.

evaluationCount Integer

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

metricType String

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.

name String

The name for ess alarm.

period Integer

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

statistics String

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

alarmActions string[]

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

metricName string

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

scalingGroupId string

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

threshold string

The value against which the specified statistics is compared.

cloudMonitorGroupId number

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

comparisonOperator string

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 >=.

description string

The description for the alarm.

dimensions {[key: string]: any}

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.

enable boolean

Whether to enable specific ess alarm. Default to true.

evaluationCount number

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

metricType string

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.

name string

The name for ess alarm.

period number

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

statistics string

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

alarm_actions Sequence[str]

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

metric_name str

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

scaling_group_id str

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

threshold str

The value against which the specified statistics is compared.

cloud_monitor_group_id int

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

comparison_operator str

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 >=.

description str

The description for the alarm.

dimensions Mapping[str, Any]

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.

enable bool

Whether to enable specific ess alarm. Default to true.

evaluation_count int

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

metric_type str

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.

name str

The name for ess alarm.

period int

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

statistics str

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

alarmActions List<String>

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

metricName String

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

scalingGroupId String

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

threshold String

The value against which the specified statistics is compared.

cloudMonitorGroupId Number

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

comparisonOperator String

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 >=.

description String

The description for the alarm.

dimensions Map<Any>

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.

enable Boolean

Whether to enable specific ess alarm. Default to true.

evaluationCount Number

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

metricType String

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.

name String

The name for ess alarm.

period Number

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

statistics String

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

Outputs

All input properties are implicitly available as output properties. Additionally, the Alarm resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

State string

The state of specified alarm.

Id string

The provider-assigned unique ID for this managed resource.

State string

The state of specified alarm.

id String

The provider-assigned unique ID for this managed resource.

state String

The state of specified alarm.

id string

The provider-assigned unique ID for this managed resource.

state string

The state of specified alarm.

id str

The provider-assigned unique ID for this managed resource.

state str

The state of specified alarm.

id String

The provider-assigned unique ID for this managed resource.

state String

The state of specified alarm.

Look up an Existing Alarm Resource

Get an existing Alarm resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AlarmState, opts?: CustomResourceOptions): Alarm
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        alarm_actions: Optional[Sequence[str]] = None,
        cloud_monitor_group_id: Optional[int] = None,
        comparison_operator: Optional[str] = None,
        description: Optional[str] = None,
        dimensions: Optional[Mapping[str, Any]] = None,
        enable: Optional[bool] = None,
        evaluation_count: Optional[int] = None,
        metric_name: Optional[str] = None,
        metric_type: Optional[str] = None,
        name: Optional[str] = None,
        period: Optional[int] = None,
        scaling_group_id: Optional[str] = None,
        state: Optional[str] = None,
        statistics: Optional[str] = None,
        threshold: Optional[str] = None) -> Alarm
func GetAlarm(ctx *Context, name string, id IDInput, state *AlarmState, opts ...ResourceOption) (*Alarm, error)
public static Alarm Get(string name, Input<string> id, AlarmState? state, CustomResourceOptions? opts = null)
public static Alarm get(String name, Output<String> id, AlarmState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AlarmActions List<string>

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

CloudMonitorGroupId int

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

ComparisonOperator string

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 >=.

Description string

The description for the alarm.

Dimensions Dictionary<string, object>

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.

Enable bool

Whether to enable specific ess alarm. Default to true.

EvaluationCount int

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

MetricName string

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

MetricType string

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.

Name string

The name for ess alarm.

Period int

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

ScalingGroupId string

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

State string

The state of specified alarm.

Statistics string

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

Threshold string

The value against which the specified statistics is compared.

AlarmActions []string

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

CloudMonitorGroupId int

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

ComparisonOperator string

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 >=.

Description string

The description for the alarm.

Dimensions map[string]interface{}

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.

Enable bool

Whether to enable specific ess alarm. Default to true.

EvaluationCount int

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

MetricName string

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

MetricType string

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.

Name string

The name for ess alarm.

Period int

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

ScalingGroupId string

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

State string

The state of specified alarm.

Statistics string

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

Threshold string

The value against which the specified statistics is compared.

alarmActions List<String>

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

cloudMonitorGroupId Integer

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

comparisonOperator String

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 >=.

description String

The description for the alarm.

dimensions Map<String,Object>

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.

enable Boolean

Whether to enable specific ess alarm. Default to true.

evaluationCount Integer

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

metricName String

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

metricType String

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.

name String

The name for ess alarm.

period Integer

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

scalingGroupId String

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

state String

The state of specified alarm.

statistics String

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

threshold String

The value against which the specified statistics is compared.

alarmActions string[]

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

cloudMonitorGroupId number

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

comparisonOperator string

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 >=.

description string

The description for the alarm.

dimensions {[key: string]: any}

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.

enable boolean

Whether to enable specific ess alarm. Default to true.

evaluationCount number

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

metricName string

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

metricType string

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.

name string

The name for ess alarm.

period number

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

scalingGroupId string

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

state string

The state of specified alarm.

statistics string

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

threshold string

The value against which the specified statistics is compared.

alarm_actions Sequence[str]

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

cloud_monitor_group_id int

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

comparison_operator str

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 >=.

description str

The description for the alarm.

dimensions Mapping[str, Any]

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.

enable bool

Whether to enable specific ess alarm. Default to true.

evaluation_count int

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

metric_name str

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

metric_type str

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.

name str

The name for ess alarm.

period int

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

scaling_group_id str

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

state str

The state of specified alarm.

statistics str

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

threshold str

The value against which the specified statistics is compared.

alarmActions List<String>

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

cloudMonitorGroupId Number

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

comparisonOperator String

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 >=.

description String

The description for the alarm.

dimensions Map<Any>

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.

enable Boolean

Whether to enable specific ess alarm. Default to true.

evaluationCount Number

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

metricName String

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

metricType String

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.

name String

The name for ess alarm.

period Number

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

scalingGroupId String

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

state String

The state of specified alarm.

statistics String

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

threshold String

The value against which the specified statistics is compared.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.