Class: Azure::Compute::Mgmt::V2020_09_30::Models::Encryption
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_09_30::Models::Encryption
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-09-30/generated/azure_mgmt_compute/models/encryption.rb
Overview
Encryption at rest settings for disk or snapshot
Instance Attribute Summary collapse
-
#disk_encryption_set_id ⇒ String
enabling encryption at rest.
-
#type ⇒ EncryptionType
'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Encryption class as Ruby Hash.
Instance Attribute Details
#disk_encryption_set_id ⇒ String
enabling encryption at rest.
17 18 19 |
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/encryption.rb', line 17 def disk_encryption_set_id @disk_encryption_set_id end |
#type ⇒ EncryptionType
'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'
22 23 24 |
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/encryption.rb', line 22 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for Encryption class as Ruby Hash. This will be used for serialization/deserialization.
29 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/2020-09-30/generated/azure_mgmt_compute/models/encryption.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Encryption', type: { name: 'Composite', class_name: 'Encryption', model_properties: { disk_encryption_set_id: { client_side_validation: true, required: false, serialized_name: 'diskEncryptionSetId', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } } } } } end |