getAutoScalingPolicyList
- Print
- PDF
getAutoScalingPolicyList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Get Auto Scaling Policy List
Description
Receive detailed descriptions regarding Auto Scaling policies in the form of a list.
Request Parameters
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
policyNameList | No | List | Min : 1, Max : 255 | A list of policy names (identifiers). If not specified, all the policy information the user has is received. |
autoScalingGroupName | No | String | Min : 1, Max : 255 | Enter the name of the auto-scaling group you want to view. |
pageNo | No | Integer | Min : 0, Max : 2147483647 | Enter the page information of the Pagination in the list view. If you enter a default value of 0, all lists are displayed. |
pageSize | No | Integer | Min : 0, Max : 2147483647 | Enter the number of pieces of information to be displayed in the Pagination in the list view. If you enter a default value of 0, all lists are queried. |
Response Data type
- ScalingPolicyList Type
ScalingPolicyList extends CommonResponse |
---|
private Integer totalRows; |
private List |
ScalingPolicy extends BaseObject |
---|
private String policyName; |
private String autoScalingGroupName; |
private CommonCode adjustmentType; |
private Integer scalingAdjustment; |
private Integer cooldown; |
private Integer minAdjustmentStep; |
Examples
Request
ncloud autoscaling getAutoScalingPolicyList --policyNameList test-autoscaling-policy
Response
{
"getAutoScalingPolicyListResponse": {
"requestId": "17f3d224-a06c-4159-a46d-b5c1b138750e",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"scalingPolicyList": [
{
"policyName": "test-autoscaling-policy",
"autoScalingGroupName": "soso02",
"adjustmentType": {
"code": "EXACT",
"codeName": "ExactCapacity"
},
"scalingAdjustment": 22
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<getAutoScalingPolicyListResponse>
<requestId>17f3d224-a06c-4159-a46d-b5c1b138750e</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<scalingPolicyList>
<policyName>test-autoscaling-policy</policyName>
<autoScalingGroupName>soso02</autoScalingGroupName>
<adjustmentType>
<code>EXACT</code>
<codeName>ExactCapacity</codeName>
</adjustmentType>
<scalingAdjustment>22</scalingAdjustment>
</scalingPolicyList>
</getAutoScalingPolicyListResponse>
Was this article helpful?