Class: VBox::Machine
- Inherits:
-
Base
- Object
- Base
- VBox::Machine
show all
- Defined in:
- lib/virtualbox/classes/machine.rb
Instance Attribute Summary
Attributes inherited from Base
#ref
Instance Method Summary
collapse
Methods inherited from Base
#_this, #delete!, #ensure_hash, #initialize, #vbox_class
Constructor Details
This class inherits a constructor from VBox::Base
Instance Method Details
#accelerate_2d_video_enabled ⇒ Object
142
143
144
|
# File 'lib/virtualbox/classes/machine.rb', line 142
def accelerate_2d_video_enabled
VBox::WebService.send_request(:i_machine_get_accelerate_2d_video_enabled, _this)
end
|
#accelerate_2d_video_enabled=(accelerate_2d_video_enabled) ⇒ Object
146
147
148
149
|
# File 'lib/virtualbox/classes/machine.rb', line 146
def accelerate_2d_video_enabled=(accelerate_2d_video_enabled)
VBox::WebService.send_request(:i_machine_set_accelerate_2d_video_enabled,
_this.merge(:accelerate_2d_video_enabled => accelerate_2d_video_enabled))
end
|
#accelerate_3d_enabled ⇒ Object
133
134
135
|
# File 'lib/virtualbox/classes/machine.rb', line 133
def accelerate_3d_enabled
VBox::WebService.send_request(:i_machine_get_accelerate_3d_enabled, _this)
end
|
#accelerate_3d_enabled=(accelerate_3d_enabled) ⇒ Object
137
138
139
140
|
# File 'lib/virtualbox/classes/machine.rb', line 137
def accelerate_3d_enabled=(accelerate_3d_enabled)
VBox::WebService.send_request(:i_machine_set_accelerate_3d_enabled,
_this.merge(:accelerate_3d_enabled => accelerate_3d_enabled))
end
|
#accessible ⇒ Object
11
12
13
|
# File 'lib/virtualbox/classes/machine.rb', line 11
def accessible
VBox::WebService.send_request(:i_machine_get_accessible, _this)
end
|
#add_storage_controller(args = {}) ⇒ Object
548
549
550
551
552
|
# File 'lib/virtualbox/classes/machine.rb', line 548
def add_storage_controller(args={})
ensure_hash args
storage_controller = VBox::WebService.send_request(:i_machine_add_storage_controller, _this.merge(args))
VBox::StorageController.new(storage_controller)
end
|
#allow_tracing_to_access_vm ⇒ Object
512
513
514
|
# File 'lib/virtualbox/classes/machine.rb', line 512
def allow_tracing_to_access_vm
VBox::WebService.send_request(:i_machine_get_allow_tracing_to_access_vm, _this)
end
|
#allow_tracing_to_access_vm=(allow_tracing_to_access_vm) ⇒ Object
516
517
518
519
|
# File 'lib/virtualbox/classes/machine.rb', line 516
def allow_tracing_to_access_vm=(allow_tracing_to_access_vm)
VBox::WebService.send_request(:i_machine_set_allow_tracing_to_access_vm,
_this.merge(:allow_tracing_to_access_vm => allow_tracing_to_access_vm))
end
|
#attach_device(args = {}) ⇒ Object
554
555
556
557
558
|
# File 'lib/virtualbox/classes/machine.rb', line 554
def attach_device(args={})
ensure_hash args
args.referize! :medium
VBox::WebService.send_request(:i_machine_attach_device, _this.merge(args))
end
|
#attach_device_without_medium(args = {}) ⇒ Object
560
561
562
563
|
# File 'lib/virtualbox/classes/machine.rb', line 560
def attach_device_without_medium(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_attach_device_without_medium, _this.merge(args))
end
|
#attach_host_pci_device(args = {}) ⇒ Object
565
566
567
568
|
# File 'lib/virtualbox/classes/machine.rb', line 565
def attach_host_pci_device(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_attach_host_pci_device, _this.merge(args))
end
|
#autostart_delay ⇒ Object
530
531
532
|
# File 'lib/virtualbox/classes/machine.rb', line 530
def autostart_delay
VBox::WebService.send_request(:i_machine_get_autostart_delay, _this)
end
|
#autostart_delay=(autostart_delay) ⇒ Object
534
535
536
|
# File 'lib/virtualbox/classes/machine.rb', line 534
def autostart_delay=(autostart_delay)
VBox::WebService.send_request(:i_machine_set_autostart_delay, _this.merge(:autostart_delay => autostart_delay))
end
|
#autostart_enabled ⇒ Object
521
522
523
|
# File 'lib/virtualbox/classes/machine.rb', line 521
def autostart_enabled
VBox::WebService.send_request(:i_machine_get_autostart_enabled, _this)
end
|
#autostart_enabled=(autostart_enabled) ⇒ Object
525
526
527
528
|
# File 'lib/virtualbox/classes/machine.rb', line 525
def autostart_enabled=(autostart_enabled)
VBox::WebService.send_request(:i_machine_set_autostart_enabled,
_this.merge(:autostart_enabled => autostart_enabled))
end
|
#autostop_type ⇒ Object
538
539
540
|
# File 'lib/virtualbox/classes/machine.rb', line 538
def autostop_type
VBox::WebService.send_request(:i_machine_get_autostop_type, _this)
end
|
#autostop_type=(autostop_type) ⇒ Object
542
543
544
|
# File 'lib/virtualbox/classes/machine.rb', line 542
def autostop_type=(autostop_type)
VBox::WebService.send_request(:i_machine_set_autostop_type, _this.merge(:autostop_type => autostop_type))
end
|
#bandwidth_control ⇒ Object
#can_show_console_window(args = {}) ⇒ Object
570
571
572
573
|
# File 'lib/virtualbox/classes/machine.rb', line 570
def can_show_console_window(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_can_show_console_window, _this.merge(args))
end
|
#chipset_type ⇒ Object
235
236
237
|
# File 'lib/virtualbox/classes/machine.rb', line 235
def chipset_type
VBox::WebService.send_request(:i_machine_get_chipset_type, _this)
end
|
#chipset_type=(chipset_type) ⇒ Object
239
240
241
|
# File 'lib/virtualbox/classes/machine.rb', line 239
def chipset_type=(chipset_type)
VBox::WebService.send_request(:i_machine_set_chipset_type, _this.merge(:chipset_type => chipset_type))
end
|
#clipboard_mode ⇒ Object
355
356
357
|
# File 'lib/virtualbox/classes/machine.rb', line 355
def clipboard_mode
VBox::WebService.send_request(:i_machine_get_clipboard_mode, _this)
end
|
#clipboard_mode=(clipboard_mode) ⇒ Object
359
360
361
|
# File 'lib/virtualbox/classes/machine.rb', line 359
def clipboard_mode=(clipboard_mode)
VBox::WebService.send_request(:i_machine_set_clipboard_mode, _this.merge(:clipboard_mode => clipboard_mode))
end
|
#clone_to(args = {}) ⇒ Object
575
576
577
578
579
580
|
# File 'lib/virtualbox/classes/machine.rb', line 575
def clone_to(args={})
ensure_hash args
args.referize! :target
progress = VBox::WebService.send_request(:i_machine_clone_to, _this.merge(args))
VBox::Progress.new(progress)
end
|
#cpu_count ⇒ Object
73
74
75
|
# File 'lib/virtualbox/classes/machine.rb', line 73
def cpu_count
VBox::WebService.send_request(:i_machine_get_cpu_count, _this)
end
|
#cpu_count=(cpu_count) ⇒ Object
77
78
79
|
# File 'lib/virtualbox/classes/machine.rb', line 77
def cpu_count=(cpu_count)
VBox::WebService.send_request(:i_machine_set_cpu_count, _this.merge('CPUCount' => cpu_count))
end
|
#cpu_execution_cap ⇒ Object
90
91
92
|
# File 'lib/virtualbox/classes/machine.rb', line 90
def cpu_execution_cap
VBox::WebService.send_request(:i_machine_get_cpu_execution_cap, _this)
end
|
#cpu_execution_cap=(cpu_execution_cap) ⇒ Object
94
95
96
97
|
# File 'lib/virtualbox/classes/machine.rb', line 94
def cpu_execution_cap=(cpu_execution_cap)
VBox::WebService.send_request(:i_machine_set_cpu_execution_cap,
_this.merge('CPUExecutionCap' => cpu_execution_cap))
end
|
#cpu_hot_plug_enabled ⇒ Object
81
82
83
|
# File 'lib/virtualbox/classes/machine.rb', line 81
def cpu_hot_plug_enabled
VBox::WebService.send_request(:i_machine_get_cpu_hot_plug_enabled, _this)
end
|
#cpu_hot_plug_enabled=(cpu_hot_plug_enabled) ⇒ Object
85
86
87
88
|
# File 'lib/virtualbox/classes/machine.rb', line 85
def cpu_hot_plug_enabled=(cpu_hot_plug_enabled)
VBox::WebService.send_request(:i_machine_set_cpu_hot_plug_enabled,
_this.merge('CPUHotPlugEnabled' => cpu_hot_plug_enabled))
end
|
#create_shared_folder(args = {}) ⇒ Object
582
583
584
585
|
# File 'lib/virtualbox/classes/machine.rb', line 582
def create_shared_folder(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_create_shared_folder, _this.merge(args))
end
|
#current_snapshot ⇒ Object
335
336
337
338
|
# File 'lib/virtualbox/classes/machine.rb', line 335
def current_snapshot
current_snapshot = VBox::WebService.send_request(:i_machine_get_current_snapshot, _this)
VBox::Snapshot.new(current_snapshot)
end
|
#current_state_modified ⇒ Object
344
345
346
|
# File 'lib/virtualbox/classes/machine.rb', line 344
def current_state_modified
VBox::WebService.send_request(:i_machine_get_current_state_modified, _this)
end
|
#delete(args = {}) ⇒ Object
587
588
589
590
591
592
|
# File 'lib/virtualbox/classes/machine.rb', line 587
def delete(args={})
ensure_hash args
args.referize! :a_media
progress = VBox::WebService.send_request(:i_machine_delete, _this.merge(args))
VBox::Progress.new(progress)
end
|
#delete_guest_property(args = {}) ⇒ Object
594
595
596
597
|
# File 'lib/virtualbox/classes/machine.rb', line 594
def delete_guest_property(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_delete_guest_property, _this.merge(args))
end
|
#description ⇒ Object
28
29
30
|
# File 'lib/virtualbox/classes/machine.rb', line 28
def description
VBox::WebService.send_request(:i_machine_get_description, _this)
end
|
#description=(description) ⇒ Object
32
33
34
|
# File 'lib/virtualbox/classes/machine.rb', line 32
def description=(description)
VBox::WebService.send_request(:i_machine_set_description, _this.merge(:description => description))
end
|
#detach_device(args = {}) ⇒ Object
599
600
601
602
|
# File 'lib/virtualbox/classes/machine.rb', line 599
def detach_device(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_detach_device, _this.merge(args))
end
|
#detach_host_pci_device(args = {}) ⇒ Object
604
605
606
607
|
# File 'lib/virtualbox/classes/machine.rb', line 604
def detach_host_pci_device(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_detach_host_pci_device, _this.merge(args))
end
|
#discard_settings(args = {}) ⇒ Object
609
610
611
612
|
# File 'lib/virtualbox/classes/machine.rb', line 609
def discard_settings(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_discard_settings, _this.merge(args))
end
|
#drag_and_drop_mode ⇒ Object
363
364
365
|
# File 'lib/virtualbox/classes/machine.rb', line 363
def drag_and_drop_mode
VBox::WebService.send_request(:i_machine_get_drag_and_drop_mode, _this)
end
|
#drag_and_drop_mode=(drag_and_drop_mode) ⇒ Object
367
368
369
370
|
# File 'lib/virtualbox/classes/machine.rb', line 367
def drag_and_drop_mode=(drag_and_drop_mode)
VBox::WebService.send_request(:i_machine_set_drag_and_drop_mode,
_this.merge(:drag_and_drop_mode => drag_and_drop_mode))
end
|
#emaulated_usb_card_reader_enabled ⇒ Object
265
266
267
|
# File 'lib/virtualbox/classes/machine.rb', line 265
def emaulated_usb_card_reader_enabled
VBox::WebService.send_request(:i_machine_get_emaulated_usb_card_reader_enabled, _this)
end
|
#emaulated_usb_card_reader_enabled=(emaulated_usb_card_reader_enabled) ⇒ Object
269
270
271
272
273
|
# File 'lib/virtualbox/classes/machine.rb', line 269
def emaulated_usb_card_reader_enabled=(emaulated_usb_card_reader_enabled)
VBox::WebService.send_request(:i_machine_set_emaulated_usb_card_reader_enabled,
_this.merge(:emaulated_usb_card_reader_enabled =>
emaulated_usb_card_reader_enabled))
end
|
#emaulated_usb_webcamera_enabled ⇒ Object
256
257
258
|
# File 'lib/virtualbox/classes/machine.rb', line 256
def emaulated_usb_webcamera_enabled
VBox::WebService.send_request(:i_machine_get_emaulated_usb_webcamera_enabled, _this)
end
|
#emaulated_usb_webcamera_enabled=(emaulated_usb_webcamera_enabled) ⇒ Object
260
261
262
263
|
# File 'lib/virtualbox/classes/machine.rb', line 260
def emaulated_usb_webcamera_enabled=(emaulated_usb_webcamera_enabled)
VBox::WebService.send_request(:i_machine_set_emaulated_usb_webcamera_enabled,
_this.merge(:emaulated_usb_webcamera_enabled => emaulated_usb_webcamera_enabled))
end
|
#enumerate_guest_properties(args = {}) ⇒ Object
614
615
616
617
|
# File 'lib/virtualbox/classes/machine.rb', line 614
def enumerate_guest_properties(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_enumerate_guest_properties, _this.merge(args))
end
|
#export(args = {}) ⇒ Object
619
620
621
622
623
624
|
# File 'lib/virtualbox/classes/machine.rb', line 619
def export(args={})
ensure_hash args
args.referize! :a_appliance
virtual_system_description = VBox::WebService.send_request(:i_machine_export, _this.merge(args))
VBox::VirtualSystemDescription.new(virtual_system_description)
end
|
#fault_tolerance_address ⇒ Object
436
437
438
|
# File 'lib/virtualbox/classes/machine.rb', line 436
def fault_tolerance_address
VBox::WebService.send_request(:i_machine_get_fault_tolerance_address, _this)
end
|
#fault_tolerance_address=(fault_tolerance_address) ⇒ Object
440
441
442
443
|
# File 'lib/virtualbox/classes/machine.rb', line 440
def fault_tolerance_address=(fault_tolerance_address)
VBox::WebService.send_request(:i_machine_set_fault_tolerance_address,
_this.merge(:fault_tolerance_address => fault_tolerance_address))
end
|
#fault_tolerance_password ⇒ Object
445
446
447
|
# File 'lib/virtualbox/classes/machine.rb', line 445
def fault_tolerance_password
VBox::WebService.send_request(:i_machine_get_fault_tolerance_password, _this)
end
|
#fault_tolerance_password=(fault_tolerance_password) ⇒ Object
449
450
451
452
|
# File 'lib/virtualbox/classes/machine.rb', line 449
def fault_tolerance_password=(fault_tolerance_password)
VBox::WebService.send_request(:i_machine_set_fault_tolerance_password,
_this.merge(:fault_tolerance_password => fault_tolerance_password))
end
|
#fault_tolerance_port ⇒ Object
427
428
429
|
# File 'lib/virtualbox/classes/machine.rb', line 427
def fault_tolerance_port
VBox::WebService.send_request(:i_machine_get_fault_tolerance_port, _this)
end
|
#fault_tolerance_port=(fault_tolerance_port) ⇒ Object
431
432
433
434
|
# File 'lib/virtualbox/classes/machine.rb', line 431
def fault_tolerance_port=(fault_tolerance_port)
VBox::WebService.send_request(:i_machine_set_fault_tolerance_port,
_this.merge(:fault_tolerance_port => fault_tolerance_port))
end
|
#fault_tolerance_state ⇒ Object
418
419
420
|
# File 'lib/virtualbox/classes/machine.rb', line 418
def fault_tolerance_state
VBox::WebService.send_request(:i_machine_get_fault_tolerance_state, _this)
end
|
#fault_tolerance_state=(fault_tolerance_state) ⇒ Object
422
423
424
425
|
# File 'lib/virtualbox/classes/machine.rb', line 422
def fault_tolerance_state=(fault_tolerance_state)
VBox::WebService.send_request(:i_machine_set_fault_tolerance_state,
_this.merge(:fault_tolerance_state => fault_tolerance_state))
end
|
#fault_tolerance_sync_interval ⇒ Object
454
455
456
|
# File 'lib/virtualbox/classes/machine.rb', line 454
def fault_tolerance_sync_interval
VBox::WebService.send_request(:i_machine_get_fault_tolerance_sync_interval, _this)
end
|
#fault_tolerance_sync_interval=(fault_tolerance_sync_interval) ⇒ Object
458
459
460
461
|
# File 'lib/virtualbox/classes/machine.rb', line 458
def fault_tolerance_sync_interval=(fault_tolerance_sync_interval)
VBox::WebService.send_request(:i_machine_set_fault_tolerance_sync_interval,
_this.merge(:fault_tolerance_sync_interval => fault_tolerance_sync_interval))
end
|
#find_snapshot(args = {}) ⇒ Object
626
627
628
629
630
|
# File 'lib/virtualbox/classes/machine.rb', line 626
def find_snapshot(args={})
ensure_hash args
snapshot = VBox::WebService.send_request(:i_machine_find_snapshot, _this.merge(args))
VBox::Snapshot.new(snapshot)
end
|
#firmware_type ⇒ Object
200
201
202
203
|
# File 'lib/virtualbox/classes/machine.rb', line 200
def firmware_type
VBox::WebService.send_request(:i_machine_get_firmware_type, _this)
end
|
#firmware_type=(firmware_type) ⇒ Object
205
206
207
|
# File 'lib/virtualbox/classes/machine.rb', line 205
def firmware_type=(firmware_type)
VBox::WebService.send_request(:i_machine_set_firmware_type, _this.merge(:firmware_type => firmware_type))
end
|
#get_boot_order(args = {}) ⇒ Object
632
633
634
635
|
# File 'lib/virtualbox/classes/machine.rb', line 632
def get_boot_order(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_get_boot_order, _this.merge(args))
end
|
#get_cpu_id_leaf(args = {}) ⇒ Object
637
638
639
640
|
# File 'lib/virtualbox/classes/machine.rb', line 637
def get_cpu_id_leaf(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_get_cpu_id_leaf, _this.merge(args))
end
|
#get_cpu_property(args = {}) ⇒ Object
642
643
644
645
|
# File 'lib/virtualbox/classes/machine.rb', line 642
def get_cpu_property(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_get_cpu_property, _this.merge(args))
end
|
#get_cpu_status(args = {}) ⇒ Object
647
648
649
650
|
# File 'lib/virtualbox/classes/machine.rb', line 647
def get_cpu_status(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_get_cpu_status, _this.merge(args))
end
|
652
653
654
655
|
# File 'lib/virtualbox/classes/machine.rb', line 652
def (args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_get_extra_data, _this.merge(args))
end
|
657
658
659
660
|
# File 'lib/virtualbox/classes/machine.rb', line 657
def (args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_get_exrta_data_keys, _this.merge(args))
end
|
#get_guest_property(args = {}) ⇒ Object
662
663
664
665
|
# File 'lib/virtualbox/classes/machine.rb', line 662
def get_guest_property(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_get_guest_property, _this.merge(args))
end
|
#get_guest_property_timestamp(args = {}) ⇒ Object
667
668
669
670
|
# File 'lib/virtualbox/classes/machine.rb', line 667
def get_guest_property_timestamp(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_get_guest_property_timestamp, _this.merge(args))
end
|
#get_guest_property_value(args = {}) ⇒ Object
672
673
674
675
|
# File 'lib/virtualbox/classes/machine.rb', line 672
def get_guest_property_value(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_get_guest_property_value, _this.merge(args))
end
|
#get_hw_virt_ex_property(args = {}) ⇒ Object
677
678
679
680
|
# File 'lib/virtualbox/classes/machine.rb', line 677
def get_hw_virt_ex_property(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_get_hw_virt_ex_property, _this.merge(args))
end
|
#get_medium(args = {}) ⇒ Object
682
683
684
685
686
|
# File 'lib/virtualbox/classes/machine.rb', line 682
def get_medium(args={})
ensure_hash args
medium = VBox::WebService.send_request(:i_machine_get_medium, _this.merge(args))
VBox::Medium.new(medium)
end
|
#get_medium_attachment(args = {}) ⇒ Object
688
689
690
691
692
|
# File 'lib/virtualbox/classes/machine.rb', line 688
def get_medium_attachment(args={})
ensure_hash args
medium_attachment = VBox::WebService.send_request(:i_machine_get_medium_attachment, _this.merge(args))
VBox::Medium.new(medium_attachment)
end
|
#get_medium_attachments_of_controller(args = {}) ⇒ Object
694
695
696
697
698
699
700
701
|
# File 'lib/virtualbox/classes/machine.rb', line 694
def get_medium_attachments_of_controller(args={})
ensure_hash args
medium_attachments_of_controller = VBox::WebService.send_request(:i_machine_get_medium_attachments_of_controller,
_this.merge(args))
medium_attachments_of_controller.to_a.map do |medium_attachment_of_controller|
VBox::Medium.new(medium_attachment_of_controller)
end
end
|
#get_network_adapter(args = {}) ⇒ Object
703
704
705
706
707
|
# File 'lib/virtualbox/classes/machine.rb', line 703
def get_network_adapter(args={})
ensure_hash args
network_adapter = VBox::WebService.send_request(:i_machine_get_network_adapter, _this.merge(args))
VBox::NetworkAdapter.new(network_adapter)
end
|
#get_parallel_port(args = {}) ⇒ Object
709
710
711
712
713
|
# File 'lib/virtualbox/classes/machine.rb', line 709
def get_parallel_port(args={})
ensure_hash args
parallel_port = VBox::WebService.send_request(:i_machine_get_parallel_port, _this.merge(args))
VBox::ParallelPort.new(parallel_port)
end
|
#get_serial_port(args = {}) ⇒ Object
715
716
717
718
719
|
# File 'lib/virtualbox/classes/machine.rb', line 715
def get_serial_port(args={})
ensure_hash args
serial = VBox::WebService.send_request(:i_machine_get_serial_port, _this.merge(args))
VBox::SerialPort.new(serial)
end
|
#get_storage_controller_by_instance(args = {}) ⇒ Object
721
722
723
724
725
726
|
# File 'lib/virtualbox/classes/machine.rb', line 721
def get_storage_controller_by_instance(args={})
ensure_hash args
storage_controller = VBox::WebService.send_request(:i_machine_get_storage_controller_by_instance,
_this.merge(args))
VBox::StorageController.new(storage_controller)
end
|
#get_storage_controller_by_name(args = {}) ⇒ Object
728
729
730
731
732
|
# File 'lib/virtualbox/classes/machine.rb', line 728
def get_storage_controller_by_name(args={})
ensure_hash args
storage_controller = VBox::WebService.send_request(:i_machine_get_storage_controller_by_name, _this.merge(args))
VBox::StorageController.new(storage_controller)
end
|
#groups ⇒ Object
40
41
42
|
# File 'lib/virtualbox/classes/machine.rb', line 40
def groups
VBox::WebService.send_request(:i_machine_get_groups, _this)
end
|
#groups=(groups) ⇒ Object
44
45
46
|
# File 'lib/virtualbox/classes/machine.rb', line 44
def groups=(groups)
VBox::WebService.send_request(:i_machine_set_groups, _this.merge(:groups => groups))
end
|
#guest_property_notification_patterns ⇒ Object
372
373
374
|
# File 'lib/virtualbox/classes/machine.rb', line 372
def guest_property_notification_patterns
VBox::WebService.send_request(:i_machine_get_guest_property_notification_patterns, _this)
end
|
#guest_property_notification_patterns=(guest_property_notification_patterns) ⇒ Object
376
377
378
379
380
|
# File 'lib/virtualbox/classes/machine.rb', line 376
def guest_property_notification_patterns=(guest_property_notification_patterns)
VBox::WebService.send_request(:i_machine_set_guest_property_notification_patterns,
_this.merge(:guest_property_notification_patterns =>
guest_property_notification_patterns))
end
|
#hardware_uuid ⇒ Object
65
66
67
|
# File 'lib/virtualbox/classes/machine.rb', line 65
def hardware_uuid
VBox::WebService.send_request(:i_machine_get_hardware_uuid, _this)
end
|
#hardware_uuid=(hardware_uuid) ⇒ Object
69
70
71
|
# File 'lib/virtualbox/classes/machine.rb', line 69
def hardware_uuid=(hardware_uuid)
VBox::WebService.send_request(:i_machine_set_hardware_uuid, _this.merge(:hardware_uuid => hardware_uuid))
end
|
#hardware_version ⇒ Object
56
57
58
|
# File 'lib/virtualbox/classes/machine.rb', line 56
def hardware_version
VBox::WebService.send_request(:i_machine_get_hardware_version, _this)
end
|
#hardware_version=(hardware_version) ⇒ Object
60
61
62
63
|
# File 'lib/virtualbox/classes/machine.rb', line 60
def hardware_version=(hardware_version)
VBox::WebService.send_request(:i_machine_set_hardware_version,
_this.merge(:hardware_version => hardware_version))
end
|
#hot_plug_cpu(args = {}) ⇒ Object
734
735
736
737
|
# File 'lib/virtualbox/classes/machine.rb', line 734
def hot_plug_cpu(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_hot_plug_cpu, _this.merge(args))
end
|
#hot_unplug_cpu(args = {}) ⇒ Object
739
740
741
742
|
# File 'lib/virtualbox/classes/machine.rb', line 739
def hot_unplug_cpu(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_hot_unplug_cpu, _this.merge(args))
end
|
#hpet_enabled ⇒ Object
227
228
229
|
# File 'lib/virtualbox/classes/machine.rb', line 227
def hpet_enabled
VBox::WebService.send_request(:i_machine_get_hpet_enabled, _this)
end
|
#hpet_enabled=(hpet_enabled) ⇒ Object
231
232
233
|
# File 'lib/virtualbox/classes/machine.rb', line 231
def hpet_enabled=(hpet_enabled)
VBox::WebService.send_request(:i_machine_set_hpet_enabled, _this.merge('HPETEnabled' => hpet_enabled))
end
|
#io_cache_enabled ⇒ Object
471
472
473
|
# File 'lib/virtualbox/classes/machine.rb', line 471
def io_cache_enabled
VBox::WebService.send_request(:i_machine_get_io_cache_enabled, _this)
end
|
#io_cache_enabled=(io_cache_enabled) ⇒ Object
475
476
477
|
# File 'lib/virtualbox/classes/machine.rb', line 475
def io_cache_enabled=(io_cache_enabled)
VBox::WebService.send_request(:i_machine_set_io_cache_enabled, _this.merge('IOCacheEnabled' => io_cache_enabled))
end
|
#io_cache_size ⇒ Object
479
480
481
|
# File 'lib/virtualbox/classes/machine.rb', line 479
def io_cache_size
VBox::WebService.send_request(:i_machine_get_io_cache_size, _this)
end
|
#io_cache_size=(io_cache_size) ⇒ Object
483
484
485
|
# File 'lib/virtualbox/classes/machine.rb', line 483
def io_cache_size=(io_cache_size)
VBox::WebService.send_request(:i_machine_set_io_cache_size, _this.merge('IOCacheSize' => io_cache_size))
end
|
#keyboard_hid_type ⇒ Object
218
219
220
|
# File 'lib/virtualbox/classes/machine.rb', line 218
def keyboard_hid_type
VBox::WebService.send_request(:i_machine_get_keyboard_hid_type, _this)
end
|
#keyboard_hid_type=(keyboard_hid_type) ⇒ Object
222
223
224
225
|
# File 'lib/virtualbox/classes/machine.rb', line 222
def keyboard_hid_type=(keyboard_hid_type)
VBox::WebService.send_request(:i_machine_set_keyboard_hid_type,
_this.merge(:keyboard_hid_type => keyboard_hid_type))
end
|
#last_state_change ⇒ Object
323
324
325
|
# File 'lib/virtualbox/classes/machine.rb', line 323
def last_state_change
VBox::WebService.send_request(:i_machine_get_last_state_change, _this)
end
|
#launch_vm_process(args = {}) ⇒ Object
744
745
746
747
748
749
|
# File 'lib/virtualbox/classes/machine.rb', line 744
def launch_vm_process(args={})
ensure_hash args
args.referize! :session
progress = VBox::WebService.send_request(:i_machine_launch_vm_process, _this.merge(args))
VBox::Progress.new(progress)
end
|
#lock_machine(args = {}) ⇒ Object
751
752
753
754
755
|
# File 'lib/virtualbox/classes/machine.rb', line 751
def lock_machine(args={})
ensure_hash args
args.referize! :session
VBox::WebService.send_request(:i_machine_lock_machine, _this.merge(args))
end
|
#log_folder ⇒ Object
331
332
333
|
# File 'lib/virtualbox/classes/machine.rb', line 331
def log_folder
VBox::WebService.send_request(:i_machine_get_log_folder, _this)
end
|
#medium_attachments ⇒ Object
275
276
277
278
279
280
|
# File 'lib/virtualbox/classes/machine.rb', line 275
def medium_attachments
medium_attachments = VBox::WebService.send_request(:i_machine_get_medium_attachments, _this)
medium_attachments.to_a.map do |medium_attachment|
VBox::MediumAttachment.new(medium_attachment)
end
end
|
#memory_balloon_size ⇒ Object
107
108
109
|
# File 'lib/virtualbox/classes/machine.rb', line 107
def memory_balloon_size
VBox::WebService.send_request(:i_machine_get_memory_balloon_size, _this)
end
|
#memory_balloon_size=(memory_balloon_size) ⇒ Object
111
112
113
114
|
# File 'lib/virtualbox/classes/machine.rb', line 111
def memory_balloon_size=(memory_balloon_size)
VBox::WebService.send_request(:i_machine_set_memory_balloon_size,
_this.merge(:memory_balloon_size => memory_balloon_size))
end
|
#memory_size ⇒ Object
99
100
101
|
# File 'lib/virtualbox/classes/machine.rb', line 99
def memory_size
VBox::WebService.send_request(:i_machine_get_memory_size, _this)
end
|
#memory_size=(memory_size) ⇒ Object
103
104
105
|
# File 'lib/virtualbox/classes/machine.rb', line 103
def memory_size=(memory_size)
VBox::WebService.send_request(:i_machine_set_memory_size, _this.merge(:memory_size => memory_size))
end
|
#monitor_count ⇒ Object
151
152
153
|
# File 'lib/virtualbox/classes/machine.rb', line 151
def monitor_count
VBox::WebService.send_request(:i_machine_get_monitor_count, _this)
end
|
#monitor_count=(monitor_count) ⇒ Object
155
156
157
|
# File 'lib/virtualbox/classes/machine.rb', line 155
def monitor_count=(monitor_count)
VBox::WebService.send_request(:i_machine_set_monitor_count, _this.merge(:monitor_count => monitor_count))
end
|
#mount_medium(args = {}) ⇒ Object
757
758
759
760
761
|
# File 'lib/virtualbox/classes/machine.rb', line 757
def mount_medium(args={})
ensure_hash args
args.referize! :medium
VBox::WebService.send_request(:i_machine_mount_medium, _this.merge(args))
end
|
#name ⇒ Object
20
21
22
|
# File 'lib/virtualbox/classes/machine.rb', line 20
def name
VBox::WebService.send_request(:i_machine_get_name, _this)
end
|
#name=(name) ⇒ Object
24
25
26
|
# File 'lib/virtualbox/classes/machine.rb', line 24
def name=(name)
VBox::WebService.send_request(:i_machine_set_name, _this.merge(:name => name))
end
|
#non_rotational_device(args = {}) ⇒ Object
763
764
765
766
|
# File 'lib/virtualbox/classes/machine.rb', line 763
def non_rotational_device(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_non_rotational_device, _this.merge(args))
end
|
#os_type_id ⇒ Object
48
49
50
|
# File 'lib/virtualbox/classes/machine.rb', line 48
def os_type_id
VBox::WebService.send_request(:i_machine_get_os_type_id, _this)
end
|
#os_type_id=(os_type_id) ⇒ Object
52
53
54
|
# File 'lib/virtualbox/classes/machine.rb', line 52
def os_type_id=(os_type_id)
VBox::WebService.send_request(:i_machine_set_os_type_id, _this.merge('OSTypeId' => os_type_id))
end
|
#page_fusion_enabled ⇒ Object
116
117
118
|
# File 'lib/virtualbox/classes/machine.rb', line 116
def page_fusion_enabled
VBox::WebService.send_request(:i_machine_get_page_fusion_enabled, _this)
end
|
#page_fusion_enabled=(page_fusion_enabled) ⇒ Object
120
121
122
123
|
# File 'lib/virtualbox/classes/machine.rb', line 120
def page_fusion_enabled=(page_fusion_enabled)
VBox::WebService.send_request(:i_machine_set_page_fusion_enabled,
_this.merge(:page_fusion_enabled => page_fusion_enabled))
end
|
#passthrough_device(args = {}) ⇒ Object
768
769
770
771
|
# File 'lib/virtualbox/classes/machine.rb', line 768
def passthrough_device(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_passthrough_device, _this.merge(args))
end
|
#pci_device_assignments ⇒ Object
487
488
489
|
# File 'lib/virtualbox/classes/machine.rb', line 487
def pci_device_assignments
VBox::WebService.send_request(:i_machine_get_pci_device_assignments, _this)
end
|
#pointing_hid_type ⇒ Object
209
210
211
|
# File 'lib/virtualbox/classes/machine.rb', line 209
def pointing_hid_type
VBox::WebService.send_request(:i_machine_get_pointing_hid_type, _this)
end
|
#pointing_hid_type=(pointing_hid_type) ⇒ Object
213
214
215
216
|
# File 'lib/virtualbox/classes/machine.rb', line 213
def pointing_hid_type=(pointing_hid_type)
VBox::WebService.send_request(:i_machine_set_pointing_hid_type,
_this.merge(:pointing_hid_type => pointing_hid_type))
end
|
#query_log_filename(args = {}) ⇒ Object
773
774
775
776
|
# File 'lib/virtualbox/classes/machine.rb', line 773
def query_log_filename(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_query_log_filename, _this.merge(args))
end
|
#query_saved_guest_screen_info(args = {}) ⇒ Object
778
779
780
781
|
# File 'lib/virtualbox/classes/machine.rb', line 778
def query_saved_guest_screen_info(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_query_saved_guest_screen_info, _this.merge(args))
end
|
#query_saved_screenshot_png_size(args = {}) ⇒ Object
783
784
785
786
|
# File 'lib/virtualbox/classes/machine.rb', line 783
def query_saved_screenshot_png_size(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_query_saved_screenshot_png_size, _this.merge(args))
end
|
#query_saved_thumbnail_size(args = {}) ⇒ Object
788
789
790
791
|
# File 'lib/virtualbox/classes/machine.rb', line 788
def query_saved_thumbnail_size(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_query_saved_thumbnail_size, _this.merge(args))
end
|
#read_log(args = {}) ⇒ Object
793
794
795
796
|
# File 'lib/virtualbox/classes/machine.rb', line 793
def read_log(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_read_log, _this.merge(args))
end
|
#read_saved_screenshot_png_to_array(args = {}) ⇒ Object
798
799
800
801
|
# File 'lib/virtualbox/classes/machine.rb', line 798
def read_saved_screenshot_png_to_array(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_read_saved_screenshot_png_to_array, _this.merge(args))
end
|
#read_saved_thumbnail_png_to_array(args = {}) ⇒ Object
803
804
805
806
|
# File 'lib/virtualbox/classes/machine.rb', line 803
def read_saved_thumbnail_png_to_array(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_read_saved_thumbnail_png_to_array, _this.merge(args))
end
|
#read_saved_thumbnail_to_array(args = {}) ⇒ Object
808
809
810
811
|
# File 'lib/virtualbox/classes/machine.rb', line 808
def read_saved_thumbnail_to_array(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_read_saved_thumbnail_to_array, _this.merge(args))
end
|
#remove_all_cpuid_leaves ⇒ Object
813
814
815
|
# File 'lib/virtualbox/classes/machine.rb', line 813
def remove_all_cpuid_leaves
VBox::WebService.send_request(:i_machine_remove_all_cpuid_leaves, _this)
end
|
#remove_cpuid_leaf(args = {}) ⇒ Object
817
818
819
820
|
# File 'lib/virtualbox/classes/machine.rb', line 817
def remove_cpuid_leaf(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_remove_cpuid_leaf, _this.merge(args))
end
|
#remove_shared_folder(args = {}) ⇒ Object
822
823
824
825
|
# File 'lib/virtualbox/classes/machine.rb', line 822
def remove_shared_folder(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_remove_shared_folder, _this.merge(args))
end
|
#remove_storage_controller(args = {}) ⇒ Object
827
828
829
830
|
# File 'lib/virtualbox/classes/machine.rb', line 827
def remove_storage_controller(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_remove_storage_controller, _this.merge(args))
end
|
#rtc_use_utc ⇒ Object
463
464
465
|
# File 'lib/virtualbox/classes/machine.rb', line 463
def rtc_use_utc
VBox::WebService.send_request(:i_machine_get_rtc_use_utc, _this)
end
|
#rtc_use_utc=(rtc_use_utc) ⇒ Object
467
468
469
|
# File 'lib/virtualbox/classes/machine.rb', line 467
def rtc_use_utc=(rtc_use_utc)
VBox::WebService.send_request(:i_machine_set_rtc_use_utc, _this.merge('RTCUseUTC' => rtc_use_utc))
end
|
#save_settings ⇒ Object
832
833
834
|
# File 'lib/virtualbox/classes/machine.rb', line 832
def save_settings
VBox::WebService.send_request(:i_machine_save_settings, _this)
end
|
#session_pid ⇒ Object
315
316
317
|
# File 'lib/virtualbox/classes/machine.rb', line 315
def session_pid
VBox::WebService.send_request(:i_machine_get_session_pid, _this)
end
|
#session_state ⇒ Object
307
308
309
|
# File 'lib/virtualbox/classes/machine.rb', line 307
def session_state
VBox::WebService.send_request(:i_machine_get_session_state, _this)
end
|
#session_type ⇒ Object
311
312
313
|
# File 'lib/virtualbox/classes/machine.rb', line 311
def session_type
VBox::WebService.send_request(:i_machine_get_session_type, _this)
end
|
#set_auto_discard_for_device(args = {}) ⇒ Object
836
837
838
839
|
# File 'lib/virtualbox/classes/machine.rb', line 836
def set_auto_discard_for_device(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_set_auto_discard_for_device, _this.merge(args))
end
|
#set_bandwidth_group_for_device(args = {}) ⇒ Object
841
842
843
844
845
|
# File 'lib/virtualbox/classes/machine.rb', line 841
def set_bandwidth_group_for_device(args={})
ensure_hash args
args.referize! :bandwidth_group
VBox::WebService.send_request(:i_machine_set_bandwidth_group_for_device, _this.merge(args))
end
|
#set_boot_order(args = {}) ⇒ Object
847
848
849
850
|
# File 'lib/virtualbox/classes/machine.rb', line 847
def set_boot_order(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_set_boot_order, _this.merge(args))
end
|
#set_cpu_property(args = {}) ⇒ Object
857
858
859
860
|
# File 'lib/virtualbox/classes/machine.rb', line 857
def set_cpu_property(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_set_cpu_property, _this.merge(args))
end
|
#set_cpuid_leaf(args = {}) ⇒ Object
852
853
854
855
|
# File 'lib/virtualbox/classes/machine.rb', line 852
def set_cpuid_leaf(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_set_cpuid_leaf, _this.merge(args))
end
|
862
863
864
865
|
# File 'lib/virtualbox/classes/machine.rb', line 862
def (args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_set_extra_data, _this.merge(args))
end
|
#set_guest_property(args = {}) ⇒ Object
867
868
869
870
|
# File 'lib/virtualbox/classes/machine.rb', line 867
def set_guest_property(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_set_guest_property, _this.merge(args))
end
|
#set_guest_property_value(args = {}) ⇒ Object
872
873
874
875
|
# File 'lib/virtualbox/classes/machine.rb', line 872
def set_guest_property_value(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_set_guest_property_value, _this.merge(args))
end
|
#set_hw_virt_ex_property(args = {}) ⇒ Object
877
878
879
880
|
# File 'lib/virtualbox/classes/machine.rb', line 877
def set_hw_virt_ex_property(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_set_hw_virt_ex_property, _this.merge(args))
end
|
#set_no_bandwidth_group_for_device(args = {}) ⇒ Object
882
883
884
885
|
# File 'lib/virtualbox/classes/machine.rb', line 882
def set_no_bandwidth_group_for_device(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_set_no_bandwidth_group_for_device, _this.merge(args))
end
|
#set_storage_controller_bootable(args = {}) ⇒ Object
887
888
889
890
|
# File 'lib/virtualbox/classes/machine.rb', line 887
def set_storage_controller_bootable(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_set_storage_controller_bootable, _this.merge(args))
end
|
#settings_file_path ⇒ Object
299
300
301
|
# File 'lib/virtualbox/classes/machine.rb', line 299
def settings_file_path
VBox::WebService.send_request(:i_machine_get_settings_file_path, _this)
end
|
#settings_modified ⇒ Object
303
304
305
|
# File 'lib/virtualbox/classes/machine.rb', line 303
def settings_modified
VBox::WebService.send_request(:i_machine_get_settings_modified, _this)
end
|
#shared_folders ⇒ Object
348
349
350
351
352
353
|
# File 'lib/virtualbox/classes/machine.rb', line 348
def shared_folders
shared_folders = VBox::WebService.send_request(:i_machine_get_shared_folders, _this)
shared_folders.to_a.map do |shared_folder|
VBox::SharedFolder.new(shared_folder)
end
end
|
#show_console_window ⇒ Object
892
893
894
|
# File 'lib/virtualbox/classes/machine.rb', line 892
def show_console_window
VBox::WebService.send_request(:i_machine_show_console_window, _this.merge)
end
|
#snapshot_count ⇒ Object
340
341
342
|
# File 'lib/virtualbox/classes/machine.rb', line 340
def snapshot_count
VBox::WebService.send_request(:i_machine_get_snapshot_count, _this)
end
|
#snapshot_folder ⇒ Object
243
244
245
|
# File 'lib/virtualbox/classes/machine.rb', line 243
def snapshot_folder
VBox::WebService.send_request(:i_machine_get_snapshot_folder, _this)
end
|
#snapshot_folder=(snapshot_folder) ⇒ Object
247
248
249
|
# File 'lib/virtualbox/classes/machine.rb', line 247
def snapshot_folder=(snapshot_folder)
VBox::WebService.send_request(:i_machine_set_snapshot_folder, _this.merge(:snapshot_folder => snapshot_folder))
end
|
#state ⇒ Object
319
320
321
|
# File 'lib/virtualbox/classes/machine.rb', line 319
def state
VBox::WebService.send_request(:i_machine_get_state, _this)
end
|
#state_file_path ⇒ Object
327
328
329
|
# File 'lib/virtualbox/classes/machine.rb', line 327
def state_file_path
VBox::WebService.send_request(:i_machine_get_state_file_path, _this)
end
|
#storage_controllers ⇒ Object
292
293
294
295
296
297
|
# File 'lib/virtualbox/classes/machine.rb', line 292
def storage_controllers
storage_controllers = VBox::WebService.send_request(:i_machine_get_storage_controllers, _this)
storage_controllers.to_a.map do |storage_controller|
VBox::StorageController.new(storage_controller)
end
end
|
#teleporter_address ⇒ Object
400
401
402
|
# File 'lib/virtualbox/classes/machine.rb', line 400
def teleporter_address
VBox::WebService.send_request(:i_machine_get_teleporter_address, _this)
end
|
#teleporter_address=(teleporter_address) ⇒ Object
404
405
406
407
|
# File 'lib/virtualbox/classes/machine.rb', line 404
def teleporter_address=(teleporter_address)
VBox::WebService.send_request(:i_machine_set_teleporter_address,
_this.merge(:teleporter_address => teleporter_address))
end
|
#teleporter_enabled ⇒ Object
382
383
384
|
# File 'lib/virtualbox/classes/machine.rb', line 382
def teleporter_enabled
VBox::WebService.send_request(:i_machine_get_teleporter_enabled, _this)
end
|
#teleporter_enabled=(teleporter_enabled) ⇒ Object
386
387
388
389
|
# File 'lib/virtualbox/classes/machine.rb', line 386
def teleporter_enabled=(teleporter_enabled)
VBox::WebService.send_request(:i_machine_set_teleporter_enabled,
_this.merge(:teleporter_enabled => teleporter_enabled))
end
|
#teleporter_password ⇒ Object
409
410
411
|
# File 'lib/virtualbox/classes/machine.rb', line 409
def teleporter_password
VBox::WebService.send_request(:i_machine_get_teleporter_password, _this)
end
|
#teleporter_password=(teleporter_password) ⇒ Object
413
414
415
416
|
# File 'lib/virtualbox/classes/machine.rb', line 413
def teleporter_password=(teleporter_password)
VBox::WebService.send_request(:i_machine_set_teleporter_password,
_this.merge(:teleporter_password => teleporter_password))
end
|
#teleporter_port ⇒ Object
391
392
393
|
# File 'lib/virtualbox/classes/machine.rb', line 391
def teleporter_port
VBox::WebService.send_request(:i_machine_get_teleporter_port, _this)
end
|
#teleporter_port=(teleporter_port) ⇒ Object
395
396
397
398
|
# File 'lib/virtualbox/classes/machine.rb', line 395
def teleporter_port=(teleporter_port)
VBox::WebService.send_request(:i_machine_set_teleporter_port,
_this.merge(:teleporter_port => teleporter_port))
end
|
#temporary_eject_device(args = {}) ⇒ Object
896
897
898
899
|
# File 'lib/virtualbox/classes/machine.rb', line 896
def temporary_eject_device(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_temporary_eject_device, _this.merge(args))
end
|
#tracing_config ⇒ Object
504
505
506
|
# File 'lib/virtualbox/classes/machine.rb', line 504
def tracing_config
VBox::WebService.send_request(:i_machine_get_tracing_config, _this)
end
|
#tracing_config=(tracing_config) ⇒ Object
508
509
510
|
# File 'lib/virtualbox/classes/machine.rb', line 508
def tracing_config=(tracing_config)
VBox::WebService.send_request(:i_machine_set_tracing_config, _this.merge(:tracing_config => tracing_config))
end
|
#tracing_enabled ⇒ Object
496
497
498
|
# File 'lib/virtualbox/classes/machine.rb', line 496
def tracing_enabled
VBox::WebService.send_request(:i_machine_get_tracing_enabled, _this)
end
|
#tracing_enabled=(tracing_enabled) ⇒ Object
500
501
502
|
# File 'lib/virtualbox/classes/machine.rb', line 500
def tracing_enabled=(tracing_enabled)
VBox::WebService.send_request(:i_machine_set_tracing_enabled, _this.merge(:tracing_enabled => tracing_enabled))
end
|
#umnount_medium(args = {}) ⇒ Object
901
902
903
904
|
# File 'lib/virtualbox/classes/machine.rb', line 901
def umnount_medium(args={})
ensure_hash args
VBox::WebService.send_request(:i_machine_umount_medium, _this.merge(args))
end
|
#unregister(args = {}) ⇒ Object
906
907
908
909
910
911
912
|
# File 'lib/virtualbox/classes/machine.rb', line 906
def unregister(args={})
ensure_hash args
media = VBox::WebService.send_request(:i_machine_unregister, _this.merge(args))
media.to_a.map do |medium|
VBox::Medium.new(medium)
end
end
|
#video_capture_enabled ⇒ Object
159
160
161
|
# File 'lib/virtualbox/classes/machine.rb', line 159
def video_capture_enabled
VBox::WebService.send_request(:i_machine_get_video_capture_enabled, _this)
end
|
#video_capture_enabled=(video_capture_enabled) ⇒ Object
163
164
165
166
|
# File 'lib/virtualbox/classes/machine.rb', line 163
def video_capture_enabled=(video_capture_enabled)
VBox::WebService.send_request(:i_machine_set_video_capture_enabled,
_this.merge('VideoCaptureEnabled' => video_capture_enabled))
end
|
#video_capture_file ⇒ Object
168
169
170
|
# File 'lib/virtualbox/classes/machine.rb', line 168
def video_capture_file
VBox::WebService.send_request(:i_machine_get_video_capture_file, _this)
end
|
#video_capture_file=(video_capture_file) ⇒ Object
172
173
174
175
|
# File 'lib/virtualbox/classes/machine.rb', line 172
def video_capture_file=(video_capture_file)
VBox::WebService.send_request(:i_machine_set_video_capture_file,
_this.merge('VideoCaptureFile' => video_capture_file))
end
|
#video_capture_height ⇒ Object
186
187
188
|
# File 'lib/virtualbox/classes/machine.rb', line 186
def video_capture_height
VBox::WebService.send_request(:i_machine_get_video_capture_height, _this)
end
|
#video_capture_height=(video_capture_height) ⇒ Object
190
191
192
193
|
# File 'lib/virtualbox/classes/machine.rb', line 190
def video_capture_height=(video_capture_height)
VBox::WebService.send_request(:i_machine_set_video_capture_height,
_this.merge('VideoCaptureHeight' => video_capture_height))
end
|
#video_capture_width ⇒ Object
177
178
179
|
# File 'lib/virtualbox/classes/machine.rb', line 177
def video_capture_width
VBox::WebService.send_request(:i_machine_get_video_capture_width, _this)
end
|
#video_capture_width=(video_capture_width) ⇒ Object
181
182
183
184
|
# File 'lib/virtualbox/classes/machine.rb', line 181
def video_capture_width=(video_capture_width)
VBox::WebService.send_request(:i_machine_set_video_capture_width,
_this.merge('VideoCaptureWidth' => video_capture_width))
end
|
#vram_size ⇒ Object
125
126
127
|
# File 'lib/virtualbox/classes/machine.rb', line 125
def vram_size
VBox::WebService.send_request(:i_machine_get_vram_size, _this)
end
|
#vram_size=(vram_size) ⇒ Object
129
130
131
|
# File 'lib/virtualbox/classes/machine.rb', line 129
def vram_size=(vram_size)
VBox::WebService.send_request(:i_machine_set_vram_size, _this.merge('VRAMSize' => vram_size))
end
|