You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.4 KiB

{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"namespaceprefix": {
"type": "string",
"metadata": {
"description": "Name of the Redis namespace"
}
}
},
"variables": {
"location": "[resourceGroup().location]",
"namespaceprefix": "[concat(parameters('namespaceprefix'), uniqueString(resourceGroup().id))]",
"sbVersion": "2016-04-01"
},
"resources": [
{
"type": "Microsoft.Cache/Redis",
"name": "[variables('namespaceprefix')]",
"apiVersion": "[variables('sbVersion')]",
"location": "[variables('location')]",
"scale": null,
"properties": {
"redisVersion": "3.2.7",
"sku": {
"name": "Standard",
"family": "C",
"capacity": 1
},
"enableNonSslPort": true,
"redisConfiguration": {
"maxclients": "1000",
"maxmemory-reserved": "50",
"maxfragmentationmemory-reserved": "50",
"maxmemory-policy": "volatile-lru",
"maxmemory-delta": "50"
}
}
}
]
}