gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 09:52:35 25 4
gpt4 key购买 nike

有没有一种方法/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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com