class Azure::Storage::Mgmt::V2018_02_01::Models::EncryptionService

A service that allows server-side encryption to be used.

Attributes

enabled[RW]

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

last_enabled_time[RW]

@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.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_service.rb, line 29
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