class Azure::Compute::Mgmt::V2019_12_01::Models::DataDiskImageEncryption
Contains encryption settings for a data disk image.
Attributes
lun[RW]
@return [Integer] This property specifies the logical unit number of 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.
Private Class Methods
mapper()
click to toggle source
Mapper for DataDiskImageEncryption
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-12-01/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