Class: Azure::ARM::DataLakeStore::Models::EncryptionConfig

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_datalake_store/models/encryption_config.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#key_vault_meta_infoKeyVaultMetaInfo

user managed encryption keys.

Returns:



23
24
25
# File 'lib/generated/azure_mgmt_datalake_store/models/encryption_config.rb', line 23

def key_vault_meta_info
  @key_vault_meta_info
end

#typeEncryptionConfigType

being used. Currently the only supported types are ‘UserManaged’ and ‘ServiceManaged’. Possible values include: ‘UserManaged’, ‘ServiceManaged’

Returns:



19
20
21
# File 'lib/generated/azure_mgmt_datalake_store/models/encryption_config.rb', line 19

def type
  @type
end

Class Method Details

.mapperObject

Mapper for EncryptionConfig 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
# File 'lib/generated/azure_mgmt_datalake_store/models/encryption_config.rb', line 30

def self.mapper()
  {
    required: false,
    serialized_name: 'EncryptionConfig',
    type: {
      name: 'Composite',
      class_name: 'EncryptionConfig',
      model_properties: {
        type: {
          required: false,
          serialized_name: 'type',
          type: {
            name: 'Enum',
            module: 'EncryptionConfigType'
          }
        },
        key_vault_meta_info: {
          required: false,
          serialized_name: 'keyVaultMetaInfo',
          type: {
            name: 'Composite',
            class_name: 'KeyVaultMetaInfo'
          }
        }
      }
    }
  }
end