Use OperateNode to manage nodes.
Operation description
Use OperateNode to manage a specified resource node. Supported operations include disabling or enabling scheduling.
Try it now
Test
RAM authorization
Request syntax
POST /api/v1/nodes/{NodeId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NodeId |
string |
Yes |
The node ID. |
lingjunxxxx-mgxxx-xxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| ResourceGroupId |
string |
No |
The ID of the resource group that contains the node. |
rgaekzbrflewn6jjq |
| Operation |
string |
Yes |
The operation to perform.
|
Cordon |
| OperationParameters | NodeOperationParameters |
No |
The parameter settings for the node operation. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
96496E6E-00B4-5F55-80F6-1844FA9E92DC |
| NodeId |
string |
The node ID. |
lingjunxxxx-mgxxx-xxxx |
Examples
Success response
JSON format
{
"RequestId": "96496E6E-00B4-5F55-80F6-1844FA9E92DC",
"NodeId": "lingjunxxxx-mgxxx-xxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.