UpdateProcessPlugin
- Print
- PDF
UpdateProcessPlugin
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
You can set the Process Plugin. If there is an existing Process Plugin setting for the server, then the entire list is replaced.
Requests
API URL
URL: https://cw.apigw.ntruss.com/cw_server/real/api/plugin/process
Method: POST
Request header
The request headers specified in common settings are required.
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}
Request body
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
configList | Y | List<String> | process name; asterisk(*) can be used. | |
instanceNo | Y | String | InstanceNo of the server; only one instanceNo can be entered. | |
type | N | String | VPCServer , ClassicServer , CloudHadoop , default : VPCServer | Product name |
Examples
Request examples
POST /cw_server/real/api/plugin/process
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",
Process monitoring setting that contains the "*java*", // java character string
Process monitoring setting that starts with "python*" // python
],
"instanceNo": "1234567",
"type": "VPCServer"
}
Response examples
HTTP code 200 is returned without a response body when the setup is completed without any errors.
Was this article helpful?