Creating an AS Policy (V2)

Function

This API is used to create an AS policy for an AS group or bandwidth.

The difference between the V2 and V1 APIs for creating an AS policy is that V2 supports creating an AS policy for adjusting bandwidth and differentiating scaling resources by their types.

URI

POST /autoscaling-api/v2/{project_id}/scaling_policy

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

Request Message

Response Message

Returned Values

Error Codes

See Error Codes.