az functionapp devops-pipeline
Note
This reference is part of the functionapp extension for the Azure CLI (version 2.0.46 or higher). The extension will automatically install the first time you run an az functionapp devops-pipeline command. Learn more about extensions.
Azure Function specific integration with Azure DevOps. Please visit https://aka.ms/functions-azure-devops for more information.
Commands
Name | Description | Type | Status |
---|---|---|---|
az functionapp devops-pipeline create |
Create an Azure DevOps pipeline for a function app. |
Extension | GA |
az functionapp devops-pipeline create
Create an Azure DevOps pipeline for a function app.
az functionapp devops-pipeline create [--allow-force-push {false, true}]
[--functionapp-name]
[--github-pat]
[--github-repository]
[--organization-name]
[--overwrite-yaml {false, true}]
[--project-name]
[--repository-name]
Examples
create an Azure Pipeline to a function app.
az functionapp devops-pipeline create --functionapp-name FunctionApp
create an Azure Pipeline from a Github function app repository.
az functionapp devops-pipeline create --github-repository GithubOrganization/GithubRepository --github-pat GithubPersonalAccessToken
create an Azure Pipeline with specific Azure DevOps organization and project
az functionapp devops-pipeline create --organization-name AzureDevOpsOrganization --project-name AzureDevOpsProject
Optional Parameters
If Azure DevOps repository is not clean, should it overwrite remote content?
Name of the Azure function app that you want to use.
Github personal access token for creating pipeline from Github repository.
Fullname of your Github repository (e.g. Azure/azure-cli).
Name of the Azure DevOps organization that you want to use.
If you have an existing yaml, should it be overwritten?
Name of the Azure DevOps project that you want to use.
Name of the Azure DevOps repository that you want to use.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.