You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
1.0 KiB

{
"$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')]"
}
]
}
}
]
}