Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Authentication

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/models/authentication.rb

Overview

Authentication mechanism for IoT devices.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#symmetric_keySymmetricKey

Returns Symmetric key for authentication.

Returns:



16
17
18
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/authentication.rb', line 16

def symmetric_key
  @symmetric_key
end

Class Method Details

.mapperObject

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



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/authentication.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Authentication',
    type: {
      name: 'Composite',
      class_name: 'Authentication',
      model_properties: {
        symmetric_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'symmetricKey',
          type: {
            name: 'Composite',
            class_name: 'SymmetricKey'
          }
        }
      }
    }
  }
end