-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsql_server_database.json
More file actions
72 lines (71 loc) · 1.84 KB
/
sql_server_database.json
File metadata and controls
72 lines (71 loc) · 1.84 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
68
69
70
71
72
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"sql_server_name": {
"type": "string"
},
"sql_server_loction": {
"type": "string"
},
"SqlSerLogin":{
"type":"string"
},
"SqlSerPasswd": {
"type": "string"
},
"Login": {
"type": "string"
},
"SqlDBName": {
"type": "string"
},
"SqlDBEdition": {
"type": "string"
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.Sql/servers",
"apiVersion": "2019-06-01-preview",
"name": "[parameters('sql_server_name')]",
"location": "[parameters('sql_server_loction')]",
"identity": {
"type": "SystemAssigned"
},
"properties": {
"administratorLogin": "[parameters('SqlSerLogin')]",
"administratorLoginPassword": "[parameters('SqlSerPasswd')]",
"administrators": {
"administratorType": "ActiveDirectory",
"azureADOnlyAuthentication": "false",
"login": "[parameters('Login')]",
"sid": "string",
"tenantId": "string"
},
"publicNetworkAccess": "Enabled"
}
},
{
"name": "[parameters('SqlDBName')]",
"type": "Microsoft.Sql/servers/databases",
"apiVersion": "2014-04-01",
"location": "[resourceGroup().location]",
"tags": {
"displayName": "db-sk-server"
},
"dependsOn": [
"[resourceId('Microsoft.Sql/servers', 'sk-sql-server')]"
],
"properties": {
"collation": "SQL_Latin1_General_CP1_CI_AS",
"edition": "[parameters('SqlDBEdition')]",
"maxSizeBytes": "1073741824",
"requestedServiceObjectiveName": "Basic"
}
}
],
"outputs": {}
}