Class: Fog::Vsphere::Compute::SCSIController
- Inherits:
-
Model
- Object
- Model
- Fog::Vsphere::Compute::SCSIController
- Defined in:
- lib/fog/vsphere/models/compute/scsicontroller.rb
Constant Summary collapse
- DEFAULT_KEY =
1000
- DEFAULT_TYPE =
"VirtualLsiLogicController".freeze
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SCSIController
constructor
A new instance of SCSIController.
- #to_s ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ SCSIController
Returns a new instance of SCSIController.
14 15 16 17 18 |
# File 'lib/fog/vsphere/models/compute/scsicontroller.rb', line 14 def initialize(attributes = {}) super self.key ||= DEFAULT_KEY self.type ||= DEFAULT_TYPE end |
Instance Method Details
#to_s ⇒ Object
20 21 22 |
# File 'lib/fog/vsphere/models/compute/scsicontroller.rb', line 20 def to_s "#{type} ##{key}: shared: #{shared_bus}, unit_number: #{unit_number}" end |