Refreshes node group configurations to existing nodes. Manually triggers the node group configuration to take effect on existing nodes. After node group properties are changed, existing nodes do not perform automatic synchronization by default, which causes configuration drift. You can call this operation to refresh node properties. The operation returns an asynchronous refresh task ID, and the result can be queried through DescribeNodeGroupRefreshTask.
Operation description
Manually triggers the node group configuration to take effect on existing nodes. After node group properties are changed, existing nodes do not perform automatic synchronization by default, which causes configuration drift. You can call this operation to refresh node properties. The operation returns an asynchronous refresh task ID, and the result can be queried through DescribeNodeGroupRefreshTask.
Limits:
A node group can have only one running node group configuration refresh task at a time.
- When the asynchronous task executes the refresh, if a node is not in the "In Use" state, the refresh of that node is failed.
Warning Currently, only the RamRoleName property is supported for refresh.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:RefreshNodeGroupNodes |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NodeGroupId |
string |
Yes |
The node group ID. |
ng-3525 |
| MaxDisruptiveAction |
string |
No |
The maximum disruptive action level allowed for the refresh operation. The system independently evaluates the action level required to refresh each drifted property of a node and performs the refresh within the specified action level constraint. If the action level required for a property exceeds the specified level, that property is skipped. Action levels in increasing order of disruption: Refresh < Reboot < Reimage.
|
Refresh |
| NodeIds |
array |
No |
The filter scope for node refresh. If not specified, all nodes in the node group are included. Warning If the instance type is a hypernode, pass in the TrayNode ID, not the HyperNodeId. |
|
|
string |
No |
The list of nodes. A maximum of 500 nodes can be specified in a single batch. |
['mock-sn-200101'] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Id of the request |
4FD06DF0-9167-5C6F-A145-F30CA4A15D54 |
| NodeGroupRefreshTaskId |
string |
The task ID. Query the task progress through DescribeNodeGroupRefreshTask. If no node has configuration drift, no task is created and this field returns an empty string. |
task-159136551662516768776 |
Examples
Success response
JSON format
{
"RequestId": "4FD06DF0-9167-5C6F-A145-F30CA4A15D54",
"NodeGroupRefreshTaskId": "task-159136551662516768776"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.