2.13.3 Obtaining Container Node Monitoring Status Change Information
This API acquires information required for changing the monitoring status of container nodes.
Execution permission
Admin, Modify
API version
v1
Request format
GET http[s]://host:port/Analytics/version/services/ContainerNodes/actions/changeManagedType
Request body
Not applicable.
Response body
The structure of the response body and the object attributes are as follows:{ "name":"...", "href":"...", "method":"...", "type":"...", "parameters":[{ "newMonitorStatus":"...", "ids":["...", ...] }, : ] }
Action (Type: Action)
Attribute |
Type |
Description |
---|---|---|
name |
string |
Name of the execute an operation. |
href |
string |
URL of the execute an operation. |
method |
string |
Name of the method. |
type |
string |
Data format of the object. |
parameters |
ChangeManagedTypeParamForRes[] |
A list of ChangeManagedTypeParamForRes objects necessary to execute an operation. For details about ChangeManagedTypeParamForRes, see the table below. |
parameters (Type: ChangeManagedTypeParamForRes)
Attribute |
Type |
Description |
---|---|---|
newMonitorStatus |
enum |
Monitor status of Node (For details about the specifiable values, see the table ManagementLevelType in List of enumerators.) The specifiable values are as follows:
|
ids |
long[] |
List of IDs about Resource |
Status codes
Status code |
Reason phrase |
Description |
---|---|---|
200 |
OK |
Success. |
401 |
Unauthorized |
No login privilege. |
403 |
Forbidden |
No reference privilege. |
412 |
Precondition Failed |
The server is not available. |
500 |
Internal Server Error |
Server processing error. |
Example code
[Request Header] GET /Analytics/v1/services/ContainerNodes/actions/changeManagedType HTTP/1.1 Authorization: Basic c3lzdGVtOm1hbmFnZXI= User-Agent: curl/7.33.0 Host: localhost:22015 Accept: application/json Accept-Language: ja [Response Header] HTTP/1.1 200 OK Date: Fri, 27 Nov 2015 09:19:21 GMT Server: Cosminexus HTTP Server Cache-Control: no-cache WWW-Authenticate: HSSO 5120405fb8a980d12331c748369039cf28af252_WVlGcHsLfg5ffg0I_V0810 X-Frame-Options: SAMEORIGIN Transfer-Encoding: chunked Content-Type: application/json [Response Body] { "name" : "changeManagedType", "href" : "http://localhost:22015/Analytics/v1/services/ContainerNodes/actions/changeManagedType/invoke", "method" : "POST", "type" : "application/json", "parameters" : [ { "newMonitorStatus": "Manage", "ids" : [ ] } ] }