Sha256: 473eda4025a2b8273d35d2df10ae67f81e43fee38e8f5892bf04a0db23238c57

Contents?: true

Size: 474 Bytes

Versions: 19

Compression:

Stored size: 474 Bytes

Contents

module Fog
  module Vsphere
    class Compute
      class SCSIController < Fog::Model
        attribute :shared_bus
        attribute :type
        attribute :unit_number
        attribute :key, type: :integer
        attribute :server_id

        def initialize(attributes = {})
          super
          self.key ||= 1000
        end

        def to_s
          "#{type} ##{key}: shared: #{shared_bus}, unit_number: #{unit_number}"
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
fog-vsphere-3.6.5 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.6.4 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.6.3 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.6.2 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.5.3 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.6.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.5.2 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.5.1 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.5.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.4.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.3.1 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.3.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.2.5 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.2.2 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.2.1 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.2.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.1.1 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.1.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-3.0.0 lib/fog/vsphere/models/compute/scsicontroller.rb