eShopOnContainers/deploy/az/cosmos/deploycosmos.json
Eduard Tomas 9f6216b7a3 Update to resources deployed:
- SQL (marketingdb)
- CosmosDb
2017-06-16 13:14:14 +02:00

32 lines
1.0 KiB
JSON

{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "String"
}
},
"variables": {
"name": "[concat(parameters('name'), uniqueString(resourceGroup().id))]",
"location":"[resourceGroup().location]"
},
"resources": [
{
"type": "Microsoft.DocumentDb/databaseAccounts",
"kind": "MongoDB",
"name": "[variables('name')]",
"apiVersion": "2015-04-08",
"location": "[variables('location')]",
"properties": {
"databaseAccountOfferType": "Standard",
"locations": [
{
"id": "[concat(variables('name'), '-', variables('location'))]",
"failoverPriority": 0,
"locationName": "[variables('location')]"
}
]
}
}
]
}