MENU
      terminateServerInstanceInAutoScalingGroup

        terminateServerInstanceInAutoScalingGroup


        기사 요약

        개요

        오토 스케일링 그룹에 속한 서버 인스턴스 삭제

        설명

        지정된 서버 인스턴스 반납을 할 수 있습니다. 서버 인스턴스 삭제와 동시에 그룹 사이즈를 하나(one) 감소하게 선택할 수 있습니다.

        요청 파라미터

        파라미터 명필수 여부타입제약사항설명
        serverInstanceNoYesString-- 삭제할 서버 인스턴스의 식별 번호
        서버 인스턴스가 오토 스케일링 그룹에 속하지 않다면 유효하지 않음
        shouldDecrementDesiredCapacityYesBoolean-- 서버 인스턴스 삭제와 동시에 소속 오토 스케일링 그룹의 size를 하나(one) 감소시킬지 여부
        감소 시키려면 true이고 아니면 false를 입력함
        ※ 이 값이 true이면 그룹 사이즈가 기존 그룹 사이즈의 - 1이 됨

        응답 데이터 타입

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

        예시

        호출

        ncloud autoscaling terminateServerInstanceInAutoScalingGroup --serverInstanceNo 401184 --shouldDecrementDesiredCapacity true
        Plain text

        응답

        {
          "terminateServerInstanceInAutoScalingGroupResponse": {
            "requestId": "163f6617-d105-47ab-8c3d-840b56051e68",
            "returnCode": "0",
            "returnMessage": "success"
          }
        }
        JSON
        <?xml version="1.0" encoding="UTF-8" ?>
        <terminateServerInstanceInAutoScalingGroupResponse>
          <requestId>163f6617-d105-47ab-8c3d-840b56051e68</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
        </terminateServerInstanceInAutoScalingGroupResponse>
        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.