UpdatePortPlugin
    • PDF

    UpdatePortPlugin

    • PDF

    Article Summary

    概要

    Port Pluginを設定します。過去に当該サーバに対する既存 Port Plugin設定がある場合、list全体が replaceされます。

    リクエスト

    API URL

    URL: https://cw.apigw.ntruss.com/cw_server/real/api/plugin/port
    Method: POST
    

    リクエストヘッダ

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

    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    x-ncp-dmn_cd: PUB
    x-ncp-region_code: {your region code}
    

    リクエストボディ

    パラメータ名要否タイプ制約事項説明
    portListYList<Integer>port番号
    instanceNoYStringサーバの instanceNo、1つの InstanceNoのみ入力可能
    typeNStringVPCServer, ClassicServer, CloudHadoop, default : VPCServerサービス名

    リクエスト例

    POST /cw_server/real/api/plugin/port
    Host: cw.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    x-ncp-dmn_cd: PUB
    x-ncp-region_code: {your region code}
    
    Payload:
    {
        "portList": [
          80,
          8080
        ],
        "instanceNo": "1234567",
        "type": "VPCServer"
    }
    

    レスポンス例

    エラーなく修正が完了した場合、response bodyなしでHTTP code 200が返されます。


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

    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.