Command 'juju spaces'

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

See also: add-space, reload-spaces

Summary

List known spaces, including associated subnets.

Usage

juju spaces [options] [--short] [--format yaml|json] [--output <path>]

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>
-o, --output Specify an output file
--short false only display spaces.

Examples

List spaces and their subnets:

juju spaces

List spaces:

juju spaces --short

Details

Displays all defined spaces. By default both spaces and their subnets are displayed. Supplying the --short option will list just the space names. The --output argument allows the command’s output to be redirected to a file.