Enabling or Disabling an AS Group

Function

This interface is used to enable or disable a specified AS group.

For a disabled AS group, AS does not automatically trigger any scaling actions. When an AS group has an in-progress scaling action, the scaling action does not stop immediately after the AS group is disabled.

URI

POST /autoscaling-api/v1/{project_id}/scaling_group/{scaling_group_id}/action

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

scaling_group_id

Yes

String

Specifies the AS group ID.

Request Message

Response Message

Returned Values

Error Codes

See Error Codes.