PSRule.Rules.Azure/docs/examples-entrads.bicep

29 строки
661 B
Bicep

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
targetScope = 'resourceGroup'
@sys.description('The name of the resource.')
param name string
@sys.description('The location resources will be deployed.')
param location string = resourceGroup().location
// Bicep documentation examples
// Configure a hardened Entra Domain Services instance.
resource ds 'Microsoft.AAD/domainServices@2022-12-01' = {
name: name
location: location
properties: {
ldapsSettings: {
ldaps: 'Enabled'
}
domainSecuritySettings: {
ntlmV1: 'Disabled'
tlsV1: 'Disabled'
kerberosRc4Encryption: 'Disabled'
}
}
}