UpdatePortPlugin
    • PDF

    UpdatePortPlugin

    • PDF

    Article Summary

    개요

    Port Plugin을 설정합니다. 기존에 해당 서버에 대한 Port Plugin 설정이 있다면 list 전체가 replcae됩니다.

    요청

    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, 하나의 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"
    }
    

    응답 예시

    오류 없이 설정이 완료된 경우 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.