Class: Com::Vmware::Vcenter::Vm::Hardware::IdeAddressSpec
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Vcenter::Vm::Hardware::IdeAddressSpec
- 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::IdeAddressSpec`` class contains information for specifying the address of a virtual device that is attached to a virtual IDE adapter of a virtual machine.
Instance Attribute Summary (collapse)
-
- (Boolean?) master
Flag specifying whether the device should be the master or slave device on the IDE adapter.
-
- (Boolean?) primary
Flag specifying whether the device should be attached to the primary or secondary IDE adapter of the virtual machine.
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)
-
- (IdeAddressSpec) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (IdeAddressSpec) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
5941 5942 5943 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 5941 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (Boolean?) master
Flag specifying whether the device should be the master or slave device on the IDE adapter. If nil , the server will choose an available connection type. If no IDE connections are available, the request will be rejected.
5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 5916 class IdeAddressSpec < 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.ide_address_spec', { 'primary' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::BooleanType.instance), 'master' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::BooleanType.instance), }, IdeAddressSpec, false, nil) end end attr_accessor :primary, :master # 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 |
- (Boolean?) primary
Flag specifying whether the device should be attached to the primary or secondary IDE adapter of the virtual machine. If nil , the server will choose a adapter with an available connection. If no IDE connections are available, the request will be rejected.
5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 5916 class IdeAddressSpec < 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.ide_address_spec', { 'primary' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::BooleanType.instance), 'master' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::BooleanType.instance), }, IdeAddressSpec, false, nil) end end attr_accessor :primary, :master # 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.
5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 5922 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.vcenter.vm.hardware.ide_address_spec', { 'primary' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::BooleanType.instance), 'master' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::BooleanType.instance), }, IdeAddressSpec, false, nil) end |