Sha256: 5c17defc07b718e915ebb32141d875332795401ec26af91bc5b7168a361714bb

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 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::ARM::Compute
  module Models
    #
    # Contains the data disk images information.
    #
    class DataDiskImage

      include MsRestAzure

      include MsRest::JSONable
      # @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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.13.0 lib/generated/azure_mgmt_compute/models/data_disk_image.rb