Azure Active Directory Domain Services Domain Service Replica Set
This page shows how to write Terraform and Azure Resource Manager for Active Directory Domain Services Domain Service Replica Set and write them securely.
azurerm_active_directory_domain_service_replica_set (Terraform)
The Domain Service Replica Set in Active Directory Domain Services can be configured in Terraform with the resource name azurerm_active_directory_domain_service_replica_set. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_active_directory_domain_service_replica_set" "replica" {
domain_service_id = azurerm_active_directory_domain_service.example.id
location = "australiaeast"
subnet_id = azurerm_subnet.deploy.id
Parameters
The following arguments are supported:
domain_service_id- (Required) The ID of the Domain Service for which to create this Replica Set. Changing this forces a new resource to be created.location- (Required) The Azure location where this Replica Set should exist. Changing this forces a new resource to be created.subnet_id- (Required) The ID of the subnet in which to place this Replica Set.
In addition to all arguments above, the following attributes are exported:
id- The ID of the Domain Service Replica Set.domain_controller_ip_addresses- A list of subnet IP addresses for the domain controllers in this Replica Set, typically two.external_access_ip_address- The publicly routable IP address for the domain controllers in this Replica Set.service_status- The current service status for the replica set.
Explanation in Terraform Registry
Manages a Replica Set for an Active Directory Domain Service.
Microsoft.AAD/domainServices (Azure Resource Manager)
The domainServices in Microsoft.AAD can be configured in Azure Resource Manager with the resource name Microsoft.AAD/domainServices. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
"type": "Microsoft.AAD/domainServices",
"location": "westus",
"etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
"properties": {
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "zdomain.zforest.com",
"type": "Microsoft.AAD/domainServices",
"location": "westus",
"etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
"properties": {
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "zdomain.zforest.com",
"galleries": [{ "type":"workbook", "resourceType":"Microsoft.AAD/domainServices", "order": 200 }],
"order": 200,
"$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/settings.json"
"galleries": [{ "type":"workbook", "resourceType":"Microsoft.AAD/domainServices", "order": 100 }],
"order": 100,
"$schema": "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/settings.json"
"type": "Microsoft.AAD/domainServices",
"location": "westus",
"etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
"properties": {
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "zdomain.zforest.com",
"type": "Microsoft.AAD/domainServices",
"location": "westus",
"etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
"properties": {
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "zdomain.zforest.com",
"type": "Microsoft.AAD/domainServices",
"location": "westus",
"etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
"properties": {
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "zdomain.zforest.com",
"type": "Microsoft.AAD/domainServices",
"location": "westus",
"etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
"properties": {
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "zdomain.zforest.com",
"type": "Microsoft.AAD/domainServices",
"location": "westus",
"tags": {
"Owner": "jicha"
},
"etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
"type": "Microsoft.AAD/domainServices",
"location": "westus",
"tags": {
"Owner": "jicha"
},
"etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
Parameters
apiVersionrequired - stringetagoptional - stringResource etag
locationoptional - stringResource location
namerequired - stringThe name of the domain service.
propertiesrequireddomainConfigurationTypeoptional - stringDomain Configuration Type
domainNameoptional - stringThe name of the Azure domain that the user would like to deploy Domain Services to.
domainSecuritySettingsoptionalkerberosArmoringoptional - stringA flag to determine whether or not KerberosArmoring is enabled or disabled.
kerberosRc4Encryptionoptional - stringA flag to determine whether or not KerberosRc4Encryption is enabled or disabled.
ntlmV1optional - stringA flag to determine whether or not NtlmV1 is enabled or disabled.
syncKerberosPasswordsoptional - stringA flag to determine whether or not SyncKerberosPasswords is enabled or disabled.
syncNtlmPasswordsoptional - stringA flag to determine whether or not SyncNtlmPasswords is enabled or disabled.
syncOnPremPasswordsoptional - stringA flag to determine whether or not SyncOnPremPasswords is enabled or disabled.
tlsV1optional - stringA flag to determine whether or not TlsV1 is enabled or disabled.
filteredSyncoptional - stringEnabled or Disabled flag to turn on Group-based filtered sync.
ldapsSettingsoptionalexternalAccessoptional - stringA flag to determine whether or not Secure LDAP access over the internet is enabled or disabled.
ldapsoptional - stringA flag to determine whether or not Secure LDAP is enabled or disabled.
pfxCertificateoptional - stringThe certificate required to configure Secure LDAP. The parameter passed here should be a base64encoded representation of the certificate pfx file.
pfxCertificatePasswordoptional - stringThe password to decrypt the provided Secure LDAP certificate pfx file.
notificationSettingsoptionaladditionalRecipientsoptional - arrayThe list of additional recipients
notifyDcAdminsoptional - stringShould domain controller admins be notified.
notifyGlobalAdminsoptional - stringShould global admins be notified.
replicaSetsoptional arraylocationoptional - stringVirtual network location
subnetIdoptional - stringThe name of the virtual network that Domain Services will be deployed on. The id of the subnet that Domain Services will be deployed on. /virtualNetwork/vnetName/subnets/subnetName.
resourceForestSettingsoptionalresourceForestoptional - stringResource Forest
settingsoptional arrayfriendlyNameoptional - stringFriendly Name
remoteDnsIpsoptional - stringRemote Dns ips
trustDirectionoptional - stringTrust Direction
trustedDomainFqdnoptional - stringTrusted Domain FQDN
trustPasswordoptional - stringTrust Password
skuoptional - stringSku Type
tagsoptional - stringResource tags
typerequired - string
Frequently asked questions
What is Azure Active Directory Domain Services Domain Service Replica Set?
Azure Active Directory Domain Services Domain Service Replica Set is a resource for Active Directory Domain Services of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Active Directory Domain Services Domain Service Replica Set?
For Terraform, the infracost/infracost source code example is useful. See the Terraform Example section for further details.
For Azure Resource Manager, the sanjaypavan/OldAzure-Rest-API, sanjaypavan/OldAzure-Rest-API and vutran01/Application-Insights-Workbooks-Int source code examples are useful. See the Azure Resource Manager Example section for further details.