Class: Azure::Storage::Mgmt::V2021_01_01::Models::SmbSetting

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2021-01-01/generated/azure_mgmt_storage/models/smb_setting.rb

Overview

Setting for SMB protocol

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#authentication_methodsString

values are NTLMv2, Kerberos. Should be passed as a string with delimiter ‘;’.

Returns:

  • (String)

    SMB authentication methods supported by server. Valid



27
28
29
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/smb_setting.rb', line 27

def authentication_methods
  @authentication_methods
end

#channel_encryptionString

values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ‘;’.

Returns:

  • (String)

    SMB channel encryption supported by server. Valid



37
38
39
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/smb_setting.rb', line 37

def channel_encryption
  @channel_encryption
end

#kerberos_ticket_encryptionString

values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ‘;’

Returns:

  • (String)

    Kerberos ticket encryption supported by server. Valid



32
33
34
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/smb_setting.rb', line 32

def kerberos_ticket_encryption
  @kerberos_ticket_encryption
end

#multichannelMultichannel

FileStorage only.

Returns:

  • (Multichannel)

    Multichannel setting. Applies to Premium



17
18
19
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/smb_setting.rb', line 17

def multichannel
  @multichannel
end

#versionsString

values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ‘;’.

Returns:

  • (String)

    SMB protocol versions supported by server. Valid



22
23
24
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/smb_setting.rb', line 22

def versions
  @versions
end

Class Method Details

.mapperObject

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



44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/smb_setting.rb', line 44

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SmbSetting',
    type: {
      name: 'Composite',
      class_name: 'SmbSetting',
      model_properties: {
        multichannel: {
          client_side_validation: true,
          required: false,
          serialized_name: 'multichannel',
          type: {
            name: 'Composite',
            class_name: 'Multichannel'
          }
        },
        versions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'versions',
          type: {
            name: 'String'
          }
        },
        authentication_methods: {
          client_side_validation: true,
          required: false,
          serialized_name: 'authenticationMethods',
          type: {
            name: 'String'
          }
        },
        kerberos_ticket_encryption: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kerberosTicketEncryption',
          type: {
            name: 'String'
          }
        },
        channel_encryption: {
          client_side_validation: true,
          required: false,
          serialized_name: 'channelEncryption',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end