AddProcessPlugin
    • PDF

    AddProcessPlugin

    • PDF

    Article Summary

    개요

    Process Plugin을 추가합니다. 기존에 해당 서버에 대한 Process Plugin 설정이 있다면 list에 append됩니다.

    요청

    API URL

    URL: https://cw.apigw.ntruss.com/cw_server/real/api/plugin/process/add
    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}
    

    요청 바디

    파라미터명필수 여부타입제약사항설명
    configListYList<String>process 이름, asterisk(*) 사용 가능
    instanceNoYString서버의 instanceNo, 하나의 InstanceNo만 입력 가능
    typeNStringVPCServer, ClassicServer, CloudHadoop, default : VPCServer상품명

    예시

    요청 예시

    POST /cw_server/real/api/plugin/process/add
    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:
    {
        "configList": [
          "process_name001",
          "process_name002",
          "*java*", // java라는 문자열이 들어간 process 감시 설정
          "python*" // python으로 시작하는 process 감시 설정
        ],
        "instanceNo": "1234567",
        "type": "VPCServer"
    }
    

    응답 예시

    오류 없이 설정이 완료된 경우 HTTP code 200이 리턴됩니다.


    이 문서가 도움이 되었습니까?

    What's Next
    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.