getAdjustmentTypeList

Prev Next

개요

조정 유형 리스트 조회

설명

설정 가능한 정책(policy) 조정 유형들을 리스트 형태로 받습니다.

응답 데이터 타입

  • AdjustmentTypeList 타입
AdjustmentTypeList extends CommonResponse
private Integer totalRows;
private List adjustmentTypeList = new ArrayList();
AdjustmentType extends BaseObject
private CommonCode adjustmentType;
CommonCode
private String codeKind;
private String detailCategorizeCode;
private String code;
private String codeName;
private Integer codeOrder;
private String javaConstantCode;

예시

호출

ncloud autoscaling getAdjustmentTypeList

응답

{
  "getAdjustmentTypeListResponse": {
    "requestId": "84adc09c-4263-4e2f-bef7-b02c736177ac",
    "returnCode": "0",
    "returnMessage": "success",
    "totalRows": 3,
    "adjustmentTypeList": [
      {
        "adjustmentType": {
          "code": "CHANG",
          "codeName": "ChangeInCapacity"
        }
      },
      {
        "adjustmentType": {
          "code": "EXACT",
          "codeName": "ExactCapacity"
        }
      },
      {
        "adjustmentType": {
          "code": "PRCNT",
          "codeName": "PercentChangeInCapacity"
        }
      }
    ]
  }
}
<?xml version="1.0" encoding="UTF-8"?>
<getAdjustmentTypeListResponse>
  <requestId>bfccc472-0fac-47f8-bb39-bfaec5693ba4</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>3</totalRows>
  <adjustmentTypeList>
    <adjustmentType>
      <adjustmentType>
        <code>CHANG</code>
        <codeName>ChangeInCapacity</codeName>
      </adjustmentType>
    </adjustmentType>
    <adjustmentType>
      <adjustmentType>
        <code>EXACT</code>
        <codeName>ExactCapacity</codeName>
      </adjustmentType>
    </adjustmentType>
    <adjustmentType>
      <adjustmentType>
        <code>PRCNT</code>
        <codeName>PercentChangeInCapacity</codeName>
      </adjustmentType>
    </adjustmentType>
  </adjustmentTypeList>
</getAdjustmentTypeListResponse>