class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::GalleryImageReference

The reference information for an Azure Marketplace image.

Attributes

offer[RW]

@return [String] The offer of the gallery image.

os_type[RW]

@return [String] The OS type of the gallery image.

publisher[RW]

@return [String] The publisher of the gallery image.

sku[RW]

@return [String] The SKU of the gallery image.

version[RW]

@return [String] The version of the gallery image.

Private Class Methods

mapper() click to toggle source

Mapper for GalleryImageReference class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GalleryImageReference',
    type: {
      name: 'Composite',
      class_name: 'GalleryImageReference',
      model_properties: {
        offer: {
          client_side_validation: true,
          required: false,
          serialized_name: 'offer',
          type: {
            name: 'String'
          }
        },
        publisher: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publisher',
          type: {
            name: 'String'
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'String'
          }
        },
        os_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'osType',
          type: {
            name: 'String'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'version',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end