Freezes or unfreezes a node.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
Action | String | Yes | UpdateNodeRunMode | The operation that you want to perform. Set the value to UpdateNodeRunMode. |
ProjectEnv | String | Yes | PROD | The environment in which the node runs. Valid values: DEV and PROD. The value DEV indicates the development environment, and the value PROD indicates the production environment. |
NodeId | Long | Yes | 1234 | The node ID. You can call the ListNodes operation to query the node ID. |
SchedulerType | Integer | Yes | 0 | The operation that you want to perform on the node. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
Success | Boolean | true | Indicates whether the request was successful. Valid values:
|
RequestId | String | E6F0DBDD-5AD**** | The request ID. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=UpdateNodeRunMode
&ProjectEnv=PROD
&NodeId=1234
&SchedulerType=0
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<UpdateNodeRunModeResponse>
<Success>true</Success>
<RequestId>E6F0DBDD-5AD****</RequestId>
</UpdateNodeRunModeResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"Success" : true,
"RequestId" : "E6F0DBDD-5AD****"
}
Error codes
For a list of error codes, see Service error codes.