Sha256: f5ce2ef7014eb8672457aa96fccafd40586bb9f1d5ba1c42a690f031f013aeaf

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2017_03_30
  module Models
    #
    # Contains the data disk images information.
    #
    class DataDiskImage

      include MsRestAzure

      # @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.
      attr_accessor :lun


      #
      # Mapper for DataDiskImage class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'DataDiskImage',
          type: {
            name: 'Composite',
            class_name: 'DataDiskImage',
            model_properties: {
              lun: {
                required: false,
                read_only: true,
                serialized_name: 'lun',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.15.1 lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb
azure_mgmt_compute-0.15.0 lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb