Sha256: 0a6dff00a04449c9525a7caba201fb7ba34e48b87cbce29428b8dd167a97d399

Contents?: true

Size: 1.8 KB

Versions: 27

Compression:

Stored size: 1.8 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::Storage::Mgmt::V2018_03_01_preview
  module Models
    #
    # A service that allows server-side encryption to be used.
    #
    class EncryptionService

      include MsRestAzure

      # @return [Boolean] A boolean indicating whether or not the service
      # encrypts the data as it is stored.
      attr_accessor :enabled

      # @return [DateTime] Gets a rough estimate of the date/time when the
      # encryption was last enabled by the user. Only returned when encryption
      # is enabled. There might be some unencrypted blobs which were written
      # after this time, as it is just a rough estimate.
      attr_accessor :last_enabled_time


      #
      # Mapper for EncryptionService class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EncryptionService',
          type: {
            name: 'Composite',
            class_name: 'EncryptionService',
            model_properties: {
              enabled: {
                client_side_validation: true,
                required: false,
                serialized_name: 'enabled',
                type: {
                  name: 'Boolean'
                }
              },
              last_enabled_time: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'lastEnabledTime',
                type: {
                  name: 'DateTime'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.22.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.21.2 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.21.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.21.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.20.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.20.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.19.3 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.19.2 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.19.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.19.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.18.2 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.18.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.18.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.17.10 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.17.9 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.17.8 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.17.7 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.17.6 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.17.5 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb