Sha256: 81439e81df9ded63227d08978e144fbdb3f270539df41e6122286470880ae60b

Contents?: true

Size: 1.94 KB

Versions: 12

Compression:

Stored size: 1.94 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::V2018_06_01
  module Models
    #
    # This is the data disk image.
    #
    class GalleryDataDiskImage < GalleryDiskImage

      include MsRestAzure

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


      #
      # Mapper for GalleryDataDiskImage class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'GalleryDataDiskImage',
          type: {
            name: 'Composite',
            class_name: 'GalleryDataDiskImage',
            model_properties: {
              size_in_gb: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'sizeInGB',
                type: {
                  name: 'Number'
                }
              },
              host_caching: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'hostCaching',
                type: {
                  name: 'Enum',
                  module: 'HostCaching'
                }
              },
              lun: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'lun',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.21.1 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.20.0 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.19.3 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.19.2 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.19.1 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.19.0 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.18.7 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.18.6 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.18.5 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.18.4 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb
azure_mgmt_compute-0.18.3 lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb