Class: OCI::CloudMigrations::Models::OlvmVirtualMachine

Inherits:
Object
  • Object
show all
Defined in:
lib/oci/cloud_migrations/models/olvm_virtual_machine.rb

Overview

Represents a virtual machine.

Constant Summary collapse

AUTO_PINNING_POLICY_ENUM =
[
  AUTO_PINNING_POLICY_ADJUST = 'ADJUST'.freeze,
  AUTO_PINNING_POLICY_DISABLED = 'DISABLED'.freeze,
  AUTO_PINNING_POLICY_EXISTING = 'EXISTING'.freeze
].freeze
CPU_PINNING_POLICY_ENUM =
[
  CPU_PINNING_POLICY_DEDICATED = 'DEDICATED'.freeze,
  CPU_PINNING_POLICY_ISOLATED_THREADS = 'ISOLATED_THREADS'.freeze,
  CPU_PINNING_POLICY_MANUAL = 'MANUAL'.freeze,
  CPU_PINNING_POLICY_NONE = 'NONE'.freeze,
  CPU_PINNING_POLICY_RESIZE_AND_PIN_NUMA = 'RESIZE_AND_PIN_NUMA'.freeze
].freeze
NUMA_TUNE_MODE_ENUM =
[
  NUMA_TUNE_MODE_INTERLEAVE = 'INTERLEAVE'.freeze,
  NUMA_TUNE_MODE_PREFERRED = 'PREFERRED'.freeze,
  NUMA_TUNE_MODE_STRICT = 'STRICT'.freeze
].freeze
STORAGE_ERROR_RESUME_BEHAVIOR_ENUM =
[
  STORAGE_ERROR_RESUME_BEHAVIOR_AUTO_RESUME = 'AUTO_RESUME'.freeze,
  STORAGE_ERROR_RESUME_BEHAVIOR_KILL = 'KILL'.freeze,
  STORAGE_ERROR_RESUME_BEHAVIOR_LEAVE_PAUSED = 'LEAVE_PAUSED'.freeze
].freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ OlvmVirtualMachine

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash

Options Hash (attributes):



438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 438

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }

  self.auto_pinning_policy = attributes[:'autoPinningPolicy'] if attributes[:'autoPinningPolicy']

  raise 'You cannot provide both :autoPinningPolicy and :auto_pinning_policy' if attributes.key?(:'autoPinningPolicy') && attributes.key?(:'auto_pinning_policy')

  self.auto_pinning_policy = attributes[:'auto_pinning_policy'] if attributes[:'auto_pinning_policy']

  self.bios = attributes[:'bios'] if attributes[:'bios']

  self.comment = attributes[:'comment'] if attributes[:'comment']

  self.console = attributes[:'console'] if attributes[:'console']

  self.cpu = attributes[:'cpu'] if attributes[:'cpu']

  self.cpu_pinning_policy = attributes[:'cpuPinningPolicy'] if attributes[:'cpuPinningPolicy']

  raise 'You cannot provide both :cpuPinningPolicy and :cpu_pinning_policy' if attributes.key?(:'cpuPinningPolicy') && attributes.key?(:'cpu_pinning_policy')

  self.cpu_pinning_policy = attributes[:'cpu_pinning_policy'] if attributes[:'cpu_pinning_policy']

  self.cpu_shares = attributes[:'cpuShares'] if attributes[:'cpuShares']

  raise 'You cannot provide both :cpuShares and :cpu_shares' if attributes.key?(:'cpuShares') && attributes.key?(:'cpu_shares')

  self.cpu_shares = attributes[:'cpu_shares'] if attributes[:'cpu_shares']

  self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']

  raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')

  self.time_created = attributes[:'time_created'] if attributes[:'time_created']

  self.custom_compatibility_version = attributes[:'customCompatibilityVersion'] if attributes[:'customCompatibilityVersion']

  raise 'You cannot provide both :customCompatibilityVersion and :custom_compatibility_version' if attributes.key?(:'customCompatibilityVersion') && attributes.key?(:'custom_compatibility_version')

  self.custom_compatibility_version = attributes[:'custom_compatibility_version'] if attributes[:'custom_compatibility_version']

  self.custom_cpu_model = attributes[:'customCpuModel'] if attributes[:'customCpuModel']

  raise 'You cannot provide both :customCpuModel and :custom_cpu_model' if attributes.key?(:'customCpuModel') && attributes.key?(:'custom_cpu_model')

  self.custom_cpu_model = attributes[:'custom_cpu_model'] if attributes[:'custom_cpu_model']

  self.custom_emulated_machine = attributes[:'customEmulatedMachine'] if attributes[:'customEmulatedMachine']

  raise 'You cannot provide both :customEmulatedMachine and :custom_emulated_machine' if attributes.key?(:'customEmulatedMachine') && attributes.key?(:'custom_emulated_machine')

  self.custom_emulated_machine = attributes[:'custom_emulated_machine'] if attributes[:'custom_emulated_machine']

  self.custom_properties = attributes[:'customProperties'] if attributes[:'customProperties']

  raise 'You cannot provide both :customProperties and :custom_properties' if attributes.key?(:'customProperties') && attributes.key?(:'custom_properties')

  self.custom_properties = attributes[:'custom_properties'] if attributes[:'custom_properties']

  self.is_delete_protected = attributes[:'isDeleteProtected'] unless attributes[:'isDeleteProtected'].nil?

  raise 'You cannot provide both :isDeleteProtected and :is_delete_protected' if attributes.key?(:'isDeleteProtected') && attributes.key?(:'is_delete_protected')

  self.is_delete_protected = attributes[:'is_delete_protected'] unless attributes[:'is_delete_protected'].nil?

  self.description = attributes[:'description'] if attributes[:'description']

  self.display = attributes[:'display'] if attributes[:'display']

  self.domain = attributes[:'domain'] if attributes[:'domain']

  self.fqdn = attributes[:'fqdn'] if attributes[:'fqdn']

  self.guest_operating_system = attributes[:'guestOperatingSystem'] if attributes[:'guestOperatingSystem']

  raise 'You cannot provide both :guestOperatingSystem and :guest_operating_system' if attributes.key?(:'guestOperatingSystem') && attributes.key?(:'guest_operating_system')

  self.guest_operating_system = attributes[:'guest_operating_system'] if attributes[:'guest_operating_system']

  self.guest_time_zone = attributes[:'guestTimeZone'] if attributes[:'guestTimeZone']

  raise 'You cannot provide both :guestTimeZone and :guest_time_zone' if attributes.key?(:'guestTimeZone') && attributes.key?(:'guest_time_zone')

  self.guest_time_zone = attributes[:'guest_time_zone'] if attributes[:'guest_time_zone']

  self.is_contain_illegal_images = attributes[:'isContainIllegalImages'] unless attributes[:'isContainIllegalImages'].nil?

  raise 'You cannot provide both :isContainIllegalImages and :is_contain_illegal_images' if attributes.key?(:'isContainIllegalImages') && attributes.key?(:'is_contain_illegal_images')

  self.is_contain_illegal_images = attributes[:'is_contain_illegal_images'] unless attributes[:'is_contain_illegal_images'].nil?

  self.high_availability = attributes[:'highAvailability'] if attributes[:'highAvailability']

  raise 'You cannot provide both :highAvailability and :high_availability' if attributes.key?(:'highAvailability') && attributes.key?(:'high_availability')

  self.high_availability = attributes[:'high_availability'] if attributes[:'high_availability']

  self.initialization = attributes[:'initialization'] if attributes[:'initialization']

  self.io_threads = attributes[:'ioThreads'] if attributes[:'ioThreads']

  raise 'You cannot provide both :ioThreads and :io_threads' if attributes.key?(:'ioThreads') && attributes.key?(:'io_threads')

  self.io_threads = attributes[:'io_threads'] if attributes[:'io_threads']

  self.large_icon = attributes[:'largeIcon'] if attributes[:'largeIcon']

  raise 'You cannot provide both :largeIcon and :large_icon' if attributes.key?(:'largeIcon') && attributes.key?(:'large_icon')

  self.large_icon = attributes[:'large_icon'] if attributes[:'large_icon']

  self.storage_domain_lease = attributes[:'storageDomainLease'] if attributes[:'storageDomainLease']

  raise 'You cannot provide both :storageDomainLease and :storage_domain_lease' if attributes.key?(:'storageDomainLease') && attributes.key?(:'storage_domain_lease')

  self.storage_domain_lease = attributes[:'storage_domain_lease'] if attributes[:'storage_domain_lease']

  self.memory_in_bytes = attributes[:'memoryInBytes'] if attributes[:'memoryInBytes']

  raise 'You cannot provide both :memoryInBytes and :memory_in_bytes' if attributes.key?(:'memoryInBytes') && attributes.key?(:'memory_in_bytes')

  self.memory_in_bytes = attributes[:'memory_in_bytes'] if attributes[:'memory_in_bytes']

  self.memory_policy = attributes[:'memoryPolicy'] if attributes[:'memoryPolicy']

  raise 'You cannot provide both :memoryPolicy and :memory_policy' if attributes.key?(:'memoryPolicy') && attributes.key?(:'memory_policy')

  self.memory_policy = attributes[:'memory_policy'] if attributes[:'memory_policy']

  self.migration_policy = attributes[:'migrationPolicy'] if attributes[:'migrationPolicy']

  raise 'You cannot provide both :migrationPolicy and :migration_policy' if attributes.key?(:'migrationPolicy') && attributes.key?(:'migration_policy')

  self.migration_policy = attributes[:'migration_policy'] if attributes[:'migration_policy']

  self.migration_downtime_in_ms = attributes[:'migrationDowntimeInMs'] if attributes[:'migrationDowntimeInMs']

  raise 'You cannot provide both :migrationDowntimeInMs and :migration_downtime_in_ms' if attributes.key?(:'migrationDowntimeInMs') && attributes.key?(:'migration_downtime_in_ms')

  self.migration_downtime_in_ms = attributes[:'migration_downtime_in_ms'] if attributes[:'migration_downtime_in_ms']

  self.is_multi_queues_enabled = attributes[:'isMultiQueuesEnabled'] unless attributes[:'isMultiQueuesEnabled'].nil?

  raise 'You cannot provide both :isMultiQueuesEnabled and :is_multi_queues_enabled' if attributes.key?(:'isMultiQueuesEnabled') && attributes.key?(:'is_multi_queues_enabled')

  self.is_multi_queues_enabled = attributes[:'is_multi_queues_enabled'] unless attributes[:'is_multi_queues_enabled'].nil?

  self.virtual_machine_name = attributes[:'virtualMachineName'] if attributes[:'virtualMachineName']

  raise 'You cannot provide both :virtualMachineName and :virtual_machine_name' if attributes.key?(:'virtualMachineName') && attributes.key?(:'virtual_machine_name')

  self.virtual_machine_name = attributes[:'virtual_machine_name'] if attributes[:'virtual_machine_name']

  self.is_next_run_configuration_exists = attributes[:'isNextRunConfigurationExists'] unless attributes[:'isNextRunConfigurationExists'].nil?

  raise 'You cannot provide both :isNextRunConfigurationExists and :is_next_run_configuration_exists' if attributes.key?(:'isNextRunConfigurationExists') && attributes.key?(:'is_next_run_configuration_exists')

  self.is_next_run_configuration_exists = attributes[:'is_next_run_configuration_exists'] unless attributes[:'is_next_run_configuration_exists'].nil?

  self.numa_tune_mode = attributes[:'numaTuneMode'] if attributes[:'numaTuneMode']

  raise 'You cannot provide both :numaTuneMode and :numa_tune_mode' if attributes.key?(:'numaTuneMode') && attributes.key?(:'numa_tune_mode')

  self.numa_tune_mode = attributes[:'numa_tune_mode'] if attributes[:'numa_tune_mode']

  self.origin = attributes[:'origin'] if attributes[:'origin']

  self.os = attributes[:'os'] if attributes[:'os']

  self.placement_policy = attributes[:'placementPolicy'] if attributes[:'placementPolicy']

  raise 'You cannot provide both :placementPolicy and :placement_policy' if attributes.key?(:'placementPolicy') && attributes.key?(:'placement_policy')

  self.placement_policy = attributes[:'placement_policy'] if attributes[:'placement_policy']

  self.is_run_once = attributes[:'isRunOnce'] unless attributes[:'isRunOnce'].nil?

  raise 'You cannot provide both :isRunOnce and :is_run_once' if attributes.key?(:'isRunOnce') && attributes.key?(:'is_run_once')

  self.is_run_once = attributes[:'is_run_once'] unless attributes[:'is_run_once'].nil?

  self.serial_number = attributes[:'serialNumber'] if attributes[:'serialNumber']

  raise 'You cannot provide both :serialNumber and :serial_number' if attributes.key?(:'serialNumber') && attributes.key?(:'serial_number')

  self.serial_number = attributes[:'serial_number'] if attributes[:'serial_number']

  self.small_icon = attributes[:'smallIcon'] if attributes[:'smallIcon']

  raise 'You cannot provide both :smallIcon and :small_icon' if attributes.key?(:'smallIcon') && attributes.key?(:'small_icon')

  self.small_icon = attributes[:'small_icon'] if attributes[:'small_icon']

  self.is_soundcard_enabled = attributes[:'isSoundcardEnabled'] unless attributes[:'isSoundcardEnabled'].nil?

  raise 'You cannot provide both :isSoundcardEnabled and :is_soundcard_enabled' if attributes.key?(:'isSoundcardEnabled') && attributes.key?(:'is_soundcard_enabled')

  self.is_soundcard_enabled = attributes[:'is_soundcard_enabled'] unless attributes[:'is_soundcard_enabled'].nil?

  self.is_start_paused = attributes[:'isStartPaused'] unless attributes[:'isStartPaused'].nil?

  raise 'You cannot provide both :isStartPaused and :is_start_paused' if attributes.key?(:'isStartPaused') && attributes.key?(:'is_start_paused')

  self.is_start_paused = attributes[:'is_start_paused'] unless attributes[:'is_start_paused'].nil?

  self.time_start = attributes[:'timeStart'] if attributes[:'timeStart']

  raise 'You cannot provide both :timeStart and :time_start' if attributes.key?(:'timeStart') && attributes.key?(:'time_start')

  self.time_start = attributes[:'time_start'] if attributes[:'time_start']

  self.is_stateless = attributes[:'isStateless'] unless attributes[:'isStateless'].nil?

  raise 'You cannot provide both :isStateless and :is_stateless' if attributes.key?(:'isStateless') && attributes.key?(:'is_stateless')

  self.is_stateless = attributes[:'is_stateless'] unless attributes[:'is_stateless'].nil?

  self.status = attributes[:'status'] if attributes[:'status']

  self.status_detail = attributes[:'statusDetail'] if attributes[:'statusDetail']

  raise 'You cannot provide both :statusDetail and :status_detail' if attributes.key?(:'statusDetail') && attributes.key?(:'status_detail')

  self.status_detail = attributes[:'status_detail'] if attributes[:'status_detail']

  self.stop_reason = attributes[:'stopReason'] if attributes[:'stopReason']

  raise 'You cannot provide both :stopReason and :stop_reason' if attributes.key?(:'stopReason') && attributes.key?(:'stop_reason')

  self.stop_reason = attributes[:'stop_reason'] if attributes[:'stop_reason']

  self.time_stop = attributes[:'timeStop'] if attributes[:'timeStop']

  raise 'You cannot provide both :timeStop and :time_stop' if attributes.key?(:'timeStop') && attributes.key?(:'time_stop')

  self.time_stop = attributes[:'time_stop'] if attributes[:'time_stop']

  self.storage_error_resume_behavior = attributes[:'storageErrorResumeBehavior'] if attributes[:'storageErrorResumeBehavior']

  raise 'You cannot provide both :storageErrorResumeBehavior and :storage_error_resume_behavior' if attributes.key?(:'storageErrorResumeBehavior') && attributes.key?(:'storage_error_resume_behavior')

  self.storage_error_resume_behavior = attributes[:'storage_error_resume_behavior'] if attributes[:'storage_error_resume_behavior']

  self.timezone = attributes[:'timezone'] if attributes[:'timezone']

  self.is_tpm_enabled = attributes[:'isTpmEnabled'] unless attributes[:'isTpmEnabled'].nil?

  raise 'You cannot provide both :isTpmEnabled and :is_tpm_enabled' if attributes.key?(:'isTpmEnabled') && attributes.key?(:'is_tpm_enabled')

  self.is_tpm_enabled = attributes[:'is_tpm_enabled'] unless attributes[:'is_tpm_enabled'].nil?

  self.is_tunnel_migration = attributes[:'isTunnelMigration'] unless attributes[:'isTunnelMigration'].nil?

  raise 'You cannot provide both :isTunnelMigration and :is_tunnel_migration' if attributes.key?(:'isTunnelMigration') && attributes.key?(:'is_tunnel_migration')

  self.is_tunnel_migration = attributes[:'is_tunnel_migration'] unless attributes[:'is_tunnel_migration'].nil?

  self.type = attributes[:'type'] if attributes[:'type']

  self.usb = attributes[:'usb'] if attributes[:'usb']

  self.is_use_latest_template_version = attributes[:'isUseLatestTemplateVersion'] unless attributes[:'isUseLatestTemplateVersion'].nil?

  raise 'You cannot provide both :isUseLatestTemplateVersion and :is_use_latest_template_version' if attributes.key?(:'isUseLatestTemplateVersion') && attributes.key?(:'is_use_latest_template_version')

  self.is_use_latest_template_version = attributes[:'is_use_latest_template_version'] unless attributes[:'is_use_latest_template_version'].nil?

  self.is_virtio_scsi_enabled = attributes[:'isVirtioScsiEnabled'] unless attributes[:'isVirtioScsiEnabled'].nil?

  raise 'You cannot provide both :isVirtioScsiEnabled and :is_virtio_scsi_enabled' if attributes.key?(:'isVirtioScsiEnabled') && attributes.key?(:'is_virtio_scsi_enabled')

  self.is_virtio_scsi_enabled = attributes[:'is_virtio_scsi_enabled'] unless attributes[:'is_virtio_scsi_enabled'].nil?

  self.virtio_scsi_multi_queues = attributes[:'virtioScsiMultiQueues'] if attributes[:'virtioScsiMultiQueues']

  raise 'You cannot provide both :virtioScsiMultiQueues and :virtio_scsi_multi_queues' if attributes.key?(:'virtioScsiMultiQueues') && attributes.key?(:'virtio_scsi_multi_queues')

  self.virtio_scsi_multi_queues = attributes[:'virtio_scsi_multi_queues'] if attributes[:'virtio_scsi_multi_queues']

  self.is_virtio_scsi_multi_queues_enabled = attributes[:'isVirtioScsiMultiQueuesEnabled'] unless attributes[:'isVirtioScsiMultiQueuesEnabled'].nil?

  raise 'You cannot provide both :isVirtioScsiMultiQueuesEnabled and :is_virtio_scsi_multi_queues_enabled' if attributes.key?(:'isVirtioScsiMultiQueuesEnabled') && attributes.key?(:'is_virtio_scsi_multi_queues_enabled')

  self.is_virtio_scsi_multi_queues_enabled = attributes[:'is_virtio_scsi_multi_queues_enabled'] unless attributes[:'is_virtio_scsi_multi_queues_enabled'].nil?
end

Instance Attribute Details

#auto_pinning_policyString

Specifies if and how the auto CPU and NUMA configuration is applied.

Returns:

  • (String)


39
40
41
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 39

def auto_pinning_policy
  @auto_pinning_policy
end

#biosOCI::CloudMigrations::Models::OlvmBios



42
43
44
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 42

def bios
  @bios
end

#commentString

Free text containing comments about this object.

Returns:

  • (String)


46
47
48
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 46

def comment
  @comment
end

#consoleOCI::CloudMigrations::Models::OlvmConsole



49
50
51
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 49

def console
  @console
end

#cpuOCI::CloudMigrations::Models::OlvmCpu



52
53
54
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 52

def cpu
  @cpu
end

#cpu_pinning_policyString

Type representing the CPU and NUMA pinning policy.

Returns:

  • (String)


56
57
58
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 56

def cpu_pinning_policy
  @cpu_pinning_policy
end

#cpu_sharesInteger

Number of CPU Shares

Returns:

  • (Integer)


60
61
62
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 60

def cpu_shares
  @cpu_shares
end

#custom_compatibility_versionOCI::CloudMigrations::Models::OlvmVersion



67
68
69
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 67

def custom_compatibility_version
  @custom_compatibility_version
end

#custom_cpu_modelString

Custom CPU model

Returns:

  • (String)


71
72
73
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 71

def custom_cpu_model
  @custom_cpu_model
end

#custom_emulated_machineString

Custom Emulated machine

Returns:

  • (String)


75
76
77
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 75

def custom_emulated_machine
  @custom_emulated_machine
end

#custom_propertiesArray<OCI::CloudMigrations::Models::OlvmCustomProperty>

Custom properties applied to the vNIC profile.



79
80
81
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 79

def custom_properties
  @custom_properties
end

#descriptionString

A human-readable description in plain text.

Returns:

  • (String)


87
88
89
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 87

def description
  @description
end

#displayOCI::CloudMigrations::Models::OlvmDisplay



90
91
92
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 90

def display
  @display
end

#domainOCI::CloudMigrations::Models::OlvmDomain



93
94
95
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 93

def domain
  @domain
end

#fqdnString

Fully qualified domain name of the virtual machine.

Returns:

  • (String)


97
98
99
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 97

def fqdn
  @fqdn
end

#guest_operating_systemOCI::CloudMigrations::Models::OlvmGuestOperatingSystem



100
101
102
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 100

def guest_operating_system
  @guest_operating_system
end

#guest_time_zoneString

What time zone is used by the virtual machine (as returned by guest agent).

Returns:

  • (String)


104
105
106
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 104

def guest_time_zone
  @guest_time_zone
end

#high_availabilityOCI::CloudMigrations::Models::OlvmHighAvailability



111
112
113
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 111

def high_availability
  @high_availability
end

#initializationOCI::CloudMigrations::Models::OlvmInitialization



114
115
116
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 114

def initialization
  @initialization
end

#io_threadsInteger

For performance tuning of IO threading.

Returns:

  • (Integer)


118
119
120
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 118

def io_threads
  @io_threads
end

#is_contain_illegal_imagesBOOLEAN

Indicates whether the virtual machine has snapshots with disks in ILLEGAL state.

Returns:

  • (BOOLEAN)


108
109
110
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 108

def is_contain_illegal_images
  @is_contain_illegal_images
end

#is_delete_protectedBOOLEAN

If true, the virtual machine cannot be deleted.

Returns:

  • (BOOLEAN)


83
84
85
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 83

def is_delete_protected
  @is_delete_protected
end

#is_multi_queues_enabledBOOLEAN

If true, each virtual interface will get the optimal number of queues, depending on the available virtual Cpus.

Returns:

  • (BOOLEAN)


142
143
144
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 142

def is_multi_queues_enabled
  @is_multi_queues_enabled
end

#is_next_run_configuration_existsBOOLEAN

Indicates if virtual machine configuration has been changed and requires restart of the virtual machine.

Returns:

  • (BOOLEAN)


150
151
152
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 150

def is_next_run_configuration_exists
  @is_next_run_configuration_exists
end

#is_run_onceBOOLEAN

If true, the virtual machine has been started using the run once command, meaning it???s configuration might differ from the stored one for the purpose of this single run.

Returns:

  • (BOOLEAN)


168
169
170
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 168

def is_run_once
  @is_run_once
end

#is_soundcard_enabledBOOLEAN

If true, the sound card is added to the virtual machine.

Returns:

  • (BOOLEAN)


178
179
180
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 178

def is_soundcard_enabled
  @is_soundcard_enabled
end

#is_start_pausedBOOLEAN

If true, the virtual machine will be initially in 'paused' state after start.

Returns:

  • (BOOLEAN)


182
183
184
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 182

def is_start_paused
  @is_start_paused
end

#is_statelessBOOLEAN

If true, the virtual machine is stateless - it???s state (disks) are rolled-back after shutdown.

Returns:

  • (BOOLEAN)


190
191
192
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 190

def is_stateless
  @is_stateless
end

#is_tpm_enabledBOOLEAN

If true, a TPM device is added to the virtual machine.

Returns:

  • (BOOLEAN)


217
218
219
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 217

def is_tpm_enabled
  @is_tpm_enabled
end

#is_tunnel_migrationBOOLEAN

If true, the network data transfer will be encrypted during virtual machine live migration.

Returns:

  • (BOOLEAN)


221
222
223
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 221

def is_tunnel_migration
  @is_tunnel_migration
end

#is_use_latest_template_versionBOOLEAN

If true, the virtual machine is reconfigured to the latest version of it???s template when it is started.

Returns:

  • (BOOLEAN)


231
232
233
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 231

def is_use_latest_template_version
  @is_use_latest_template_version
end

#is_virtio_scsi_enabledBOOLEAN

Indicates if Virtio SCSI Support is enabled.

Returns:

  • (BOOLEAN)


235
236
237
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 235

def is_virtio_scsi_enabled
  @is_virtio_scsi_enabled
end

#is_virtio_scsi_multi_queues_enabledBOOLEAN

If true, the Virtio-SCSI devices will obtain a number of multiple queues depending on the available virtual Cpus and disks, or according to the specified virtioScsiMultiQueues

Returns:

  • (BOOLEAN)


243
244
245
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 243

def is_virtio_scsi_multi_queues_enabled
  @is_virtio_scsi_multi_queues_enabled
end

#large_iconOCI::CloudMigrations::Models::OlvmIcon



121
122
123
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 121

def large_icon
  @large_icon
end

#memory_in_bytesInteger

The virtual machine???s memory, in bytes.

Returns:

  • (Integer)


128
129
130
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 128

def memory_in_bytes
  @memory_in_bytes
end

#memory_policyOCI::CloudMigrations::Models::OlvmMemoryPolicy



131
132
133
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 131

def memory_policy
  @memory_policy
end

#migration_downtime_in_msInteger

Maximum time the virtual machine can be non responsive during its live migration to another host in ms.

Returns:

  • (Integer)


138
139
140
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 138

def migration_downtime_in_ms
  @migration_downtime_in_ms
end

#migration_policyOCI::CloudMigrations::Models::OlvmMigrationOptions



134
135
136
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 134

def migration_policy
  @migration_policy
end

#numa_tune_modeString

How the NUMA topology is applied.

Returns:

  • (String)


154
155
156
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 154

def numa_tune_mode
  @numa_tune_mode
end

#originString

The origin of this virtual machine.

Returns:

  • (String)


158
159
160
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 158

def origin
  @origin
end

#osOCI::CloudMigrations::Models::OlvmOperatingSystem



161
162
163
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 161

def os
  @os
end

#placement_policyOCI::CloudMigrations::Models::OlvmVmPlacementPolicy



164
165
166
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 164

def placement_policy
  @placement_policy
end

#serial_numberOCI::CloudMigrations::Models::OlvmSerialNumber



171
172
173
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 171

def serial_number
  @serial_number
end

#small_iconOCI::CloudMigrations::Models::OlvmIcon



174
175
176
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 174

def small_icon
  @small_icon
end

#statusOCI::CloudMigrations::Models::OlvmVmStatus



193
194
195
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 193

def status
  @status
end

#status_detailString

Human readable detail of current status.

Returns:

  • (String)


197
198
199
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 197

def status_detail
  @status_detail
end

#stop_reasonString

The reason the virtual machine was stopped.

Returns:

  • (String)


201
202
203
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 201

def stop_reason
  @stop_reason
end

#storage_domain_leaseOCI::CloudMigrations::Models::OlvmStorageDomainProperties



124
125
126
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 124

def storage_domain_lease
  @storage_domain_lease
end

#storage_error_resume_behaviorString

Determines how the virtual machine will be resumed after storage error.

Returns:

  • (String)


209
210
211
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 209

def storage_error_resume_behavior
  @storage_error_resume_behavior
end

#time_createdDateTime

Creation time.

Returns:

  • (DateTime)


64
65
66
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 64

def time_created
  @time_created
end

#time_startDateTime

The date in which the virtual machine was started.

Returns:

  • (DateTime)


186
187
188
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 186

def time_start
  @time_start
end

#time_stopDateTime

The date in which the virtual machine was stopped.

Returns:

  • (DateTime)


205
206
207
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 205

def time_stop
  @time_stop
end

#timezoneString

Name of time zone.

Returns:

  • (String)


213
214
215
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 213

def timezone
  @timezone
end

#typeOCI::CloudMigrations::Models::OlvmVmType



224
225
226
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 224

def type
  @type
end

#usbOCI::CloudMigrations::Models::OlvmUsb



227
228
229
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 227

def usb
  @usb
end

#virtio_scsi_multi_queuesInteger

Number of queues for a Virtio-SCSI contoller this field requires virtioScsiMultiQueuesEnabled to be true see virtioScsiMultiQueuesEnabled for more info

Returns:

  • (Integer)


239
240
241
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 239

def virtio_scsi_multi_queues
  @virtio_scsi_multi_queues
end

#virtual_machine_nameString

Name of the property.

Returns:

  • (String)


146
147
148
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 146

def virtual_machine_name
  @virtual_machine_name
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 246

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'auto_pinning_policy': :'autoPinningPolicy',
    'bios': :'bios',
    'comment': :'comment',
    'console': :'console',
    'cpu': :'cpu',
    'cpu_pinning_policy': :'cpuPinningPolicy',
    'cpu_shares': :'cpuShares',
    'time_created': :'timeCreated',
    'custom_compatibility_version': :'customCompatibilityVersion',
    'custom_cpu_model': :'customCpuModel',
    'custom_emulated_machine': :'customEmulatedMachine',
    'custom_properties': :'customProperties',
    'is_delete_protected': :'isDeleteProtected',
    'description': :'description',
    'display': :'display',
    'domain': :'domain',
    'fqdn': :'fqdn',
    'guest_operating_system': :'guestOperatingSystem',
    'guest_time_zone': :'guestTimeZone',
    'is_contain_illegal_images': :'isContainIllegalImages',
    'high_availability': :'highAvailability',
    'initialization': :'initialization',
    'io_threads': :'ioThreads',
    'large_icon': :'largeIcon',
    'storage_domain_lease': :'storageDomainLease',
    'memory_in_bytes': :'memoryInBytes',
    'memory_policy': :'memoryPolicy',
    'migration_policy': :'migrationPolicy',
    'migration_downtime_in_ms': :'migrationDowntimeInMs',
    'is_multi_queues_enabled': :'isMultiQueuesEnabled',
    'virtual_machine_name': :'virtualMachineName',
    'is_next_run_configuration_exists': :'isNextRunConfigurationExists',
    'numa_tune_mode': :'numaTuneMode',
    'origin': :'origin',
    'os': :'os',
    'placement_policy': :'placementPolicy',
    'is_run_once': :'isRunOnce',
    'serial_number': :'serialNumber',
    'small_icon': :'smallIcon',
    'is_soundcard_enabled': :'isSoundcardEnabled',
    'is_start_paused': :'isStartPaused',
    'time_start': :'timeStart',
    'is_stateless': :'isStateless',
    'status': :'status',
    'status_detail': :'statusDetail',
    'stop_reason': :'stopReason',
    'time_stop': :'timeStop',
    'storage_error_resume_behavior': :'storageErrorResumeBehavior',
    'timezone': :'timezone',
    'is_tpm_enabled': :'isTpmEnabled',
    'is_tunnel_migration': :'isTunnelMigration',
    'type': :'type',
    'usb': :'usb',
    'is_use_latest_template_version': :'isUseLatestTemplateVersion',
    'is_virtio_scsi_enabled': :'isVirtioScsiEnabled',
    'virtio_scsi_multi_queues': :'virtioScsiMultiQueues',
    'is_virtio_scsi_multi_queues_enabled': :'isVirtioScsiMultiQueuesEnabled'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 311

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'auto_pinning_policy': :'String',
    'bios': :'OCI::CloudMigrations::Models::OlvmBios',
    'comment': :'String',
    'console': :'OCI::CloudMigrations::Models::OlvmConsole',
    'cpu': :'OCI::CloudMigrations::Models::OlvmCpu',
    'cpu_pinning_policy': :'String',
    'cpu_shares': :'Integer',
    'time_created': :'DateTime',
    'custom_compatibility_version': :'OCI::CloudMigrations::Models::OlvmVersion',
    'custom_cpu_model': :'String',
    'custom_emulated_machine': :'String',
    'custom_properties': :'Array<OCI::CloudMigrations::Models::OlvmCustomProperty>',
    'is_delete_protected': :'BOOLEAN',
    'description': :'String',
    'display': :'OCI::CloudMigrations::Models::OlvmDisplay',
    'domain': :'OCI::CloudMigrations::Models::OlvmDomain',
    'fqdn': :'String',
    'guest_operating_system': :'OCI::CloudMigrations::Models::OlvmGuestOperatingSystem',
    'guest_time_zone': :'String',
    'is_contain_illegal_images': :'BOOLEAN',
    'high_availability': :'OCI::CloudMigrations::Models::OlvmHighAvailability',
    'initialization': :'OCI::CloudMigrations::Models::OlvmInitialization',
    'io_threads': :'Integer',
    'large_icon': :'OCI::CloudMigrations::Models::OlvmIcon',
    'storage_domain_lease': :'OCI::CloudMigrations::Models::OlvmStorageDomainProperties',
    'memory_in_bytes': :'Integer',
    'memory_policy': :'OCI::CloudMigrations::Models::OlvmMemoryPolicy',
    'migration_policy': :'OCI::CloudMigrations::Models::OlvmMigrationOptions',
    'migration_downtime_in_ms': :'Integer',
    'is_multi_queues_enabled': :'BOOLEAN',
    'virtual_machine_name': :'String',
    'is_next_run_configuration_exists': :'BOOLEAN',
    'numa_tune_mode': :'String',
    'origin': :'String',
    'os': :'OCI::CloudMigrations::Models::OlvmOperatingSystem',
    'placement_policy': :'OCI::CloudMigrations::Models::OlvmVmPlacementPolicy',
    'is_run_once': :'BOOLEAN',
    'serial_number': :'OCI::CloudMigrations::Models::OlvmSerialNumber',
    'small_icon': :'OCI::CloudMigrations::Models::OlvmIcon',
    'is_soundcard_enabled': :'BOOLEAN',
    'is_start_paused': :'BOOLEAN',
    'time_start': :'DateTime',
    'is_stateless': :'BOOLEAN',
    'status': :'OCI::CloudMigrations::Models::OlvmVmStatus',
    'status_detail': :'String',
    'stop_reason': :'String',
    'time_stop': :'DateTime',
    'storage_error_resume_behavior': :'String',
    'timezone': :'String',
    'is_tpm_enabled': :'BOOLEAN',
    'is_tunnel_migration': :'BOOLEAN',
    'type': :'OCI::CloudMigrations::Models::OlvmVmType',
    'usb': :'OCI::CloudMigrations::Models::OlvmUsb',
    'is_use_latest_template_version': :'BOOLEAN',
    'is_virtio_scsi_enabled': :'BOOLEAN',
    'virtio_scsi_multi_queues': :'Integer',
    'is_virtio_scsi_multi_queues_enabled': :'BOOLEAN'
    # rubocop:enable Style/SymbolLiteral
  }
end

Instance Method Details

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • other (Object)

    the other object to be compared



766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 766

def ==(other)
  return true if equal?(other)

  self.class == other.class &&
    auto_pinning_policy == other.auto_pinning_policy &&
    bios == other.bios &&
    comment == other.comment &&
    console == other.console &&
    cpu == other.cpu &&
    cpu_pinning_policy == other.cpu_pinning_policy &&
    cpu_shares == other.cpu_shares &&
    time_created == other.time_created &&
    custom_compatibility_version == other.custom_compatibility_version &&
    custom_cpu_model == other.custom_cpu_model &&
    custom_emulated_machine == other.custom_emulated_machine &&
    custom_properties == other.custom_properties &&
    is_delete_protected == other.is_delete_protected &&
    description == other.description &&
    display == other.display &&
    domain == other.domain &&
    fqdn == other.fqdn &&
    guest_operating_system == other.guest_operating_system &&
    guest_time_zone == other.guest_time_zone &&
    is_contain_illegal_images == other.is_contain_illegal_images &&
    high_availability == other.high_availability &&
    initialization == other.initialization &&
    io_threads == other.io_threads &&
    large_icon == other.large_icon &&
    storage_domain_lease == other.storage_domain_lease &&
    memory_in_bytes == other.memory_in_bytes &&
    memory_policy == other.memory_policy &&
    migration_policy == other.migration_policy &&
    migration_downtime_in_ms == other.migration_downtime_in_ms &&
    is_multi_queues_enabled == other.is_multi_queues_enabled &&
    virtual_machine_name == other.virtual_machine_name &&
    is_next_run_configuration_exists == other.is_next_run_configuration_exists &&
    numa_tune_mode == other.numa_tune_mode &&
    origin == other.origin &&
    os == other.os &&
    placement_policy == other.placement_policy &&
    is_run_once == other.is_run_once &&
    serial_number == other.serial_number &&
    small_icon == other.small_icon &&
    is_soundcard_enabled == other.is_soundcard_enabled &&
    is_start_paused == other.is_start_paused &&
    time_start == other.time_start &&
    is_stateless == other.is_stateless &&
    status == other.status &&
    status_detail == other.status_detail &&
    stop_reason == other.stop_reason &&
    time_stop == other.time_stop &&
    storage_error_resume_behavior == other.storage_error_resume_behavior &&
    timezone == other.timezone &&
    is_tpm_enabled == other.is_tpm_enabled &&
    is_tunnel_migration == other.is_tunnel_migration &&
    type == other.type &&
    usb == other.usb &&
    is_use_latest_template_version == other.is_use_latest_template_version &&
    is_virtio_scsi_enabled == other.is_virtio_scsi_enabled &&
    virtio_scsi_multi_queues == other.virtio_scsi_multi_queues &&
    is_virtio_scsi_multi_queues_enabled == other.is_virtio_scsi_multi_queues_enabled
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 852

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)

  self.class.swagger_types.each_pair do |key, type|
    if type =~ /^Array<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        public_method("#{key}=").call(
          attributes[self.class.attribute_map[key]]
            .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
        )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      public_method("#{key}=").call(
        OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
      )
    end
    # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(other) ⇒ Boolean

Parameters:

  • other (Object)

    the other object to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


832
833
834
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 832

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



841
842
843
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 841

def hash
  [auto_pinning_policy, bios, comment, console, cpu, cpu_pinning_policy, cpu_shares, time_created, custom_compatibility_version, custom_cpu_model, custom_emulated_machine, custom_properties, is_delete_protected, description, display, domain, fqdn, guest_operating_system, guest_time_zone, is_contain_illegal_images, high_availability, initialization, io_threads, large_icon, storage_domain_lease, memory_in_bytes, memory_policy, migration_policy, migration_downtime_in_ms, is_multi_queues_enabled, virtual_machine_name, is_next_run_configuration_exists, numa_tune_mode, origin, os, placement_policy, is_run_once, serial_number, small_icon, is_soundcard_enabled, is_start_paused, time_start, is_stateless, status, status_detail, stop_reason, time_stop, storage_error_resume_behavior, timezone, is_tpm_enabled, is_tunnel_migration, type, usb, is_use_latest_template_version, is_virtio_scsi_enabled, virtio_scsi_multi_queues, is_virtio_scsi_multi_queues_enabled].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



885
886
887
888
889
890
891
892
893
894
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 885

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = public_method(attr).call
    next if value.nil? && !instance_variable_defined?("@#{attr}")

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



879
880
881
# File 'lib/oci/cloud_migrations/models/olvm_virtual_machine.rb', line 879

def to_s
  to_hash.to_s
end