app/models/manageiq/providers/azure/cloud_manager/refresh_parser.rb
# find both OS and SKU if possible, otherwise just the OS type.
find both OS and SKU if possible, otherwise just the OS type.
find both OS and SKU if possible otherwise just the OS type .
def guest_os(instance)
        image_reference = instance.properties.storage_profile.try(:image_reference)
        return instance.properties.storage_profile.os_disk.os_type unless image_reference
        "#{image_reference.offer} #{image_reference.sku.tr('-', ' ')}"
      end
def guest_os ( instance ) image_reference = instance . properties . storage_profile . try ( :image_reference ) return instance . properties . storage_profile . os_disk . os_type unless image_reference "#{image_reference.offer} #{image_reference.sku.tr('-', ' ')}" end
find both OS and SKU if possible, otherwise just the OS type.
find both OS and SKU if possible otherwise just the OS type .
instance
<not_specific>