MENU
      getAutoScalingPolicyList

        getAutoScalingPolicyList


        기사 요약

        개요

        Auto Scaling 정책(policy) 들에 대한 설명을 리스트 형태로 받습니다.

        요청

        요청 파라미터

        파라미터명필수 여부타입제약 사항설명
        policyNameListNoListMin : 1, Max : 255- 정책 이름(식별자) 리스트
        지정되어 있지 않으면 사용자가 보유한 모든 정책 정보를 받음
        autoScalingGroupNameNoStringMin : 1, Max : 255조회하고자 하는 오토스케일링 그룹명 입력
        pageNoNoIntegerMin:0, Max:2147483647리스트 조회 시 Pagination의 페이지 정보 입력
        기본 값 0으로 입력한 경우 모든 리스트 조회
        pageSizeNoIntegerMin:0, Max:2147483647리스트 조회 시 Pagination의 페이지당 정보 개수 입력
        기본 값 0으로 입력한 경우 모든 목록 조회

        응답

        응답 바디

        예시

        요청 예시

        {AUTOSCALILNG_API_URL}/getAutoScalingPolicyList
        ?autoScalingGroupName=asg-0602b
        &pageNo=1
        &pageSize=10
        &policyNameList.1=scale-out
        &policyNameList.2=scale-in
        HTTP

        응답 예시

        <getAutoScalingPolicyListResponse>
           <requestId>b3b5947c-a4fd-4104-b619-ba472665d50c</requestId>
           <returnCode>0</returnCode>
           <returnMessage>success</returnMessage>
           <totalRows>2</totalRows>
           <scalingPolicyList>
              <scalingPolicy>
                 <policyName>scale-in</policyName>
                 <autoScalingGroupName>asg-0602b</autoScalingGroupName>
                 <adjustmentType>
                    <code>CHANG</code>
                    <codeName>ChangeInCapacity</codeName>
                 </adjustmentType>
                 <scalingAdjustment>-1</scalingAdjustment>
              </scalingPolicy>
              <scalingPolicy>
                 <policyName>scale-out</policyName>
                 <autoScalingGroupName>asg-0602b</autoScalingGroupName>
                 <adjustmentType>
                    <code>PRCNT</code>
                    <codeName>PercentChangeInCapacity</codeName>
                 </adjustmentType>
                 <scalingAdjustment>50</scalingAdjustment>
                 <cooldown>600</cooldown>
                 <minAdjustmentStep>2</minAdjustmentStep>
              </scalingPolicy>
           </scalingPolicyList>
        </getAutoScalingPolicyListResponse>
        XML

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

        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.