domain¶
delete¶
Delete a domain with the given id.
maas$PROFILEdomaindelete[--help][-d][-k]id
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID 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¶
Read a domain with the given id.
maas$PROFILEdomainread[--help][-d][-k]id
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID 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. |
set-default¶
Set the specified domain to be the default.
maas$PROFILEdomainset-default[--help][-d][-k]id
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID 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¶
Update a domain with the given id.
maas$PROFILEdomainupdate[--help][-d][-k]id[data...]
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID 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 "name"¶
Optional String. Name of the domain.
Keyword "ttl"¶
Optional String. The default TTL for this domain.
Keyword "forward_dns_servers"¶
Optional String. List of IP addresses for forward DNS servers when MAAS is not authoritative for this domain.
Note: This command accepts JSON.
domains create¶
Create a domain.
maas$PROFILEdomainscreate[--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. Name of the domain.
Keyword "authoritative"¶
Optional String. Class type of the domain.
Keyword "forward_dns_servers"¶
Optional String. List of forward dns server IP addresses when MAAS is not authoritative.
Note: This command accepts JSON.
domains read¶
List all domains.
maas$PROFILEdomainsread[--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. |
domains set-serial¶
Set the SOA serial number for all DNS zones.
maas$PROFILEdomainsset-serial[--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 "serial"¶
Optional Int. Serial number to use next.
Note: This command accepts JSON.