azure - 以编程方式部署 Azure Web 应用程序

标签 azure azure-web-app-service

有没有一种方法/API 可以以编程方式将 Azure 应用程序服务(特别是 Web 应用程序)部署到 Azure?

或使用不同的域名创建网站的多个实例?

基本思想是将用户可配置/可主题化的网站作为产品向公众出售,并在客户购买应用程序后自动执行 Azure 部署?

最佳答案

您应该看看Azure Resource Manager templates :

Azure applications typically require a combination of resources (such as a database server, database, or website) to meet the desired goals. Rather than deploying and managing each resource separately, you can create an Azure Resource Manager template that deploys and provisions all of the resources for your application in a single, coordinated operation. In the template, you define the resources that are needed for the application and specify deployment parameters to input values for different environments. The template consists of JSON and expressions which you can use to construct values for your deployment. This topic describes the sections of the template.

您可以从官方网站找到好的示例:

关于azure - 以编程方式部署 Azure Web 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34924520/

相关文章:

azure - 在多个区域运行 Azure 角色?

.net - 如何将 Azure 应用服务的访问权限限制为仅在 Azure Ad 的用户和组设置中添加的用户?

azure-web-app-service - Azure 逻辑应用服务总线消息内容

用于网站仪表板数据的 Azure 管理库

javascript - 如何搜索项目、返回其 ID 并更新 Azure 移动服务中的记录

azure - 创建 Azure 任务计划程序

azure - 如何确定、查找、安装和引用合适的 Azure SDK 包?

azure - Windows Azure 平台就绪测试工具

azure - 无法从 Debian 9 登录 Azure 帐户

powershell - Switch-AzureRmWebAppSlot 不再支持生产槽名称