Class: Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheUsernameDownloadSettingsCredentials

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings_credentials.rb

Overview

When present, these are the credentials for the secure LDAP connection.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#bind_dnString

secure LDAP connection. This value is stored encrypted and not returned on response.

Returns:

  • (String)

    The Bind Distinguished Name identity to be used in the



18
19
20
# File 'lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings_credentials.rb', line 18

def bind_dn
  @bind_dn
end

#bind_passwordString

connection. This value is stored encrypted and not returned on response.

Returns:

  • (String)

    The Bind password to be used in the secure LDAP



23
24
25
# File 'lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings_credentials.rb', line 23

def bind_password
  @bind_password
end

Class Method Details

.mapperObject

Mapper for CacheUsernameDownloadSettingsCredentials class as Ruby Hash. This will be used for serialization/deserialization.



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings_credentials.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CacheUsernameDownloadSettings_credentials',
    type: {
      name: 'Composite',
      class_name: 'CacheUsernameDownloadSettingsCredentials',
      model_properties: {
        bind_dn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'bindDn',
          type: {
            name: 'String'
          }
        },
        bind_password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'bindPassword',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end