class Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage

Contains the data disk images information.

Attributes

lun[RW]

@return [Integer] Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.

Private Class Methods

mapper() click to toggle source

Mapper for DataDiskImage class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb, line 25
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DataDiskImage',
    type: {
      name: 'Composite',
      class_name: 'DataDiskImage',
      model_properties: {
        lun: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lun',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end