All Products
Search
Document Center

DataWorks:UpdateNodeRunMode

Last Updated:Oct 17, 2024

Freezes or unfreezes a node.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ProjectEnvstringYes

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.

  • PROD
  • DEV
PROD
NodeIdlongYes

The node ID. You can call the ListNodes operation to query the node ID.

1234
SchedulerTypeintegerYes

The operation that you want to perform on the node. Valid values:

  • 0: indicates that you want to unfreeze the node.
  • 2: indicates that you want to freeze the node.
0

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
RequestIdstring

The request ID.

E6F0DBDD-5AD****

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "RequestId": "E6F0DBDD-5AD****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history