Querying AS configurations

Function

This API is used to query AS configurations based on search criteria. The results are displayed by page.

URI

GET /autoscaling-api/v1/{project_id}/scaling_configuration

You can type the question mark (?) and ampersand (&) at the end of the URI to define multiple search criteria. AS configurations can be searched by all optional parameters in the following table. For details, see the example request.

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

scaling_configuration_name

No

String

Specifies the AS configuration name.

Supports fuzzy search.

image_id

No

String

Specifies the image ID. It is same as imageRef.

start_number

No

Integer

Specifies the start line number. The default value is 0. The minimum parameter value is 0.

limit

No

Integer

Specifies the number of query records. The default value is 20. The value range is 0 to 100.

Request Message

Response Message

Returned Values

Error Codes

See Error Codes.