Enabling an AS Group

Scenario

Precautions

Involved APIs

Procedure

  1. For details about token authentication, see Token Authentication.
  2. Send GET https://AS endpoint/autoscaling-api/v1/{tenant_id}/scaling_group to obtain AS groups. Use the ID of one of the AS groups as the URI parameter scaling_group_id for enabling an AS group. For the response parameters of the API used to query AS groups, see section Response Parameters for Querying AS Groups.
  3. Send POST https://AS endpoint/autoscaling-api/v1/{tenant_id}/scaling_group/{scaling_group_id}/action to enable the AS group. For detailed parameters, see section "Enabling or Disabling an AS Group" in the Auto Scaling API Reference.
    Specify the following parameters in the request body:
    {
        "action": "resume"
    }