Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris
This template creates an Azure Web App with Redis cache and a SQL Database.
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 |
---|---|
skuName | Describes plan's pricing tier and instance size. Check details at https://azure.microsoft.com/en-us/pricing/details/app-service/ |
skuCapacity | Describes plan's instance count |
administratorLogin | The admin user of the SQL Server |
administratorLoginPassword | The password of the admin user of the SQL Server |
databaseName | The name of the new database to create. |
collation | The database collation for governing the proper use of characters. |
edition | The type of database to create. |
maxSizeBytes | The maximum size, in bytes, for the database |
requestedServiceObjectiveName | Describes the performance level for Edition |
cacheSKUName | The pricing tier of the new Azure Redis Cache. |
cacheSKUFamily | The family for the sku. |
cacheSKUCapacity | The size of the new Azure Redis Cache instance. |
location | Location for all resources. |
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-redis-cache-sql-database/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-redis-cache-sql-database/azuredeploy.json