-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmgdsrv-deploy.json
122 lines (122 loc) · 3.8 KB
/
mgdsrv-deploy.json
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"AzAutoName": {
"type": "string",
"metadata": {
"description": "Name of Azure Automation account"
}
},
"RSV Name": {
"type": "string",
"metadata": {
"description": "Name of Recovery Service Vault"
}
},
"LAW Name": {
"type": "string",
"metadata": {
"description": "Name of Log Analytics Workspace"
}
},
"Key Vault Name": {
"type": "string",
"metadata": {
"description": "Name of Azure KeyVault"
}
}
},
"functions": [],
"variables": {},
"resources": [
{
"name": "[parameters('AzAutoName')]",
"type": "Microsoft.Automation/automationAccounts",
"apiVersion": "2015-10-31",
"location": "[resourceGroup().location]",
"tags": {
},
"properties": {
"sku": {
"name": "Free"
}
}
},
{
"name": "[parameters('RSV Name')]",
"type": "Microsoft.RecoveryServices/vaults",
"apiVersion": "2018-01-10",
"location": "[resourceGroup().location]",
"sku": {
"name": "RS0",
"tier": "Standard"
},
"properties": {
}
},
{
"name": "[parameters('LAW Name')]",
"type": "Microsoft.OperationalInsights/workspaces",
"apiVersion": "2015-11-01-preview",
"location": "[resourceGroup().location]",
"properties": {
"sku": {
"name": "Free"
},
"features": {
"searchVersion": 1
}
}
},
{
"name": "[parameters('Key Vault Name')]",
"type": "Microsoft.KeyVault/vaults",
"apiVersion": "2016-10-01",
"location": "[resourceGroup().location]",
"tags": {
"displayName": "keyVault1"
},
"properties": {
"enabledForDeployment": true,
"enabledForTemplateDeployment": true,
"enabledForDiskEncryption": true,
"tenantId": "tenantId",
"accessPolicies": [
{
"tenantId": "tenantId",
"objectId": "objectId",
"permissions": {
"keys": [
"Get"
],
"secrets": [
"List",
"Get",
"Set"
]
}
}
],
"sku": {
"name": "standard",
"family": "A"
}
},
"resources": [
{
"type": "secrets",
"name": "keyVaultSecret1",
"apiVersion": "2016-10-01",
"dependsOn": [
"[resourceId('Microsoft.KeyVault/vaults', 'keyVault1')]"
],
"properties": {
"value": "secretValue"
}
}
]
}
],
"outputs": {}
}