class Azure::Compute::Mgmt::V2018_09_30::Models::EncryptionSettingsCollection
Encryption settings for disk or snapshot
Attributes
enabled[RW]
@return [Boolean] Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
encryption_settings[RW]
@return [Array<EncryptionSettingsElement>] A collection of encryption settings, one for each disk volume.
Private Class Methods
mapper()
click to toggle source
Mapper for EncryptionSettingsCollection class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EncryptionSettingsCollection', type: { name: 'Composite', class_name: 'EncryptionSettingsCollection', model_properties: { enabled: { client_side_validation: true, required: true, serialized_name: 'enabled', type: { name: 'Boolean' } }, encryption_settings: { client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EncryptionSettingsElementElementType', type: { name: 'Composite', class_name: 'EncryptionSettingsElement' } } } } } } } end