Modifying an AS Policy (V2)

Function

This API is used to modify a specified AS policy.

The difference between the V2 and V1 APIs for modifying an AS policy is that V2 supports modifying a scaling resource type.

URI

PUT /autoscaling-api/v2/{project_id}/scaling_policy/{scaling_policy_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

scaling_policy_id

Yes

String

Specifies an AS policy ID. For details, see Querying AS Policies (V2).

Request Message

Response Message

Returned Values

Error Codes

See Error Codes.