Sha256: 711168cdf31fcd424fab9ac8f233797fa59d252fbb7d18a551406b313ecccd2c

Contents?: true

Size: 477 Bytes

Versions: 21

Compression:

Stored size: 477 Bytes

Contents

module Fog
  module Compute
    class Vsphere
      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

21 entries across 21 versions & 1 rubygems

Version Path
fog-vsphere-2.1.1 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-2.1.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-2.0.1 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-2.0.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.13.1 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.13.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.12.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.11.3 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.11.2 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.11.1 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.11.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.10.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.9.2 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.9.1 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.9.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.8.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.7.1 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.7.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.6.0 lib/fog/vsphere/models/compute/scsicontroller.rb
fog-vsphere-1.5.2 lib/fog/vsphere/models/compute/scsicontroller.rb