Class: Com::Vmware::Vcenter::Vm::Hardware::Adapter::Sata
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Vcenter::Vm::Hardware::Adapter::Sata
- 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::Sata`` class provides methods for configuring the virtual SATA adapters of a virtual machine.
Defined Under Namespace
Classes: CreateSpec, Info, Summary, Type
Constant Summary
- RESOURCE_TYPE =
'com.vmware.vcenter.vm.hardware.SataAdapter'
Instance Method Summary (collapse)
-
- (String) create(vm, spec)
Adds a virtual SATA adapter to the virtual machine.
-
- (Void) delete(vm, adapter)
Removes a virtual SATA adapter from the virtual machine.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Adapter::Sata::Info) get(vm, adapter)
Returns information about a virtual SATA adapter.
-
- (Sata) initialize(config)
constructor
Constructs a new instance.
-
- (Array<Com::Vmware::Vcenter::Vm::Hardware::Adapter::Sata::Summary>) list(vm)
Returns commonly used information about the virtual SATA adapters belonging to the virtual machine.
Constructor Details
- (Sata) initialize(config)
Constructs a new instance.
128 129 130 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 128 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (String) create(vm, spec)
Adds a virtual SATA adapter to the virtual machine.
222 223 224 225 226 227 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 222 def create(vm, spec) invoke_with_info(@@create_info, { 'vm' => vm, 'spec' => spec, }) end |
- (Void) delete(vm, adapter)
Removes a virtual SATA adapter from the virtual machine.
253 254 255 256 257 258 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 253 def delete(vm, adapter) invoke_with_info(@@delete_info, { 'vm' => vm, 'adapter' => adapter, }) end |
- (Com::Vmware::Vcenter::Vm::Hardware::Adapter::Sata::Info) get(vm, adapter)
Returns information about a virtual SATA adapter.
180 181 182 183 184 185 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 180 def get(vm, adapter) invoke_with_info(@@get_info, { 'vm' => vm, 'adapter' => adapter, }) end |
- (Array<Com::Vmware::Vcenter::Vm::Hardware::Adapter::Sata::Summary>) list(vm)
Returns commonly used information about the virtual SATA adapters belonging to the virtual machine.
153 154 155 156 157 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware/adapter.rb', line 153 def list(vm) invoke_with_info(@@list_info, { 'vm' => vm, }) end |