The Azure Quickstart templates are currently available in English
This template creates an Azure Redis Cache with diagnostics data kept in a storage account.
Den här ARM-mallen (Azure Resource Manager) skapades av en community-medlem, inte av Microsoft. Varje ARM-mall licensieras till dig enligt ett licensavtal av respektive ägare, inte Microsoft. Microsoft ansvarar inte för ARM-mallar som erbjuds och licensieras av community-medlemmar och undersöker inte mallarnas säkerhet, kompatibilitet eller prestanda. Microsofts supportprogram och supporttjänster omfattar inte support för ARM-mallar från community-medlemmar, och dessa mallar tillhandahålls i BEFINTLIGT SKICK utan någon form av garanti.
Parametrar
Parameternamn | Beskrivning |
---|---|
redisCacheName | Specify the name of the Azure Redis Cache to create. |
location | Location of all resources |
redisCacheSKU | Specify the pricing tier of the new Azure Redis Cache. |
redisCacheFamily | Specify the family for the sku. C = Basic/Standard, P = Premium. |
redisCacheCapacity | Specify the size of the new Azure Redis Cache instance. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4) |
enableNonSslPort | Specify a boolean value that indicates whether to allow access via non-SSL ports. |
diagnosticsEnabled | Specify a boolean value that indicates whether diagnostics should be saved to the specified storage account. |
existingDiagnosticsStorageAccountId | Specify an existing storage account for diagnostics. |
Använda mallen
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 deploymentInstallera och konfigurera Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-redis-cache/azuredeploy.json
Kommandoraden
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 deploymentInstallera och konfigurera Azures plattformsoberoende kommandoradsgränssnitt
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-redis-cache/azuredeploy.json