【问题标题】:Set azure website instance count using powershell使用 powershell 设置 azure 网站实例计数
【发布时间】:2016-10-25 20:13:35
【问题描述】:

有没有办法使用 PowerShell 扩展 Azure 网站实例计数(不是实例大小)?

我想更新现有网站的实例计数。

【问题讨论】:

    标签: azure azure-web-app-service


    【解决方案1】:

    通常,您不会扩展 Web 应用,而是扩展它们所在的应用服务计划

    documentation 包含有关使用 PowerShell 的详细信息。在这里,你会想要这样的东西:

    Set-AzureRmAppServicePlan -Name ContosoAppServicePlan -ResourceGroupName ContosoAzureResourceGroup -NumberofWorkers 9
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-10-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-30
      • 1970-01-01
      相关资源
      最近更新 更多