Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

az functionapp app

  • Preview

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 [--acquire-policy-token]
 [--app-name]
 [--branch-name]
 [--change-reference]
 [--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.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--app-name

FunctionApp name in the subscription.

--branch-name

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

--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--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.


Feedback

Was this page helpful?