Skip to content

ESPRMAdminNode

Defined in: src/ESPRMAdminNode.ts:11

Shell class for admin node management operations. Methods are added via prototype augmentation in methods/ESPRMAdminNode/*.

new ESPRMAdminNode(): ESPRMAdminNode

ESPRMAdminNode

activateDeactivateNodes(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminNode/ActivateDeactivateNodes.ts:22

Activates or deactivates nodes based on the provided parameters.

ActivateDeactivateNodesParams

Parameters specifying which nodes to activate or deactivate.

Promise<ESPAPISuccessResponse>

A success response confirming the operation.


addCommandRequest(params): Promise<AddCommandRequestResponse>

Defined in: src/methods/ESPRMAdminNode/AddCommandRequest.ts:22

Sends a new command request to one or more nodes.

AddCommandRequestBody

The command request payload including target nodes and command data.

Promise<AddCommandRequestResponse>

The response containing the created command request details.


attachNodeTags(nodeId, params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminNode/AttachNodeTags.ts:28

Attaches tags to a specific node.

string

The ID of the node to attach tags to.

NodeAttachTagsRequest

The tag attachment request payload.

Promise<ESPAPISuccessResponse>

A success response confirming the tags were attached.


getCommandRequests(params?): Promise<GetCommandRequestsResponse>

Defined in: src/methods/ESPRMAdminNode/GetCommandRequests.ts:22

Retrieves command requests with optional filtering parameters.

GetCommandRequestsParams

Optional query parameters to filter command requests.

Promise<GetCommandRequestsResponse>

The list of command requests matching the specified criteria.


getNodes(params?): Promise<AdminNodeListResponse>

Defined in: src/methods/ESPRMAdminNode/GetNodes.ts:22

Retrieves a list of admin nodes with optional filtering parameters.

GetAdminNodesParams

Optional query parameters to filter the node list.

Promise<AdminNodeListResponse>

The list of admin nodes matching the specified criteria.


getNodeTags(params?): Promise<GetNodeTagsResponse>

Defined in: src/methods/ESPRMAdminNode/GetNodeTags.ts:21

Retrieves node tag names, or tag values for a specific tag name.

GetNodeTagsParams

Optional query parameters for filtering and pagination.

Promise<GetNodeTagsResponse>

The response containing tags or tag values with pagination info.


getSimpleTimeSeriesData(params): Promise<GetSimpleTimeSeriesDataResponse>

Defined in: src/methods/ESPRMAdminNode/GetSimpleTimeSeriesData.ts:27

Retrieves simplified time series data for a specific node.

GetSimpleTimeSeriesDataParams

Parameters including the node ID and time range for the query.

Promise<GetSimpleTimeSeriesDataResponse>

The simplified time series data for the specified node.


getTimeSeriesData(params): Promise<GetTimeSeriesDataResponse>

Defined in: src/methods/ESPRMAdminNode/GetTimeSeriesData.ts:27

Retrieves time series data for a specific node.

GetTimeSeriesDataParams

Parameters including the node ID and time range for the query.

Promise<GetTimeSeriesDataResponse>

The time series data for the specified node.


removeNodeTags(nodeId, tags): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminNode/RemoveNodeTags.ts:27

Removes the specified tags from a node.

string

The ID of the node to remove tags from.

string[]

Array of tag strings to remove.

Promise<ESPAPISuccessResponse>

A success response confirming the tags were removed.