Function: changeNodeStateToOffline()
ts
function changeNodeStateToOffline(
client,
parameters,
options?
): Promise<void>;Defined in: src/server/api/cluster.ts:20
Change the node's state to offline if the node is reporting as active, but is not alive.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { nodeId: string; } | - |
parameters.nodeId | string | ID of the node to change state |
options? | RequestOptions | - |
Returns
Promise<void>