GetExtendedStatus
    • PDF

    GetExtendedStatus

    • PDF

    Article Summary

    概要

    InstanceのExtended設定するかどうかを照会します。

    リクエスト

    API URL

    URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/schema/extended/status
    Method: GET(Deprecated), POST
    

    リクエストヘッダ

    共通設定に明示されたリクエストヘッダが必要です。

    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    

    リクエストボディ

    • using GET method
    項目必須有無タイプ制約事項説明
    cw_keyYString商品のcw_key (NAVER クラウドプラットフォーム商品のcw_keyは、「商品リスト」を参照してください)
    instanceIdsYStringExtendedを設定したかどうかを照会しようとするインスタンスId(空白なくcommaに区分して複数のインスタンスId入力が可能です。)

    リクエストボディ

    • using POST method
    項目必須有無タイプ制約事項説明
    prodKeyYString商品のcw_key (NAVER クラウドプラットフォーム商品のcw_keyは、「商品リスト」を参照してください)
    serversYListExtendedを設定したかどうかを照会しようとするインスタンスId

    リクエスト例

    次は、VPC Server商品において、(System/VPC Server)インスタンスId"インスタンスNo001"と"インスタンスNo002"のextendedの設定有無を確認する例です。

    • GET (Deprecated)
    GET /cw_fea/real/cw/api/schema/extended/status?cw_key=xxxxxxxxxxxxxxxxxx&instanceIds=instanceNo001,instanceNo002
    Host: cw.apigw.ntruss.com
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    
    • POST
    POST /cw_fea/real/cw/api/schema/extended/status
    Host: cw.apigw.ntruss.com
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    
    Payload:
    {
      "prodKey": "xxxxxxxxxxxxxxxxxxxxxx",
      "servers": [ 
            "instanceNo01",
            "instanceNo02"
       ]
    }
    

    レスポンス例

    エラーなく照会が完了した場合、HTTP code 200と該当インスタンスのExtended設定がJSON形式でリターンされます。

    結果は、インスタンスNo001はextended設定されておらず、インスタンスNo002はextended設定されていることを意味します。

    [
        {
            "enabled": false,
             "instanceId": "instanceNo001"
        },
        {
            "enabled": true,
            "instanceId": "instanceNo002"
        }
    ]
    

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

    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.