Share via


CacheUsernameDownloadSettings Class

Definition

Settings for Extended Groups username and group download.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheUsernameDownloadSettingsTypeConverter))]
public class CacheUsernameDownloadSettings : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheUsernameDownloadSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheUsernameDownloadSettingsTypeConverter))>]
type CacheUsernameDownloadSettings = class
    interface ICacheUsernameDownloadSettings
    interface IJsonSerializable
Public Class CacheUsernameDownloadSettings
Implements ICacheUsernameDownloadSettings
Inheritance
CacheUsernameDownloadSettings
Attributes
Implements

Constructors

CacheUsernameDownloadSettings()

Creates an new CacheUsernameDownloadSettings instance.

Properties

AutoDownloadCertificate

Determines if the certificate should be automatically downloaded. This applies to 'caCertificateURI' only if 'requireValidCertificate' is true.

CaCertificateUri

The URI of the CA certificate to validate the LDAP secure connection. This field must be populated when 'requireValidCertificate' is set to true.

CredentialsBindDn

The Bind Distinguished Name identity to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.

CredentialsBindPassword

The Bind password to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.

EncryptLdapConnection

Whether or not the LDAP connection should be encrypted.

ExtendedGroup

Whether or not Extended Groups is enabled.

GroupFileUri

The URI of the file containing group information (in /etc/group file format). This field must be populated when 'usernameSource' is set to 'File'.

LdapBaseDn

The base distinguished name for the LDAP domain.

LdapServer

The fully qualified domain name or IP address of the LDAP server to use.

RequireValidCertificate

Determines if the certificates must be validated by a certificate authority. When true, caCertificateURI must be provided.

UserFileUri

The URI of the file containing user information (in /etc/passwd file format). This field must be populated when 'usernameSource' is set to 'File'.

UsernameDownloaded

Indicates whether or not the HPC Cache has performed the username download successfully.

UsernameSource

This setting determines how the cache gets username and group names for clients.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CacheUsernameDownloadSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CacheUsernameDownloadSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheUsernameDownloadSettings.

FromJsonString(String)

Creates a new instance of CacheUsernameDownloadSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CacheUsernameDownloadSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to