Sha256: f26180776c680511d0414664fd9d75d3c4ab9322371b80eacf236dd1e1a26c98

Contents?: true

Size: 1.65 KB

Versions: 5

Compression:

Stored size: 1.65 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::V2019_12_01
  module Models
    #
    # This is the OS disk image.
    #
    class GalleryOSDiskImage < GalleryDiskImage

      include MsRestAzure


      #
      # Mapper for GalleryOSDiskImage class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'GalleryOSDiskImage',
          type: {
            name: 'Composite',
            class_name: 'GalleryOSDiskImage',
            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,
                serialized_name: 'hostCaching',
                type: {
                  name: 'Enum',
                  module: 'HostCaching'
                }
              },
              source: {
                client_side_validation: true,
                required: false,
                serialized_name: 'source',
                type: {
                  name: 'Composite',
                  class_name: 'GalleryArtifactVersionSource'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb
azure_mgmt_compute-0.21.1 lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb
azure_mgmt_compute-0.20.0 lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb
azure_mgmt_compute-0.19.3 lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb
azure_mgmt_compute-0.19.2 lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb