Class: Com::Vmware::Vcenter::Vm::Hardware::Floppy::UpdateSpec
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Vcenter::Vm::Hardware::Floppy::UpdateSpec
- 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::Floppy::UpdateSpec`` class describes the updates to be made to the configuration of a virtual floppy drive.
Instance Attribute Summary (collapse)
-
- (Object) allow_guest_control
Returns the value of attribute allow_guest_control.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingSpec?) backing
Physical resource backing for the virtual floppy drive.
-
- (Object) start_connected
Returns the value of attribute start_connected.
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)
-
- (UpdateSpec) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (UpdateSpec) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
3935 3936 3937 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3935 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (Object) allow_guest_control
Returns the value of attribute allow_guest_control
3928 3929 3930 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3928 def allow_guest_control @allow_guest_control end |
- (Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingSpec?) backing
Physical resource backing for the virtual floppy drive.
This field may only be modified if the virtual machine is not powered on or the virtual floppy drive is not connected.
If nil , the value is unchanged.
3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3908 class UpdateSpec < 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.floppy.update_spec', { 'backing' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingSpec')), 'start_connected' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::BooleanType.instance), 'allow_guest_control' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::BooleanType.instance), }, UpdateSpec, false, nil) end end attr_accessor :backing, :start_connected, :allow_guest_control # 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 |
- (Object) start_connected
Returns the value of attribute start_connected
3928 3929 3930 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3928 def start_connected @start_connected end |
Class Method Details
+ (VAPI::Bindings::StructType) binding_type
Holds (gets or creates) the binding type metadata for this structure type.
3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3914 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.vcenter.vm.hardware.floppy.update_spec', { 'backing' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingSpec')), 'start_connected' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::BooleanType.instance), 'allow_guest_control' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::BooleanType.instance), }, UpdateSpec, false, nil) end |