Class: Com::Vmware::Vcenter::Vm::Hardware::SataAddressInfo
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Vcenter::Vm::Hardware::SataAddressInfo
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb
Overview
The ``Com::Vmware::Vcenter::Vm::Hardware::SataAddressInfo`` class contains information about the address of a virtual device that is attached to a virtual SATA adapter of a virtual machine.
Instance Attribute Summary (collapse)
-
- (Fixnum) bus
Bus number of the adapter to which the device is attached.
-
- (Fixnum) unit
Unit number of the device.
Class Method Summary (collapse)
-
+ (VAPI::Bindings::StructType) binding_type
Holds (gets or creates) the binding type metadata for this structure type.
Instance Method Summary (collapse)
-
- (SataAddressInfo) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (SataAddressInfo) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
5901 5902 5903 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 5901 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (Fixnum) bus
Bus number of the adapter to which the device is attached.
5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 5876 class SataAddressInfo < VAPI::Bindings::VapiStruct class << self # Holds (gets or creates) the binding type metadata for this structure type. # @scope class # @return [VAPI::Bindings::StructType] the binding type def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.vcenter.vm.hardware.sata_address_info', { 'bus' => VAPI::Bindings::IntegerType.instance, 'unit' => VAPI::Bindings::IntegerType.instance, }, SataAddressInfo, false, nil) end end attr_accessor :bus, :unit # Constructs a new instance. # @param ruby_values [Hash] a map of initial property values (optional) # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional) def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end end |
- (Fixnum) unit
Unit number of the device.
5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 5876 class SataAddressInfo < VAPI::Bindings::VapiStruct class << self # Holds (gets or creates) the binding type metadata for this structure type. # @scope class # @return [VAPI::Bindings::StructType] the binding type def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.vcenter.vm.hardware.sata_address_info', { 'bus' => VAPI::Bindings::IntegerType.instance, 'unit' => VAPI::Bindings::IntegerType.instance, }, SataAddressInfo, false, nil) end end attr_accessor :bus, :unit # Constructs a new instance. # @param ruby_values [Hash] a map of initial property values (optional) # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional) def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end end |
Class Method Details
+ (VAPI::Bindings::StructType) binding_type
Holds (gets or creates) the binding type metadata for this structure type.
5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 5882 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.vcenter.vm.hardware.sata_address_info', { 'bus' => VAPI::Bindings::IntegerType.instance, 'unit' => VAPI::Bindings::IntegerType.instance, }, SataAddressInfo, false, nil) end |