Sha256: afe4fa8e77c3a7edd65051587450d89e62cff3b5eb9fae7c56ec63c5f8aee48a

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 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 os disk image information.
    #
    class OSDiskImage

      include MsRestAzure

      # @return [OperatingSystemTypes] The operating system of the osDiskImage.
      # Possible values include: 'Windows', 'Linux'
      attr_accessor :operating_system


      #
      # Mapper for OSDiskImage class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'OSDiskImage',
          type: {
            name: 'Composite',
            class_name: 'OSDiskImage',
            model_properties: {
              operating_system: {
                required: true,
                serialized_name: 'operatingSystem',
                type: {
                  name: 'Enum',
                  module: 'OperatingSystemTypes'
                }
              }
            }
          }
        }
      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/osdisk_image.rb
azure_mgmt_compute-0.15.0 lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb