-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAzureRedisCache.json
More file actions
67 lines (67 loc) · 2.14 KB
/
Copy pathAzureRedisCache.json
File metadata and controls
67 lines (67 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"parameters": {
"cacheName": {
"type": "String"
},
"workspaceId": {
"type": "string"
},
"subnetId": {
"type": "string"
},
"ipAddress": {
"type": "string"
},
"resourceTag": {"type": "string"}
},
"resources": [
{
"name": "[parameters('cacheName')]",
"location": "[resourceGroup().location]",
"tags":{"Quality":"[parameters('resourceTag')]"},
"properties": {
"sku": {
"name": "Premium",
"family": "P",
"capacity": 1
},
"enableNonSslPort": false,
"shardCount": 1,
"subnetId": "[parameters('subnetId')]",
"staticIP": "[parameters('ipAddress')]"
},
"zones": [
"3"
],
"apiVersion": "2019-07-01",
"type": "Microsoft.Cache/Redis",
"resources": [
{
"type": "providers/diagnosticSettings",
"name": "Microsoft.Insights/loganalytics",
"dependsOn": [
"[parameters('cacheName')]"
],
"apiVersion": "2017-05-01-preview",
"properties": {
"name": "loganalytics",
"workspaceId": "[parameters('workspaceId')]",
"logs": [],
"metrics": [
{
"category": "AllMetrics",
"enabled": true,
"retentionPolicy": {
"days": 0,
"enabled": false
}
}
]
}
}
]
}
],
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0"
}