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
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
PageSize | BODY | integer | No | No 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.N | BODY | string | No | No 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.N | BODY | string | No | No 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. |
PageNumber | BODY | integer | No | No 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. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
ScalingGroupId | BODY | string | No | No sample value for this parameter. | ID of the scaling group. |
ScalingRuleAri.N | BODY | string | No | No 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. |
RegionId | BODY | string | Yes | No sample value for this parameter. | the region ID of the scaling group to which the scaling rule belongs. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}