Class: Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingSpec
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingSpec
- 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::BackingSpec`` class provides a specification of the physical resource backing a virtual floppy drive.
Instance Attribute Summary (collapse)
-
- (String?) host_device
Name of the device that should be used as the virtual floppy drive backing.
-
- (String) image_file
Path of the image file that should be used as the virtual floppy drive backing.
-
- (Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingType) type
Backing type for the virtual floppy drive.
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)
-
- (BackingSpec) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (BackingSpec) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
3813 3814 3815 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3813 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (String?) host_device
Name of the device that should be used as the virtual floppy drive backing. If nil , the virtual floppy drive will be configured to automatically detect a suitable host device.
3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3786 class BackingSpec < 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.backing_spec', { 'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingType'), 'image_file' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), 'host_device' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), }, BackingSpec, false, nil) end end attr_accessor :type, :image_file, :host_device # 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 |
- (String) image_file
Path of the image file that should be used as the virtual floppy drive backing. This field is optional and it is only relevant when the value of ``type`` is :attr:`Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingType.IMAGE_FILE` .
3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3786 class BackingSpec < 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.backing_spec', { 'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingType'), 'image_file' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), 'host_device' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), }, BackingSpec, false, nil) end end attr_accessor :type, :image_file, :host_device # 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 |
- (Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingType) type
Backing type for the virtual floppy drive.
3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3786 class BackingSpec < 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.backing_spec', { 'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingType'), 'image_file' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), 'host_device' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), }, BackingSpec, false, nil) end end attr_accessor :type, :image_file, :host_device # 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.
3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/vm/hardware.rb', line 3792 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.vcenter.vm.hardware.floppy.backing_spec', { 'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Vcenter::Vm::Hardware::Floppy::BackingType'), 'image_file' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), 'host_device' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), }, BackingSpec, false, nil) end |