是否可以使用Azure Powershell创建应用程序服务计划? [英] It's possible to create App Service Plans using Azure Powershell?

查看:78
本文介绍了是否可以使用Azure Powershell创建应用程序服务计划?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如标题所述,我需要按计划创建应用服务计划,该场景:

As the title say, I need to create App Service Plans programmatilly, The scenario:

  • 将创建N个Azure网站(动态地,也使用Azure Powershell)
  • 如果有一天,高级应用服务计划无法处理网站数量(即使通过cpu使用情况自动缩放),则必须创建另一个服务计划来容纳新站点.

有可能吗?还是我会以错误的方式来完成此任务?

It is possible? Or Am I going to the wrong way to accomplish this?

推荐答案

除非您的设计不允许这样做,否则当您创建新的Premium App Service计划时,请在新的资源组中创建它,因为这样会给它一个具有足够规模扩展能力的机会更大.

Unless your design doesn't permit it, when you create a new Premium App Service Plan, create it in a new resource group, as that will give it a greater chance to have enough capacity to scale.

使用Azure PowerShell版本1.1.0,可以使用以下命令创建新的应用程序服务计划

Using Azure PowerShell version 1.1.0 you can use the following command to create new app service plans

New-AzureRmAppServicePlan -Location "South Central US" -ResourceGroupName DestinationAzureResourceGroup -Name NewAppServicePlan -Sku Premium

这篇关于是否可以使用Azure Powershell创建应用程序服务计划?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆