Static
NAMEStatic
VERSIONAddToUnit validates and creates additional storage instances for units. A "CHANGE" block can block this operation.
Attach attaches existing storage instances to units. A "CHANGE" block can block this operation.
CreatePool creates a new pool with specified parameters.
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.
Import imports existing storage into the model. A "CHANGE" block can block this operation.
ListFilesystems returns a list of filesystems in the environment matching the provided filter. Each result describes a filesystem in detail, including the filesystem's attachments.
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.
ListStorageDetails returns storage matching a filter.
ListVolumes lists volumes with the given filters. Each filter produces an independent list of volumes, or an error if the filter is invalid or the volumes could not be listed.
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.
RemovePool deletes the named pool
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.
UpdatePool deletes the named pool
Generated using TypeDoc
StorageAPI implements the latest version (v6) of the Storage API.