簡體   English   中英

使用Powershell在具有服務計划的資源組中創建Azure網站(應用程序服務)

[英]Create Azure website (app service) within a resource group with service plan with Powershell

我在網上瀏覽時,發現只有使用New-AzureWebsite的簡單示例,例如:

    New-AzureWebsite -Name appName -Location yourLocation 

但是,此命令將在新資源組和新服務計划中創建網站。 如何在具有現有服務計划的現有資源組中創建網站?

您可以使用新的AzureRM Powershell v.1.0.1並使用以下命令

New-AzureRMWebApp -ResourceGroupName <RGName> -AppServicePlan <AppServPlan> -Name <SiteName>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM