MENU
      getAdjustmentTypeList

        getAdjustmentTypeList


        Article summary

        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 nameRequirement statusTypeRestrictionsDescription
        regionCodeNoStringRegion 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
        responseFormatTypeNoStringFormat type of the response results
        Options : xml | json
        Default : xml

        Response

        Response data type

        • AdjustmentTypeList type
        AdjustmentTypeList extends CommonResponse
        private Integer totalRows;
        private List adjustmentTypeList = new ArrayList<>();
        AdjustmentType
        private String code;
        private String codeName;

        Example

        Request example

        ncloud vautoscaling getAdjustmentTypeList --regionCode KR
        Plain text

        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>
        XML

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.