Hook command 'storage-list'

The information in this doc is based on Juju version 3.5.6, and may not accurately reflect other versions of Juju.

Summary

List storage attached to the unit.

Usage

storage-list [options] [<storage-name>]

Options

Flag Default Usage
--format smart Specify output format (json|smart|yaml)
-o, --output Specify an output file

Details

storage-list will list the names of all storage instances attached to the unit. These names can be passed to storage-get via the “-s” flag to query the storage attributes.

A storage name may be specified, in which case only storage instances for that named storage will be returned.