-
Notifications
You must be signed in to change notification settings - Fork 29
azion_create_origin
GitHub Action edited this page Jan 5, 2026
·
1 revision
Creates a new Origin
Creates an Origin based on given attributes to be used in Applications
azion create origin [flags]
$ azion create origin --application-id 1673635839 --name "drink coffe" --addresses "asdfg.asd" --host-header "\${host}"
$ azion create origin --application-id 1673635839 --file "create.json"
--addresses strings Passes a list of addresses linked to the Origin
--application-id int Unique identifier for an Application
--bucket string The Origin's bucket. Required flag that must be informed when origin-type is object_storage
--file string Path to a JSON file containing the attributes of the Origin that will be created; you can use - for reading from stdin
-h, --help Displays more information about the create Origin command
--hmac-access-key string Informs Hmac Access Key
--hmac-authentication string Whether Hmac Authentication is used or not
--hmac-region-name string Informs Hmac region name
--hmac-secret-key string Informs Hmac Secret Key
--host-header string Specifies the hostname of the server being accessed
--name string The Origin's name
--origin-path string Path to be appended to the URI when forwarding the request to the Origin. Leave it in blank to use only the URI
--origin-protocol-policy string Tells the protocol policy used in the Origin
--origin-type string Identifies the source of a record. I.e. "single_origin"
--prefix string The Origin's prefix. Optional flag that can be informed when origin-type is object_storage
-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
--format string Changes the output format passing the json value to the flag
-l, --log-level string Set the logging level, "debug", "info", or "error". (default "info")
--no-color Changes the output format passing the json value to the flag
--out string Exports the output to the given <file_path/file_name.ext>
-s, --silent Silences log completely; mostly used for automation purposes
--timeout int Defines how much time in seconds the CLI will wait before timing out from the HTTP connection (default 50)
-t, --token string Saves a given Personal Token locally to authorize CLI commands
-y, --yes Answers all yes/no interactions automatically with yes
- azion create - Creates a new resource