Skip to main content

DescribeScalingRules

Description

query the information of scaling rules. You can specify the scaling group ID to query all scaling rules in the scaling group.

Request Method

POST

Request Path

/apsara/route/Ess/DescribeScalingRules

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
PageSizeBODYintegerNoNo sample value for this parameter.the number of rows per page set during paging query, the maximum value is 50 rows, and the default value is 10.
ScalingRuleId.NBODYstringNoNo sample value for this parameter.the id of the scaling rule, you can enter up to 10. The query results ignore the invalid scaling rule ID and do not report an error.
ScalingRuleName.NBODYstringNoNo sample value for this parameter.the name of the scaling rule, you can enter up to 10. The query results ignore the name of the invalid scaling rule and do not report an error.
PageNumberBODYintegerNoNo sample value for this parameter.the page number of the scaling rule list, with a starting value of 1 and a default value of 1.
regionIdBODYstringYesNo sample value for this parameter.region id
ScalingGroupIdBODYstringNoNo sample value for this parameter.ID of the scaling group.
ScalingRuleAri.NBODYstringNoNo sample value for this parameter.unique identifier for scaling rules, up to 10 can be entered. The query results ignore the unique identifier of the invalid scaling rule and do not report an error.
RegionIdBODYstringYesNo sample value for this parameter.the region ID of the scaling group to which the scaling rule belongs.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}