Class: Azure::Compute::Mgmt::V2020_09_30_preview::Models::DataDiskImageEncryption
- Inherits:
-
DiskImageEncryption
- Object
- DiskImageEncryption
- Azure::Compute::Mgmt::V2020_09_30_preview::Models::DataDiskImageEncryption
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-09-30-preview/generated/azure_mgmt_compute/models/data_disk_image_encryption.rb
Overview
Contains encryption settings for a data disk image.
Instance Attribute Summary collapse
-
#lun ⇒ Integer
the data disk.
Attributes inherited from DiskImageEncryption
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DataDiskImageEncryption class as Ruby Hash.
Instance Attribute Details
#lun ⇒ Integer
the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
19 20 21 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/data_disk_image_encryption.rb', line 19 def lun @lun end |
Class Method Details
.mapper ⇒ Object
Mapper for DataDiskImageEncryption class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 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 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/data_disk_image_encryption.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DataDiskImageEncryption', type: { name: 'Composite', class_name: 'DataDiskImageEncryption', model_properties: { disk_encryption_set_id: { client_side_validation: true, required: false, serialized_name: 'diskEncryptionSetId', type: { name: 'String' } }, lun: { client_side_validation: true, required: true, serialized_name: 'lun', type: { name: 'Number' } } } } } end |