getAutoScalingPolicyList
    • PDF

    getAutoScalingPolicyList

    • PDF

    Article Summary

    개요

    Scaling 정책 리스트를 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    Scaling 정책 리스트가 조회될 Auto Scaling Group의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    autoScalingGroupNoYesString- Auto Scaling Group 번호
    autoScalingGroupNo는 getAutoScalingGroupList 액션을 통해 획득 가능
    policyNoList.NNoList<String>- 정책 번호 리스트
    Scaling 정책 번호로 필터링하여 검색 가능
    policyNo는 getAutoScalingPolicyList 액션을 통해 획득 가능
    ex) policyNoList.1=1234&policyNoList.2=2345
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 데이터 타입

    • ScalingPolicyList 타입
    ScalingPolicyList extends CommonResponse
    private Integer totalRows;
    private List scalingPolicyList = new ArrayList<>();
    ScalingPolicy
    private String autoScalingGroupNo;
    private String policyNo;
    private String policyName;
    private CommonCode adjustmentType;
    private Integer scalingAdjustment;
    private Integer minAdjustmentStep;
    private Integer coolDown;

    예시

    요청 예시

    ncloud vautoscaling getAutoScalingPolicyList --regionCode FKR --autoScalingGroupNo ***700 --policyNoList ***922
    

    응답 예시

    <getAutoScalingPolicyListResponse>
      <requestId>dcbf41de-b9d4-460d-a594-60d77ec25bf1</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <scalingPolicyList>
        <scalingPolicy>
          <autoScalingGroupNo>***700</autoScalingGroupNo>
          <policyNo>***922</policyNo>
          <policyName>test-***</policyName>
          <adjustmentType>
            <code>CHANG</code>
            <codeName>ChangeInCapacity</codeName>
          </adjustmentType>
          <scalingAdjustment>1</scalingAdjustment>
          <coolDown>300</coolDown>
        </scalingPolicy>
      </scalingPolicyList>
    </getAutoScalingPolicyListResponse>
    

    이 문서가 도움이 되었습니까?

    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.