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

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--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.

Property Value
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.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False