Class: Azure::Compute::Mgmt::V2020_12_01::Models::DiskEncryptionSettings
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::DiskEncryptionSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb
Overview
Describes a Encryption Settings for a Disk
Instance Attribute Summary collapse
-
#disk_encryption_key ⇒ KeyVaultSecretReference
encryption key, which is a Key Vault Secret.
-
#enabled ⇒ Boolean
on the virtual machine.
-
#key_encryption_key ⇒ KeyVaultKeyReference
encryption key in Key Vault.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DiskEncryptionSettings class as Ruby Hash.
Instance Attribute Details
#disk_encryption_key ⇒ KeyVaultSecretReference
encryption key, which is a Key Vault Secret.
17 18 19 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb', line 17 def disk_encryption_key @disk_encryption_key end |
#enabled ⇒ Boolean
on the virtual machine.
25 26 27 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb', line 25 def enabled @enabled end |
#key_encryption_key ⇒ KeyVaultKeyReference
encryption key in Key Vault.
21 22 23 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb', line 21 def key_encryption_key @key_encryption_key end |
Class Method Details
.mapper ⇒ Object
Mapper for DiskEncryptionSettings class as Ruby Hash. This will be used for serialization/deserialization.
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 69 70 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { name: 'Composite', class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { name: 'Composite', class_name: 'KeyVaultSecretReference' } }, key_encryption_key: { client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { name: 'Composite', class_name: 'KeyVaultKeyReference' } }, enabled: { client_side_validation: true, required: false, serialized_name: 'enabled', type: { name: 'Boolean' } } } } } end |