Skip to content

azion_create_edge application

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

azion create edge-application

Creates an edge application on Azion's platform

Synopsis

Creates an edge application without the need to manage infrastructure or security

azion create edge-application [flags]

Examples

$ azion create edge-applications --name "naruno"
$ azion create edge-applications --in create.json
$ json example "create.json": 
{
    "name": "New Edge Application",
    "delivery_protocol": "http",
    "origin_type": "single_origin",
    "address": "www.new.api",
    "origin_protocol_policy": "preserve",
    "host_header": "${host}",
    "browser_cache_settings": "override",
    "browser_cache_settings_maximum_ttl": 20,
    "cdn_cache_settings": "honor",
    "cdn_cache_settings_maximum_ttl": 60
}

Options

      --address string                           Specify the address of a resource or server.
      --browser-cache-settings honor             Configures the amount of time that content is cached in the user’s browser. Possible values: honor or `override`
      --browser-cache-settings-maximum-ttl int   Defines the maximum time to live (TTL) of cached resources in the browser. It can be used to set a time limit for how long resources can be cached in the browser.
      --cdn-cache-settings honor                 Configures how Azion caches the content at the edge. Possible values: honor or `override`
      --cdn-cache-settings-maximum-ttl int       Defines the maximum time to live (TTL) of cached resources in the CDN. It can be used to set a time limit for how long resources can be cached on the CDN servers.
      --debug-rules string                       Allows you to check whether rules or rule sets created using the Rules Engine module for Edge Application and Edge Firewall have been successfully executed in your application
      --delivery-protocol string                 Specify whether the data should be delivered via HTTP, HTTPS, FTP or another communication protocol.
  -h, --help                                     Displays more information about the edge_application command
      --host-header string                       Flag to customize your host headers
      --http-port string                         Flag to set your HTTP port custom
      --http3 string                             Flag to enable HTTP3
      --in string                                Path to a JSON file containing the attributes of the edge application being created; you can use - for reading from stdin
      --name string                              Edge application's name
      --origin-protocol-policy preserve          Type of connection between the edge nodes and your origin. Possible values: preserve, `http` or `https`
      --origin-type single_origin                Type of the origin. Possible values: single_origin(default value), `load_balancer` or `live_ingest`.
      --supported-ciphers string                 Determines which cryptographic algorithms will be used in the TLS connections of your edge application
      --websocket string                         Allows you to establish the WebSocket communication protocol between your origin and your users under the reverse proxy architecture.

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