ArmNetAppModelFactory.LdapConfiguration Method

Definition

public static Azure.ResourceManager.NetApp.Models.LdapConfiguration LdapConfiguration(string domain = default, System.Collections.Generic.IEnumerable<System.Net.IPAddress> ldapServers = default, bool? isLdapOverTlsEnabled = default, string serverCACertificate = default, string certificateCNHost = default, Azure.ResourceManager.NetApp.Models.BindAuthenticationLevel? bindAuthenticationLevel = default, string bindDN = default, Azure.ResourceManager.NetApp.Models.BindPasswordKeyVaultConfig bindPasswordAkvConfig = default);
static member LdapConfiguration : string * seq<System.Net.IPAddress> * Nullable<bool> * string * string * Nullable<Azure.ResourceManager.NetApp.Models.BindAuthenticationLevel> * string * Azure.ResourceManager.NetApp.Models.BindPasswordKeyVaultConfig -> Azure.ResourceManager.NetApp.Models.LdapConfiguration
Public Shared Function LdapConfiguration (Optional domain As String = Nothing, Optional ldapServers As IEnumerable(Of IPAddress) = Nothing, Optional isLdapOverTlsEnabled As Nullable(Of Boolean) = Nothing, Optional serverCACertificate As String = Nothing, Optional certificateCNHost As String = Nothing, Optional bindAuthenticationLevel As Nullable(Of BindAuthenticationLevel) = Nothing, Optional bindDN As String = Nothing, Optional bindPasswordAkvConfig As BindPasswordKeyVaultConfig = Nothing) As LdapConfiguration

Parameters

domain
String

Name of the LDAP configuration domain.

ldapServers
IEnumerable<IPAddress>

List of LDAP server IP addresses (IPv4 only) for the LDAP domain.

isLdapOverTlsEnabled
Nullable<Boolean>

Specifies whether or not the LDAP traffic needs to be secured via TLS.

serverCACertificate
String

When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded ldap servers CA certificate.

certificateCNHost
String

The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.

bindAuthenticationLevel
Nullable<BindAuthenticationLevel>

The authentication level to use when binding to the LDAP server, defaults to Anonymous.

bindDN
String

The distinguished name (DN) to bind as when performing LDAP operations.

bindPasswordAkvConfig
BindPasswordKeyVaultConfig

The Azure Key Vault configuration where the Bind DN (Distinguished Name) user password is stored.

Returns

A new LdapConfiguration instance for mocking.

Applies to