Class: Azure::Compute::Mgmt::V2018_09_30::Models::EncryptionSettingsCollection
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_09_30::Models::EncryptionSettingsCollection
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb
Overview
Encryption settings for disk or snapshot
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
and optional KeyEncryptionKey to enable encryption.
-
#encryption_settings ⇒ Array<EncryptionSettingsElement>
settings, one for each disk volume.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EncryptionSettingsCollection class as Ruby Hash.
Instance Attribute Details
#enabled ⇒ Boolean
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.
20 21 22 |
# File 'lib/2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb', line 20 def enabled @enabled end |
#encryption_settings ⇒ Array<EncryptionSettingsElement>
settings, one for each disk volume.
24 25 26 |
# File 'lib/2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb', line 24 def encryption_settings @encryption_settings end |
Class Method Details
.mapper ⇒ Object
Mapper for EncryptionSettingsCollection class as Ruby Hash. This will be used for serialization/deserialization.
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 60 61 62 63 64 65 66 67 68 |
# File 'lib/2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb', line 31 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 |