Updated on 2023-08-11 GMT+08:00

APM.AutoscalerRule

Property Description

Table 1 Property description

Property

Required

Type

Description

policyType

No

string

Scaling policy rule type

Value Description: Supports ALARM only, indicating that scaling is performed based on performance metric alarms.

Value Constraint: Currently, only ALARM is supported.

Suggestion: Use the default value.

conditions

Yes

APM.AutoscalerCondition

Scaling policy execution condition

Value Description: Indicates the APM.AutoscalerCondition array.

Value Constraint: The definition of the APM.AutoscalerCondition type is met.

Suggestion: Select the conditions field in the component part, and then fill in the field based on prompts.

name

Yes

string

Scaling policy rule name

Value Description: Supports customization.

Value Constraint: The value must start with a letter. Only letters, digits, underscores (_), and hyphens (-) are allowed.

actions

Yes

APM.AutoscalerAction

Scaling policy execution action

Value Description: Indicates the APM.AutoscalerAction array.

Value Constraint: The definition of the APM.AutoscalerAction type is met.

Suggestion: Select the actions field in the component part, and then fill in the field based on prompts.