Sha256: baf95658145b5ec0480552b23106e797784ef3448e13b42ae8a7373076032fa5

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

Stored size: 1.66 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::DataLakeStore
  module Models
    #
    # The encryption configuration for the account.
    #
    class EncryptionConfig

      include MsRestAzure

      # @return [EncryptionConfigType] The type of encryption configuration
      # being used. Currently the only supported types are 'UserManaged' and
      # 'ServiceManaged'. Possible values include: 'UserManaged',
      # 'ServiceManaged'
      attr_accessor :type

      # @return [KeyVaultMetaInfo] The Key Vault information for connecting to
      # user managed encryption keys.
      attr_accessor :key_vault_meta_info


      #
      # Mapper for EncryptionConfig class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'EncryptionConfig',
          type: {
            name: 'Composite',
            class_name: 'EncryptionConfig',
            model_properties: {
              type: {
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'Enum',
                  module: 'EncryptionConfigType'
                }
              },
              key_vault_meta_info: {
                required: false,
                serialized_name: 'keyVaultMetaInfo',
                type: {
                  name: 'Composite',
                  class_name: 'KeyVaultMetaInfo'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_datalake_store-0.14.0 lib/generated/azure_mgmt_datalake_store/models/encryption_config.rb