Created
February 8, 2021 19:07
-
-
Save krnese/c8bc8f3e51ea102f26e56a5937ba735e to your computer and use it in GitHub Desktop.
AAD DS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"sku": { | |
"type": "String" | |
}, | |
"domainConfigurationType": { | |
"type": "String" | |
}, | |
"domainName": { | |
"type": "String" | |
}, | |
"filteredSync": { | |
"type": "String" | |
}, | |
"location": { | |
"type": "String", | |
"defaultValue": "[resourceGroup().location]" | |
}, | |
"notificationSettings": { | |
"type": "Object", | |
"defaultValue": { | |
"notifyGlobalAdmins": "Enabled", | |
"notifyDcAdmins": "Enabled", | |
"additionalRecipients": [] | |
} | |
}, | |
"vNetRgName": { | |
"type": "string" | |
}, | |
"subnetName": { | |
"type": "String" | |
}, | |
"vnetName": { | |
"type": "String" | |
} | |
}, | |
"resources": [ | |
{ | |
"type": "Microsoft.AAD/DomainServices", | |
"apiVersion": "2020-01-01", | |
"name": "[parameters('domainName')]", | |
"location": "[parameters('location')]", | |
"dependsOn": [ | |
"[concat('Microsoft.Network/virtualNetworks/', parameters('vnetName'))]" | |
], | |
"properties": { | |
"domainName": "[parameters('domainName')]", | |
"filteredSync": "[parameters('filteredSync')]", | |
"domainConfigurationType": "[parameters('domainConfigurationType')]", | |
"notificationSettings": "[parameters('notificationSettings')]", | |
"replicaSets": [ | |
{ | |
"subnetId": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', parameters('vNetRgName'), '/providers/Microsoft.Network/virtualNetworks/', parameters('vnetName'), '/subnets/', parameters('subnetName'))]", | |
"location": "[parameters('location')]" | |
} | |
], | |
"sku": "[parameters('sku')]" | |
} | |
} | |
], | |
"outputs": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment