Can be used in a VPC environment.
Summary
Search list of adjustment types for scaling settings in Auto Scaling Group's policy.
You can use it for adjustmentTypeCode field in putScalingPolicy action.
Request
Request Parameters
| Parameter name | Requirement status | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | Region code You can decide the region where the list of adjustment types will be searched. You can obtain the regionCode through the getRegionList action. Default: Select the first region of the getRegionList search results |
|
| responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response data type
- AdjustmentTypeList type
| AdjustmentTypeList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List |
| AdjustmentType |
|---|
| private String code; |
| private String codeName; |
Example
Request example
ncloud vautoscaling getAdjustmentTypeList --regionCode KR
Response example
<getAdjustmentTypeListResponse>
<requestId>d180a099-8d9e-4910-8591-038c813cc5bc</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>3</totalRows>
<adjustmentTypeList>
<adjustmentType>
<code>CHANG</code>
<codeName>ChangeInCapacity</codeName>
</adjustmentType>
<adjustmentType>
<code>PRCNT</code>
<codeName>PercentChangeInCapacity</codeName>
</adjustmentType>
<adjustmentType>
<code>EXACT</code>
<codeName>ExactCapacity</codeName>
</adjustmentType>
</adjustmentTypeList>
</getAdjustmentTypeListResponse>