resource-pool

delete

Deletes a resource pool.

maas $PROFILE resource-pool delete [--help] [-d] [-k] id

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

read

Returns a resource pool.

maas $PROFILE resource-pool read [--help] [-d] [-k] id

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

update

Note that any other given parameters are silently ignored.

maas $PROFILE resource-pool update [--help] [-d] [-k] id [data ...]

Positional arguments

Argument

Effect

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “description”

Optional String. A brief description of the resource pool.

Keyword “name”

Optional String. The resource pool’s new name.

Note: This command accepts JSON.

resource-pools create

Creates a new resource pool.

maas $PROFILE resource-pools create [--help] [-d] [-k] [data ...]

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “name”

Optional String. The new resource pool’s name.

Keyword “description”

Optional String. A brief description of the new resource pool.

Note: This command accepts JSON.

resource-pools read

Note that there is always at least one resource pool: default.

maas $PROFILE resource-pools read [--help] [-d] [-k]

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.