The Azure Quickstart templates are currently available in English
This template creates an Azure Web App with Redis cache and a SQL Database.
Tuto šablonu Azure Resource Manageru (ARM) vytvořil člen komunity a ne Microsoft. Licenci na každou šablonu ARM vám na základě licenční smlouvy uděluje její vlastník, ne Microsoft. Za šablony ARM poskytované a licencované členy komunity nenese Microsoft žádnou odpovědnost ani neprověřuje jejich zabezpečení, kompatibilitu nebo výkon. Šablony ARM komunity nejsou podporované v rámci žádné služby nebo programu podpory Microsoftu a jsou dostupné TAK JAK JSOU, bez jakékoliv záruky.
Parametry
Název parametru | Popis |
---|---|
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. |
Použití šablony
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 deploymentInstalace a konfigurace Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-web-app-redis-cache-sql-database/azuredeploy.json
Příkazový řádek
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 deploymentInstalace a konfigurace rozhraní 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/201-web-app-redis-cache-sql-database/azuredeploy.json