zone¶
delete¶
Deletes a zone.
maas $PROFILE zone delete [--help] [-d] [-k] name
Positional arguments¶
Argument |
Effect |
|---|---|
name |
The name of the resource (e.g., |
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 $PROFILE zone read [--help] [-d] [-k] name
Positional arguments¶
Argument |
Effect |
|---|---|
name |
The name of the resource (e.g., |
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 $PROFILE zone update [--help] [-d] [-k] name [data ...]
Positional arguments¶
Argument |
Effect |
|---|---|
name |
The name of the resource (e.g., |
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 $PROFILE zones 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 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 $PROFILE zones 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. |