setServerInstanceHealth
    • PDF

    setServerInstanceHealth

    • PDF

    Article Summary

    概要

    ユーザーが保有する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
    

    レスポンス例示

    <setServerInstanceHealthResponse>
       <requestId>2785401a-14e4-42b2-9e65-0f59b29424d4</requestId>
       <returnCode>0</returnCode>
       <returnMessage>success</returnMessage>
    </setServerInstanceHealthResponse>
    

    この記事は役に立ちましたか?

    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.