APIv7 provides the Action API facade for version 7.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "Action"
VERSION: number = 7
_transport: Transport
NAME: string = "Action"
VERSION: number = 7

Methods

  • Actions takes a list of ActionTags, and returns the full Action for each ID.

    Parameters

    Returns Promise<ActionResults>

  • Cancel attempts to cancel enqueued Actions from running.

    Parameters

    Returns Promise<ActionResults>

  • EnqueueOperation takes a list of Actions and queues them up to be executed as an operation, each action running as a task on the designated ActionReceiver. We return the ID of the overall operation and each individual task.

    Parameters

    Returns Promise<EnqueuedActions>

  • Run the commands specified on the machines identified through the list of machines, units and services.

    Parameters

    Returns Promise<EnqueuedActions>

  • RunOnAllMachines attempts to run the specified command on all the machines.

    Parameters

    Returns Promise<EnqueuedActions>

Generated using TypeDoc