-
Notifications
You must be signed in to change notification settings - Fork 29
azion_update_domains
GitHub Action edited this page Oct 24, 2023
·
4 revisions
Updates a domain
Updates a domain's name and other attributes based on a given ID
azion update domains --domain-id <domain_id> [flags]
$ azion update domains --domain-id 1234 --name 'Hello'
$ azion update domains --domain-id 1234 --application-id 4321
$ azion update domains --domain-id 1234 --cnames www.testhere.com,www.pudim.com
$ azion update domains --domain-id 9123 --cname-access-only true
$ azion update domains --domain-id 9123 --cname-access-only false
$ azion update domains --domain-id 9123 --application-id 192837
$ azion update domains --in "update.json"
--active string Whether the domain should be active or not
--application-id int Unique identifier for an edge application used by this domain.
--cname-access-only string Whether the domain should be Accessed only through CNAMEs or not
--cnames strings CNAMEs of your domain
--digital-certificate-id string Unique identifier of the Digital Certificate; this value is either an integer or null
--domain-id int The '--domain-id'
-h, --help Displays more information about the update domains subcommand
--in string Given path and JSON file to automatically update the domain attributes; you can use - for reading from stdin
--name string The domain's name
-c, --config string Sets the Azion configuration folder for the current command only, without changing persistent settings.
-d, --debug Displays log at a debug level
-l, --log-level string Displays log at a debug level (default "info")
-s, --silent Silences log completely; mostly used for automation purposes
-t, --token string Saves a given personal token locally to authorize CLI commands
-y, --yes Answers all yes/no interactions automatically with yes
- azion update - Modifies or changes single or multiple configurations of existing services or resources on Azion