Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris
Create an AppServicePlan and App in an ASE
Templat Azure Resource Manager ini dibuat oleh anggota komunitas dan bukan oleh Microsoft. Setiap templat Resource Manager dilisensikan kepada Anda berdasarkan perjanjian lisensi oleh pemiliknya, bukan Microsoft. Microsoft tidak bertanggung jawab atas templat Resource Manager yang disediakan dan dilisensikan oleh anggota komunitas dan tidak menyaring keamanan, kompatibilitas, atau performa. Templat Community Resource Manager tidak didukung di bawah program atau layanan dukungan Microsoft apa pun, dan tersedia SEBAGAIMANA ADANYA tanpa jaminan apa pun.
Parameter
Nama Parameter | Deskripsi |
---|---|
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. |
existingAseLocation | Set this to the same location as the App Service Environment |
workerPool | Defines which worker pool's (WP1, WP2 or WP3) resources will be used for the app service plan. |
numberOfWorkersFromWorkerPool | Defines the number of workers from the worker pool that will be used by the app service plan. |
Menggunakan templat
Windows 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 deploymentMenginstal dan mengonfigurasi Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.web/web-app-asp-app-on-ase-create/azuredeploy.json
Baris perintah
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 deploymentMenginstal dan Mengonfigurasi Azure Cross-Platform Command-Line Interface
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.web/web-app-asp-app-on-ase-create/azuredeploy.json