Class: Com::Vmware::Vcenter::Vm::Hardware::Adapter::Scsi
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Vcenter::Vm::Hardware::Adapter::Scsi
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb
Overview
The ``Com::Vmware::Vcenter::Vm::Hardware::Adapter::Scsi`` class provides methods for configuring the virtual SCSI adapters of a virtual machine.
Defined Under Namespace
Classes: CreateSpec, Info, Sharing, Summary, Type, UpdateSpec
Constant Summary
- RESOURCE_TYPE =
'com.vmware.vcenter.vm.hardware.ScsiAdapter'
Instance Method Summary (collapse)
-
- (String) create(vm, spec)
Adds a virtual SCSI adapter to the virtual machine.
-
- (Void) delete(vm, adapter)
Removes a virtual SCSI adapter from the virtual machine.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Adapter::Scsi::Info) get(vm, adapter)
Returns information about a virtual SCSI adapter.
-
- (Scsi) initialize(config)
constructor
Constructs a new instance.
-
- (Array<Com::Vmware::Vcenter::Vm::Hardware::Adapter::Scsi::Summary>) list(vm)
Returns commonly used information about the virtual SCSI adapters belonging to the virtual machine.
-
- (Void) update(vm, adapter, spec)
Updates the configuration of a virtual SCSI adapter.
Constructor Details
- (Scsi) initialize(config)
Constructs a new instance.
565 566 567 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 565 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (String) create(vm, spec)
Adds a virtual SCSI adapter to the virtual machine.
659 660 661 662 663 664 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 659 def create(vm, spec) invoke_with_info(@@create_info, { 'vm' => vm, 'spec' => spec, }) end |
- (Void) delete(vm, adapter)
Removes a virtual SCSI adapter from the virtual machine.
724 725 726 727 728 729 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 724 def delete(vm, adapter) invoke_with_info(@@delete_info, { 'vm' => vm, 'adapter' => adapter, }) end |
- (Com::Vmware::Vcenter::Vm::Hardware::Adapter::Scsi::Info) get(vm, adapter)
Returns information about a virtual SCSI adapter.
617 618 619 620 621 622 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 617 def get(vm, adapter) invoke_with_info(@@get_info, { 'vm' => vm, 'adapter' => adapter, }) end |
- (Array<Com::Vmware::Vcenter::Vm::Hardware::Adapter::Scsi::Summary>) list(vm)
Returns commonly used information about the virtual SCSI adapters belonging to the virtual machine.
590 591 592 593 594 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 590 def list(vm) invoke_with_info(@@list_info, { 'vm' => vm, }) end |
- (Void) update(vm, adapter, spec)
Updates the configuration of a virtual SCSI adapter.
692 693 694 695 696 697 698 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 692 def update(vm, adapter, spec) invoke_with_info(@@update_info, { 'vm' => vm, 'adapter' => adapter, 'spec' => spec, }) end |