MENU
      setServerInstanceHealth

        setServerInstanceHealth


        기사 요약

        개요

        사용자가 보유하는 Auto Scaling Group 소속의 서버 인스턴스의 헬스 상태를 설정

        요청

        요청 파라미터

        파라미터명필수 여부타입제약 사항설명
        serverInstanceNoYesString-- 서버 인스턴스의 식별 번호
        회원의 오토스케일링 그룹 소속 서버 인스턴스가 아니면 유효하지 않음
        healthStatusCodeYesStringMin : 1
        Max : 5
        - 헬스 상태 코드로 유효 값
        HLTHY(HEALTHY)UNHTH(UNHEALTHY)가 있음
        서버 인스턴스가 생성되고 나서 서비스에 투입된 이후에만 가능
        shouldRespectGracePeriodNoBoolean-- healthCheckGracePeriod(헬스체크보류기간) 준수 여부 true false
        서버 인스턴스가 생성되고 나서 서비스에 투입된 시각에서 healthCheckGracePeriod 기간이 지나지 않으면 unhealthy 상태로 변경하려 해도 적용되지 않음
        default : true

        응답

        응답 바디

        예시

        요청 예시

        {AUTOSCALILNG_API_URL}/setServerInstanceHealth
        ?healthStatusCode=UNHTH
        &serverInstanceNo=68128
        HTTP

        응답 예시

        <setServerInstanceHealthResponse>
           <requestId>2785401a-14e4-42b2-9e65-0f59b29424d4</requestId>
           <returnCode>0</returnCode>
           <returnMessage>success</returnMessage>
        </setServerInstanceHealthResponse>
        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.