Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SymmetricKey

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

Overview

Symmetric key for authentication.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#connection_stringAsymmetricEncryptedSecret

symmetric key.

Returns:



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

def connection_string
  @connection_string
end

Class Method Details

.mapperObject

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



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

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SymmetricKey',
    type: {
      name: 'Composite',
      class_name: 'SymmetricKey',
      model_properties: {
        connection_string: {
          client_side_validation: true,
          required: false,
          serialized_name: 'connectionString',
          type: {
            name: 'Composite',
            class_name: 'AsymmetricEncryptedSecret'
          }
        }
      }
    }
  }
end