Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
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 [--acquire-policy-token]
[--allow-force-push {false, true}]
[--change-reference]
[--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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
If Azure DevOps repository is not clean, should it overwrite remote content?
| Property | Value |
|---|---|
| Accepted values: | false, true |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
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?
| Property | Value |
|---|---|
| Accepted values: | false, true |
Name of the Azure DevOps project that you want to use.
Name of the Azure DevOps repository that you want to use.
Feedback
Was this page helpful?
