Command 'spaces'

See also: add-space, reload-spaces


List known spaces, including associated subnets.


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


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.


List spaces and their subnets:

juju spaces

List spaces:

juju spaces --short


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.

Last updated 1 year, 1 month ago. Help improve this document in the forum.