ภาษา

ArmNetAppModelFactory.LdapConfigurationPatch Method

Definition

public static Azure.ResourceManager.NetApp.Models.LdapConfigurationPatch LdapConfigurationPatch(string domain = default, System.Collections.Generic.IEnumerable<System.Net.IPAddress> ldapServers = default, Azure.ResourceManager.NetApp.Models.SecureLdapType? secureLdapType = default, string serverCACertificate = default, string certificateCNHost = default, System.Collections.Generic.IEnumerable<System.Net.IPAddress> dnsServers = default, int? ldapPort = default, string userDN = default, string groupDN = default, string netGroupDN = default, Azure.ResourceManager.NetApp.Models.BindAuthenticationLevel? bindAuthenticationLevel = default, string bindDN = default, Azure.ResourceManager.NetApp.Models.BindPasswordKeyVaultConfigPatch bindPasswordAkvConfig = default);
static member LdapConfigurationPatch : string * seq<System.Net.IPAddress> * Nullable<Azure.ResourceManager.NetApp.Models.SecureLdapType> * string * string * seq<System.Net.IPAddress> * Nullable<int> * string * string * string * Nullable<Azure.ResourceManager.NetApp.Models.BindAuthenticationLevel> * string * Azure.ResourceManager.NetApp.Models.BindPasswordKeyVaultConfigPatch -> Azure.ResourceManager.NetApp.Models.LdapConfigurationPatch
Public Shared Function LdapConfigurationPatch (Optional domain As String = Nothing, Optional ldapServers As IEnumerable(Of IPAddress) = Nothing, Optional secureLdapType As Nullable(Of SecureLdapType) = Nothing, Optional serverCACertificate As String = Nothing, Optional certificateCNHost As String = Nothing, Optional dnsServers As IEnumerable(Of IPAddress) = Nothing, Optional ldapPort As Nullable(Of Integer) = Nothing, Optional userDN As String = Nothing, Optional groupDN As String = Nothing, Optional netGroupDN As String = Nothing, Optional bindAuthenticationLevel As Nullable(Of BindAuthenticationLevel) = Nothing, Optional bindDN As String = Nothing, Optional bindPasswordAkvConfig As BindPasswordKeyVaultConfigPatch = Nothing) As LdapConfigurationPatch

Parameters

domain
String

Name of the LDAP configuration domain.

ldapServers
IEnumerable<IPAddress>

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

secureLdapType
Nullable<SecureLdapType>

Indicates the secure LDAP mode for encrypting communication between ANF storage and customer LDAP servers.

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.

dnsServers
IEnumerable<IPAddress>

List of DNS server IPv4 addresses for resolving the CN host certificate. This parameter is used when LDAP over TLS is enabled.

ldapPort
Nullable<Int32>

Port number for LDAP communication. Default is 389 for LDAP.

userDN
String

This specifies the user DN (Distinguished Name), which overrides the base DN for user lookups.

groupDN
String

This specifies the group DN (Distinguished Name), which overrides the base DN for group lookups.

netGroupDN
String

This specifies the netgroup DN (Distinguished Name), which overrides the base DN for netgroup lookups.

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
BindPasswordKeyVaultConfigPatch

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

Returns

A new LdapConfigurationPatch instance for mocking.

Applies to