您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Azure CLI 示例Azure CLI Samples

下表包含指向 Azure Functions 的 bash 脚本的链接,这些脚本使用 Azure CLI。The following table includes links to bash scripts for Azure Functions that use the Azure CLI.

创建应用Create app
创建可无服务器执行的 Function AppCreate a function app for serverless execution 在消耗计划中创建 Function App。Creates a function app in a Consumption plan.
在应用服务计划中创建 Function AppCreate a function app in an App Service plan 在专用应用服务计划中创建 Function App。Create a function app in a dedicated App Service plan.
集成Integrate
创建 Function App 并连接到存储帐户Create a function app and connect to a storage account 创建 Function App 并将其连接到存储帐户。Create a function app and connect it to a storage account.
创建 Function App 并连接到 Azure Cosmos DBCreate a function app and connect to an Azure Cosmos DB 创建 Function App 并将其连接到 Azure Cosmos DB。Create a function app and connect it to an Azure Cosmos DB.
连续部署Continuous deployment
从 GitHub 进行部署Deploy from GitHub 创建从 GitHub 存储库部署的 Function App。Create a function app that deploys from a GitHub repository.
从 Azure DevOps 部署Deploy from Azure DevOps 创建从 Azure DevOps 存储库部署的函数应用。Create a function app that deploys from an Azure DevOps repository.
配置应用Configure app
将自定义域映射到 Function AppMap a custom domain to a function app 定义函数的自定义域。Define a custom domain for your functions.
将 SSL 证书绑定到 Function AppBind an SSL certificate to a function app 将函数的 SSL 证书上传到自定义域中。Upload SSL certificates for functions in a custom domain.