The Azure Quickstart templates are currently available in English
Create an AppServicePlan and App in an App Service Environment v2
この Azure Resource Manager (ARM) テンプレートは、マイクロソフトではなく、コミュニティのメンバーによって作成されました。各 ARM テンプレートは、マイクロソフトではなく、テンプレートの所有者によるライセンス契約に基づいて使用許諾されます。マイクロソフトは、コミュニティ メンバーによって提供および使用許諾される ARM テンプレートに対して責任を負わず、セキュリティ、互換性、パフォーマンスなどについての調査を行っていません。コミュニティ ARM テンプレートは、Microsoft サポート プログラムまたはサービスのサポート対象ではなく、手を加えずに提供され、いかなる保証もありません。
パラメーター
パラメーター名 | 説明 |
---|---|
siteName | The name of the web app that you wish to create. |
appServicePlanName | The name of the App Service plan to use for hosting the web app. |
appServiceEnvironmentName | The name of the App Service Environment where the app service plan will be created. |
location | Set this to the same location as the app service environment |
pricingTier | Defines pricing tier for workers: 1 = Isolated 1, 2 = Isolated 2, 3 = Isolated 3. |
capacity | Defines the number of instances that will be allocated to the app service plan. |
テンプレートを使用する
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentAzure PowerShell のインストールと構成
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-web-app-asp-app-on-asev2-create/azuredeploy.json
コマンド ライン
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentAzure クロス プラットフォーム コマンド ライン インターフェイスのインストールと構成
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-web-app-asp-app-on-asev2-create/azuredeploy.json