Skip to content

azion_create_function instance

GitHub Action edited this page Jan 5, 2026 · 1 revision

azion create function-instance

Creates a new Function Instance

Synopsis

Creates a Function Instance based on given attributes

azion create function-instance [flags]

Examples

$ azion create function-instance --name functionInstanceName
$ azion create function-instance --name withargs --active true
$ azion create function-instance --file "create.json"

Options

      --active string        Whether the Function Instance is active or not (default "true")
      --application-id int   Unique identifier of the Application
      --args string          The Function Instance's arguments
      --file string          Path to a JSON file containing the attributes that will be updated; you can use - for reading from stdin
      --function-id int      Unique identifier of the Function
  -h, --help                 Displays more information about the create function-instance command
      --name string          The Function Instance'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
      --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

SEE ALSO

Auto generated by spf13/cobra on 5-Jan-2026

Clone this wiki locally