MENU
      executePolicy

        executePolicy


        기사 요약

        개요

        스케일링 정책 수행

        설명

        지정된 스케일링 정책(policy)을 수행합니다.

        요청 파라미터

        파라미터 명필수 여부타입제약사항설명
        policyNameYesStringMin : 1, Max : 255수행할 스케일링 정책 이름
        autoScalingGroupNameYesStringMin : 1, Max : 255정책을 수행할 오토 스케일링 그룹명 입력
        honorCooldownNoBoolean-- Cooldown 시간 준수 여부
        이 api를 호출했을 당시가 scaling action 도중이거나 cooldown 시간이면 이를 준수할 지 정함
        true이면 준수하고 false이면 준수하지 않음
        디폴트 값은 false, 즉 명시적으로 true로 지정하지 않으면 준수하지 않음

        응답 데이터 타입

        • CommonResponse 타입
        CommonResponse extends BaseObject
        private String requestId;
        private String returnCode;
        private String returnMessage;

        예시

        호출

        ncloud autoscaling executePolicy --policyName test-autoscaling-policy --autoScalingGroupName soso02
        Plain text

        응답

        {
          "executePolicyResponse": {
            "requestId": "50281fd3-41e6-4ffe-a5e7-ef37103867b6",
            "returnCode": "0",
            "returnMessage": "success"
          }
        }
        JSON
        <?xml version="1.0" encoding="UTF-8" ?>
        <executePolicyResponse>
          <requestId>50281fd3-41e6-4ffe-a5e7-ef37103867b6</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
        </executePolicyResponse>
        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.