你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CacheUsernameDownloadSettings 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CacheUsernameDownloadSettings() |
初始化 CacheUsernameDownloadSettings 类的新实例。 |
CacheUsernameDownloadSettings(Nullable<Boolean>, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, CacheUsernameDownloadSettingsCredentials) |
初始化 CacheUsernameDownloadSettings 类的新实例。 |
CacheUsernameDownloadSettings()
初始化 CacheUsernameDownloadSettings 类的新实例。
public CacheUsernameDownloadSettings ();
Public Sub New ()
适用于
CacheUsernameDownloadSettings(Nullable<Boolean>, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, CacheUsernameDownloadSettingsCredentials)
初始化 CacheUsernameDownloadSettings 类的新实例。
public CacheUsernameDownloadSettings (bool? extendedGroups = default, string usernameSource = default, string groupFileURI = default, string userFileURI = default, string ldapServer = default, string ldapBaseDN = default, bool? encryptLdapConnection = default, bool? requireValidCertificate = default, bool? autoDownloadCertificate = default, string caCertificateURI = default, string usernameDownloaded = default, Microsoft.Azure.Management.StorageCache.Models.CacheUsernameDownloadSettingsCredentials credentials = default);
new Microsoft.Azure.Management.StorageCache.Models.CacheUsernameDownloadSettings : Nullable<bool> * string * string * string * string * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string * Microsoft.Azure.Management.StorageCache.Models.CacheUsernameDownloadSettingsCredentials -> Microsoft.Azure.Management.StorageCache.Models.CacheUsernameDownloadSettings
Public Sub New (Optional extendedGroups As Nullable(Of Boolean) = Nothing, Optional usernameSource As String = Nothing, Optional groupFileURI As String = Nothing, Optional userFileURI As String = Nothing, Optional ldapServer As String = Nothing, Optional ldapBaseDN As String = Nothing, Optional encryptLdapConnection As Nullable(Of Boolean) = Nothing, Optional requireValidCertificate As Nullable(Of Boolean) = Nothing, Optional autoDownloadCertificate As Nullable(Of Boolean) = Nothing, Optional caCertificateURI As String = Nothing, Optional usernameDownloaded As String = Nothing, Optional credentials As CacheUsernameDownloadSettingsCredentials = Nothing)
参数
- usernameSource
- String
此设置确定缓存如何获取客户端的用户名和组名称。 可能的值包括:“AD”、“LDAP”、“File”、“None”
- groupFileURI
- String
包含组信息的文件的 URI (/etc/group 文件格式) 。 当“usernameSource”设置为“File”时,必须填充此字段。
- userFileURI
- String
包含用户信息的文件的 URI, (/etc/passwd 文件格式) 。 当“usernameSource”设置为“File”时,必须填充此字段。
- ldapServer
- String
要使用的 LDAP 服务器的完全限定的域名或 IP 地址。
- ldapBaseDN
- String
LDAP 域的基本可分辨名称。
确定是否应自动下载证书。 仅当“requireValidCertificate”为 true 时,这才适用于“caCertificateURI”。
- caCertificateURI
- String
用于验证 LDAP 安全连接的 CA 证书的 URI。 当“requireValidCertificate”设置为 true 时,必须填充此字段。
- usernameDownloaded
- String
指示HPC 缓存是否已成功执行用户名下载。 可能的值包括:“Yes”、“No”、“Error”
- credentials
- CacheUsernameDownloadSettingsCredentials
如果存在,这些是安全 LDAP 连接的凭据。