forked from gaurabe/armtemplatesrepository
-
Notifications
You must be signed in to change notification settings - Fork 1
/
documentdb.json
35 lines (35 loc) · 1.1 KB
/
documentdb.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
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"databaseAccounts_name": {
"defaultValue": "iothubdemodb",
"type": "String"
},
"location": {
"defaultValue": "West Europe",
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.DocumentDB/databaseAccounts",
"kind": "GlobalDocumentDB",
"name": "[parameters('databaseAccounts_name')]",
"apiVersion": "2015-04-08",
"location": "[parameters('location')]",
"tags": {},
"properties": {
"databaseAccountOfferType": "Standard",
"consistencyPolicy": {
"defaultConsistencyLevel": "Session",
"maxIntervalInSeconds": 5,
"maxStalenessPrefix": 100
},
"name": "[parameters('databaseAccounts_name')]"
},
"dependsOn": []
}
]
}