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.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--allow-force-push

If Azure DevOps repository is not clean, should it overwrite remote content?

Property Value
Accepted values: false, true
--change-reference

The related change reference ID for this resource operation.

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

Name of the Azure function app that you want to use.

--github-pat

Github personal access token for creating pipeline from Github repository.

--github-repository

Fullname of your Github repository (e.g. Azure/azure-cli).

--organization-name

Name of the Azure DevOps organization that you want to use.

--overwrite-yaml

If you have an existing yaml, should it be overwritten?

Property Value
Accepted values: false, true
--project-name

Name of the Azure DevOps project that you want to use.

--repository-name

Name of the Azure DevOps repository that you want to use.


Feedback

Was this page helpful?