Share via


az functionapp app

Note

This reference is part of the deploy-to-azure extension for the Azure CLI (version 2.0.60 or higher). The extension will automatically install the first time you run an az functionapp app command. Learn more about extensions.

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Commands to manage Azure Functions app.

Commands

Name Description Type Status
az functionapp app up

Deploy to Azure Functions via GitHub actions.

Extension Preview

az functionapp app up

Preview

Command group 'functionapp app' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Deploy to Azure Functions via GitHub actions.

az functionapp app up [--app-name]
                      [--branch-name]
                      [--do-not-wait]
                      [--repository]

Examples

Deploy/Setup GitHub action for a GitHub Repository to Azure Function - Run interactive mode

az functionapp app up

Deploy/Setup GitHub Action for locally checked out GitHub Repository to Azure Function

Repository name/url (--repository) will be detected from the local git repository
az functionapp app up --app-name AzFunctionPythonPreProd

Deploy/Setup GitHub action for a GitHub Repository to Azure Function

az functionapp app up --app-name AzFunctionPythonPreProd --repository https://github.com/azure/deploy-functions

Optional Parameters

--app-name

FunctionApp name in the subscription.

--branch-name

New branch name to be created to check in files and raise a PR.

--do-not-wait

Do not wait for workflow completion.

Default value: False
--repository -r

GitHub repository URL e.g. https://github.com/azure/azure-cli.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.