<a id="command-juju-storage-pools"></a>

# `juju storage-pools`

> See also: [create-storage-pool](https://documentation.ubuntu.com/juju/4.0/reference/juju-cli/list-of-juju-cli-commands/create-storage-pool.md#command-juju-create-storage-pool), [remove-storage-pool](https://documentation.ubuntu.com/juju/4.0/reference/juju-cli/list-of-juju-cli-commands/remove-storage-pool.md#command-juju-remove-storage-pool)

**Aliases:** list-storage-pools

## Summary

List storage pools.

## Usage

```text
juju storage-pools [options]
```

### Options

| Flag                       | Default   | Usage                                                                      |
|----------------------------|-----------|----------------------------------------------------------------------------|
| `-B`, `--no-browser-login` | false     | Do not use web browser for authentication                                  |
| `--format`                 | tabular   | Specify output format (json|tabular|yaml)                                  |
| `-m`, `--model`            |           | Model to operate in. Accepts [<controller name>:]<model name>|<model UUID> |
| `--name`                   |           | Only show pools with these names                                           |
| `-o`, `--output`           |           | Specify an output file                                                     |
| `--provider`               |           | Only show pools of these provider types                                    |

## Examples

List all storage pools:

```none
juju storage-pools
```

List only pools of type kubernetes, azure, ebs:

```none
juju storage-pools --provider kubernetes,azure,ebs
```

List only pools named pool1 and pool2:

```none
juju storage-pools --name pool1,pool2
```

## Details

The user can filter on pool type, name.

If no filter is specified, all current pools are listed.
If at least 1 name and type is specified, only pools that match both a name
AND a type from criteria are listed.
If only names are specified, only mentioned pools will be listed.
If only types are specified, all pools of the specified types will be listed.

Both pool types and names must be valid.
Valid pool types are pool types that are registered for Juju model.
