Querying Details of an AS Policy (V2)

Function

This API is used to query details about a specified AS policy by policy ID.

The difference between the V2 and V1 APIs for querying details of an AS policy is that V2 contains scaling resource types in response messages.

URI

GET /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 the AS policy ID.

Request Message

Response Message

Returned Values

Error Codes

See Error Codes.