Class: Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionService
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionService
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb
Overview
A service that allows server-side encryption to be used.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
encrypts the data as it is stored.
-
#last_enabled_time ⇒ DateTime
encryption was last enabled by the user.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EncryptionService class as Ruby Hash.
Instance Attribute Details
#enabled ⇒ Boolean
encrypts the data as it is stored.
17 18 19 |
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb', line 17 def enabled @enabled end |
#last_enabled_time ⇒ DateTime
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.
23 24 25 |
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb', line 23 def last_enabled_time @last_enabled_time end |
Class Method Details
.mapper ⇒ Object
Mapper for EncryptionService 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 58 59 |
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb', line 30 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 |