Skip to content

azion_create_domains

GitHub Action edited this page Oct 24, 2023 · 4 revisions

azion create domains

Creates a new domain

Synopsis

Creates a domain based on given attributes to be used with edge applications

azion create domains [flags]

Examples

$ azion create domains --application-id 1231 --name domainName --cnames "asdf.com,asdfsdf.com,asdfd.com" --cname-access-only false
$ azion create domains --name withargs --application-id 1231 --active true
$ azion create domains --in "create.json"

Options

      --active string                Whether the Domain is active or not (default "true")
      --application-id int           The edge application's unique identifier
      --cname-access-only string     Whether the domain is accessed only through the CNAMES or not (default "false")
      --cnames strings               List of domains' CNAMES
      --digital-certificate-id int   The digital certificate's unique identifier. It can be an integer or null.
  -h, --help                         Displays more information about the create subcommand
      --in string                    Path to a JSON file containing the attributes that will be updated; you can use - for reading from stdin
      --name string                  The domain's name

Options inherited from parent commands

  -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

SEE ALSO

  • azion create - Creates a new resource on the Azion Edge Platform
Auto generated by spf13/cobra on 24-Oct-2023