Skip to content

Commit

Permalink
updated redis template
Browse files Browse the repository at this point in the history
  • Loading branch information
tfitzmac committed Apr 20, 2016
1 parent e6459f0 commit 20691d1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 27 deletions.
43 changes: 18 additions & 25 deletions 101-redis-cache/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@
"description": "The size of the new Azure Redis Cache instance. "
}
},
"redisCacheVersion": {
"type": "string",
"defaultValue": "2.8",
"metadata": {
"description": "The Redis server version of the new cache."
}
},
"existingDiagnosticsStorageAccountName": {
"type": "string",
"metadata": {
Expand All @@ -71,9 +64,9 @@
"type": "string",
"defaultValue": "ON",
"allowedValues": [
"ON",
"OFF"
],
"ON",
"OFF"
],
"metadata": {
"description": "A value that indicates whether diagnostices is enabled. Use ON or OFF."
}
Expand All @@ -87,28 +80,28 @@
"location": "[parameters('redisCacheLocation')]",
"properties": {
"enableNonSslPort": "[parameters('enableNonSslPort')]",
"redisVersion": "[parameters('redisCacheVersion')]",
"sku": {
"capacity": "[parameters('redisCacheCapacity')]",
"family": "[parameters('redisCacheFamily')]",
"name": "[parameters('redisCacheSKU')]"
}
},
"resources": [
{
"apiVersion": "2014-04-01",
"type": "diagnosticSettings",
"name": "service",
"location": "[parameters('redisCacheLocation')]",
"dependsOn": [
"[concat('Microsoft.Cache/Redis/', parameters('redisCacheName'))]"
],
"properties": {
"status": "[parameters('diagnosticsStatus')]",
"storageAccountName": "[parameters('diagnosticsStorageAccountName')]"
}
"resources": [
{
"apiVersion": "2014-04-01",
"type": "diagnosticSettings",
"name": "service",
"location": "[parameters('redisCacheLocation')]",
"dependsOn": [
"[concat('Microsoft.Cache/Redis/', parameters('redisCacheName'))]"
],
"properties": {
"status": "[parameters('diagnosticsStatus')]",
"storageAccountName": "[parameters('existingDiagnosticsStorageAccountName')]"
}
]
}
]
}
]
}

4 changes: 2 additions & 2 deletions 101-redis-cache/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"itemDisplayName": "Create a Redis Cache using a template",
"description": "This template creates an Azure Redis Cache with diagnostics data kept in a storage account.",
"summary": "Create a Redis Cache using a template. Diagnostics data for the cache is kept in a storage account.",
"githubUsername": "tfitzmac",
"dateUpdated": "2015-09-15"
"githubUsername": "steved0x",
"dateUpdated": "2016-04-20"
}

0 comments on commit 20691d1

Please sign in to comment.