Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

An error occurred while submitting your form. Please try again or file a bug report. Close

zone

Enter keyword arguments in the form key=value.

Delete a zone

maas $PROFILE zone delete [--help] [-d] [-k] name [data ...] 

Positional arguments

  • name

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

Return a named zone

maas $PROFILE zone read [--help] [-d] [-k] name [data ...] 

Positional arguments

  • name

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 a zone’s name or description

maas $PROFILE zone update [--help] [-d] [-k] name [data ...] 

Positional arguments

  • name

Note that only ‘name’ and ‘description’ parameters are honored. Others, such as ‘resource-uri’ or ‘id’ will be ignored.

Keyword “description”

Optional String. A brief description of | the | new zone. |

Keyword “name”

Optional String. The zone’s new name.

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

Create a new zone

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

Keyword “name” Required. The new zone’s name.

Type: String.

Keyword “description”

Optional String. A brief description of | the | new 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

Get a listing of all zones

Note that there is always at least one zone called “default.”

maas $PROFILE zones read [--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 |

Last updated a month ago. Help improve this document in the forum.