MachineManagerAPIV6 defines the Version 6 of Machine Manager API. Changes input parameters to DestroyMachineWithParams and ForceDestroyMachine.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "MachineManager"
VERSION: number = 6
_transport: Transport
NAME: string = "MachineManager"
VERSION: number = 6

Methods

  • ForceDestroyMachine forcibly removes a set of machines from the model. TODO (anastasiamac 2019-4-24) From Juju 3.0 this call will be removed in favour of DestroyMachinesWithParams. Also from ModelManger v6 this call is less useful as it does not support MaxWait customisation.

    Parameters

    Returns Promise<DestroyMachineResults>

  • UpgradeSeriesComplete marks a machine as having completed a managed series upgrade.

    Parameters

    Returns Promise<ErrorResult>

  • UpgradeSeriesPrepare prepares a machine for a OS series upgrade.

    Parameters

    Returns Promise<ErrorResult>

  • UpgradeSeriesValidate validates that the incoming arguments correspond to a valid series upgrade for the target machine. If they do, a list of the machine's current units is returned for use in soliciting user confirmation of the command.

    Parameters

    Returns Promise<UpgradeSeriesUnitsResults>

  • WatchUpgradeSeriesNotifications returns a watcher that fires on upgrade series events.

    Parameters

    Returns Promise<NotifyWatchResults>

Generated using TypeDoc