StorageAPI implements the latest version (v6) of the Storage API.

Hierarchy

  • default

Implements

Constructors

Properties

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

Methods

  • DetachStorage sets the specified storage attachments to Dying, unless they are already Dying or Dead. Any associated, persistent storage will remain alive. This call can be forced.

    Parameters

    Returns Promise<ErrorResults>

  • ListPools returns a list of pools. If filter is provided, returned list only contains pools that match the filter. Pools can be filtered on names and provider types. If both names and types are provided as filter, pools that match either are returned. This method lists union of pools and environment provider types. If no filter is provided, all pools are returned.

    Parameters

    Returns Promise<StoragePoolsResults>

  • Remove sets the specified storage entities to Dying, unless they are already Dying or Dead, such that the storage will eventually be removed from the model. If the arguments specify that the storage should be destroyed, then the associated cloud storage will be destroyed first; otherwise it will only be released from Juju's control.

    Parameters

    Returns Promise<ErrorResults>

  • StorageDetails retrieves and returns detailed information about desired storage identified by supplied tags. If specified storage cannot be retrieved, individual error is returned instead of storage information.

    Parameters

    Returns Promise<StorageDetailsResults>

Generated using TypeDoc