zone

delete

Deletes a zone.

maas$PROFILEzonedelete[--help][-d][-k]name

Positional arguments

Argument

Effect

name

The name of the resource (e.g., my-machine, my-zone)

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 named zone.

maas$PROFILEzoneread[--help][-d][-k]name

Positional arguments

Argument

Effect

name

The name of the resource (e.g., my-machine, my-zone)

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 only ‘name’ and ‘description’ parameters are honored. Others, such as ‘resource-uri’ or ‘id’ will be ignored.

maas$PROFILEzoneupdate[--help][-d][-k]name[data...]

Positional arguments

Argument

Effect

name

The name of the resource (e.g., my-machine, my-zone)

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 new zone.

Keyword "name"

Optional String. The zone’s new name.

Note: This command accepts JSON.

zones create

Creates a new zone.

maas$PROFILEzonescreate[--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 zone’s name.

Keyword "description"

Optional String. A brief description of the new zone.

Note: This command accepts JSON.

zones read

Get a listing of all zones. Note that there is always at least one zone: default.

maas$PROFILEzonesread[--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.