ArmStorageCacheModelFactory.StorageCacheUsernameDownloadSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of StorageCacheUsernameDownloadSettings.
public static Azure.ResourceManager.StorageCache.Models.StorageCacheUsernameDownloadSettings StorageCacheUsernameDownloadSettings (bool? enableExtendedGroups = default, Azure.ResourceManager.StorageCache.Models.StorageCacheUsernameSourceType? usernameSource = default, Uri groupFileUri = default, Uri userFileUri = default, string ldapServer = default, string ldapBaseDN = default, bool? encryptLdapConnection = default, bool? requireValidCertificate = default, bool? autoDownloadCertificate = default, Uri caCertificateUri = default, Azure.ResourceManager.StorageCache.Models.StorageCacheUsernameDownloadedType? usernameDownloaded = default, Azure.ResourceManager.StorageCache.Models.StorageCacheUsernameDownloadCredential credentials = default);
static member StorageCacheUsernameDownloadSettings : Nullable<bool> * Nullable<Azure.ResourceManager.StorageCache.Models.StorageCacheUsernameSourceType> * Uri * Uri * string * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Uri * Nullable<Azure.ResourceManager.StorageCache.Models.StorageCacheUsernameDownloadedType> * Azure.ResourceManager.StorageCache.Models.StorageCacheUsernameDownloadCredential -> Azure.ResourceManager.StorageCache.Models.StorageCacheUsernameDownloadSettings
Public Shared Function StorageCacheUsernameDownloadSettings (Optional enableExtendedGroups As Nullable(Of Boolean) = Nothing, Optional usernameSource As Nullable(Of StorageCacheUsernameSourceType) = Nothing, Optional groupFileUri As Uri = Nothing, Optional userFileUri As Uri = 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 Uri = Nothing, Optional usernameDownloaded As Nullable(Of StorageCacheUsernameDownloadedType) = Nothing, Optional credentials As StorageCacheUsernameDownloadCredential = Nothing) As StorageCacheUsernameDownloadSettings
Parameters
- usernameSource
- Nullable<StorageCacheUsernameSourceType>
This setting determines how the cache gets username and group names for clients.
- groupFileUri
- Uri
The URI of the file containing group information (in /etc/group file format). This field must be populated when 'usernameSource' is set to 'File'.
- userFileUri
- Uri
The URI of the file containing user information (in /etc/passwd file format). This field must be populated when 'usernameSource' is set to 'File'.
- ldapServer
- String
The fully qualified domain name or IP address of the LDAP server to use.
- ldapBaseDN
- String
The base distinguished name for the LDAP domain.
Determines if the certificates must be validated by a certificate authority. When true, caCertificateURI must be provided.
Determines if the certificate should be automatically downloaded. This applies to 'caCertificateURI' only if 'requireValidCertificate' is true.
- caCertificateUri
- Uri
The URI of the CA certificate to validate the LDAP secure connection. This field must be populated when 'requireValidCertificate' is set to true.
- usernameDownloaded
- Nullable<StorageCacheUsernameDownloadedType>
Indicates whether or not the HPC Cache has performed the username download successfully.
- credentials
- StorageCacheUsernameDownloadCredential
When present, these are the credentials for the secure LDAP connection.
Returns
A new StorageCacheUsernameDownloadSettings instance for mocking.
Applies to
Azure SDK for .NET