Class: OvirtSDK4::VmBase
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::VmBase
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Bios) bios
Returns the value of the
bios
attribute. -
- (Object) bios=(value)
Sets the value of the
bios
attribute. -
- (Cluster) cluster
Returns the value of the
cluster
attribute. -
- (Object) cluster=(value)
Sets the value of the
cluster
attribute. -
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (Console) console
Returns the value of the
console
attribute. -
- (Object) console=(value)
Sets the value of the
console
attribute. -
- (Cpu) cpu
Returns the value of the
cpu
attribute. -
- (Object) cpu=(value)
Sets the value of the
cpu
attribute. -
- (CpuProfile) cpu_profile
Returns the value of the
cpu_profile
attribute. -
- (Object) cpu_profile=(value)
Sets the value of the
cpu_profile
attribute. -
- (Integer) cpu_shares
Returns the value of the
cpu_shares
attribute. -
- (Object) cpu_shares=(value)
Sets the value of the
cpu_shares
attribute. -
- (DateTime) creation_time
Returns the value of the
creation_time
attribute. -
- (Object) creation_time=(value)
Sets the value of the
creation_time
attribute. -
- (Version) custom_compatibility_version
Returns the value of the
custom_compatibility_version
attribute. -
- (Object) custom_compatibility_version=(value)
Sets the value of the
custom_compatibility_version
attribute. -
- (String) custom_cpu_model
Returns the value of the
custom_cpu_model
attribute. -
- (Object) custom_cpu_model=(value)
Sets the value of the
custom_cpu_model
attribute. -
- (String) custom_emulated_machine
Returns the value of the
custom_emulated_machine
attribute. -
- (Object) custom_emulated_machine=(value)
Sets the value of the
custom_emulated_machine
attribute. -
- (Array<CustomProperty>) custom_properties
Returns the value of the
custom_properties
attribute. -
- (Object) custom_properties=(list)
Sets the value of the
custom_properties
attribute. -
- (Boolean) delete_protected
Returns the value of the
delete_protected
attribute. -
- (Object) delete_protected=(value)
Sets the value of the
delete_protected
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (Display) display
Returns the value of the
display
attribute. -
- (Object) display=(value)
Sets the value of the
display
attribute. -
- (Domain) domain
Returns the value of the
domain
attribute. -
- (Object) domain=(value)
Sets the value of the
domain
attribute. -
- (HighAvailability) high_availability
Returns the value of the
high_availability
attribute. -
- (Object) high_availability=(value)
Sets the value of the
high_availability
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (Initialization) initialization
Returns the value of the
initialization
attribute. -
- (Object) initialization=(value)
Sets the value of the
initialization
attribute. -
- (VmBase) initialize(opts = {})
constructor
Creates a new instance of the VmBase class.
-
- (Io) io
Returns the value of the
io
attribute. -
- (Object) io=(value)
Sets the value of the
io
attribute. -
- (Icon) large_icon
Returns the value of the
large_icon
attribute. -
- (Object) large_icon=(value)
Sets the value of the
large_icon
attribute. -
- (Integer) memory
Returns the value of the
memory
attribute. -
- (Object) memory=(value)
Sets the value of the
memory
attribute. -
- (MemoryPolicy) memory_policy
Returns the value of the
memory_policy
attribute. -
- (Object) memory_policy=(value)
Sets the value of the
memory_policy
attribute. -
- (MigrationOptions) migration
Returns the value of the
migration
attribute. -
- (Object) migration=(value)
Sets the value of the
migration
attribute. -
- (Integer) migration_downtime
Returns the value of the
migration_downtime
attribute. -
- (Object) migration_downtime=(value)
Sets the value of the
migration_downtime
attribute. -
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (String) origin
Returns the value of the
origin
attribute. -
- (Object) origin=(value)
Sets the value of the
origin
attribute. -
- (OperatingSystem) os
Returns the value of the
os
attribute. -
- (Object) os=(value)
Sets the value of the
os
attribute. -
- (RngDevice) rng_device
Returns the value of the
rng_device
attribute. -
- (Object) rng_device=(value)
Sets the value of the
rng_device
attribute. -
- (SerialNumber) serial_number
Returns the value of the
serial_number
attribute. -
- (Object) serial_number=(value)
Sets the value of the
serial_number
attribute. -
- (Icon) small_icon
Returns the value of the
small_icon
attribute. -
- (Object) small_icon=(value)
Sets the value of the
small_icon
attribute. -
- (Boolean) soundcard_enabled
Returns the value of the
soundcard_enabled
attribute. -
- (Object) soundcard_enabled=(value)
Sets the value of the
soundcard_enabled
attribute. -
- (Sso) sso
Returns the value of the
sso
attribute. -
- (Object) sso=(value)
Sets the value of the
sso
attribute. -
- (Boolean) start_paused
Returns the value of the
start_paused
attribute. -
- (Object) start_paused=(value)
Sets the value of the
start_paused
attribute. -
- (Boolean) stateless
Returns the value of the
stateless
attribute. -
- (Object) stateless=(value)
Sets the value of the
stateless
attribute. -
- (StorageDomain) storage_domain
Returns the value of the
storage_domain
attribute. -
- (Object) storage_domain=(value)
Sets the value of the
storage_domain
attribute. -
- (TimeZone) time_zone
Returns the value of the
time_zone
attribute. -
- (Object) time_zone=(value)
Sets the value of the
time_zone
attribute. -
- (Boolean) tunnel_migration
Returns the value of the
tunnel_migration
attribute. -
- (Object) tunnel_migration=(value)
Sets the value of the
tunnel_migration
attribute. -
- (VmType) type
Returns the value of the
type
attribute. -
- (Object) type=(value)
Sets the value of the
type
attribute. -
- (Usb) usb
Returns the value of the
usb
attribute. -
- (Object) usb=(value)
Sets the value of the
usb
attribute. -
- (VirtioScsi) virtio_scsi
Returns the value of the
virtio_scsi
attribute. -
- (Object) virtio_scsi=(value)
Sets the value of the
virtio_scsi
attribute.
Methods included from Type
Constructor Details
- (VmBase) initialize(opts = {})
Creates a new instance of the OvirtSDK4::VmBase class.
19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 |
# File 'lib/ovirtsdk4/types.rb', line 19570 def initialize(opts = {}) super(opts) self.bios = opts[:bios] self.cluster = opts[:cluster] self.comment = opts[:comment] self.console = opts[:console] self.cpu = opts[:cpu] self.cpu_profile = opts[:cpu_profile] self.cpu_shares = opts[:cpu_shares] self.creation_time = opts[:creation_time] self.custom_compatibility_version = opts[:custom_compatibility_version] self.custom_cpu_model = opts[:custom_cpu_model] self.custom_emulated_machine = opts[:custom_emulated_machine] self.custom_properties = opts[:custom_properties] self.delete_protected = opts[:delete_protected] self.description = opts[:description] self.display = opts[:display] self.domain = opts[:domain] self.high_availability = opts[:high_availability] self.id = opts[:id] self.initialization = opts[:initialization] self.io = opts[:io] self.large_icon = opts[:large_icon] self.memory = opts[:memory] self.memory_policy = opts[:memory_policy] self.migration = opts[:migration] self.migration_downtime = opts[:migration_downtime] self.name = opts[:name] self.origin = opts[:origin] self.os = opts[:os] self.rng_device = opts[:rng_device] self.serial_number = opts[:serial_number] self.small_icon = opts[:small_icon] self.soundcard_enabled = opts[:soundcard_enabled] self.sso = opts[:sso] self.start_paused = opts[:start_paused] self.stateless = opts[:stateless] self.storage_domain = opts[:storage_domain] self.time_zone = opts[:time_zone] self.tunnel_migration = opts[:tunnel_migration] self.type = opts[:type] self.usb = opts[:usb] self.virtio_scsi = opts[:virtio_scsi] end |
Instance Method Details
- (Bios) bios
Returns the value of the bios
attribute.
18579 18580 18581 |
# File 'lib/ovirtsdk4/types.rb', line 18579 def bios return @bios end |
- (Object) bios=(value)
Sets the value of the bios
attribute.
The value
parameter can be an instance of Bios or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
18592 18593 18594 18595 18596 18597 |
# File 'lib/ovirtsdk4/types.rb', line 18592 def bios=(value) if value.is_a?(Hash) value = Bios.new(value) end @bios = value end |
- (Cluster) cluster
Returns the value of the cluster
attribute.
18604 18605 18606 |
# File 'lib/ovirtsdk4/types.rb', line 18604 def cluster return @cluster end |
- (Object) cluster=(value)
Sets the value of the cluster
attribute.
The value
parameter can be an instance of Cluster or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
18617 18618 18619 18620 18621 18622 |
# File 'lib/ovirtsdk4/types.rb', line 18617 def cluster=(value) if value.is_a?(Hash) value = Cluster.new(value) end @cluster = value end |
- (String) comment
Returns the value of the comment
attribute.
18629 18630 18631 |
# File 'lib/ovirtsdk4/types.rb', line 18629 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
18638 18639 18640 |
# File 'lib/ovirtsdk4/types.rb', line 18638 def comment=(value) @comment = value end |
- (Console) console
Returns the value of the console
attribute.
18647 18648 18649 |
# File 'lib/ovirtsdk4/types.rb', line 18647 def console return @console end |
- (Object) console=(value)
Sets the value of the console
attribute.
The value
parameter can be an instance of Console or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
18660 18661 18662 18663 18664 18665 |
# File 'lib/ovirtsdk4/types.rb', line 18660 def console=(value) if value.is_a?(Hash) value = Console.new(value) end @console = value end |
- (Cpu) cpu
Returns the value of the cpu
attribute.
18672 18673 18674 |
# File 'lib/ovirtsdk4/types.rb', line 18672 def cpu return @cpu end |
- (Object) cpu=(value)
Sets the value of the cpu
attribute.
The value
parameter can be an instance of Cpu or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
18685 18686 18687 18688 18689 18690 |
# File 'lib/ovirtsdk4/types.rb', line 18685 def cpu=(value) if value.is_a?(Hash) value = Cpu.new(value) end @cpu = value end |
- (CpuProfile) cpu_profile
Returns the value of the cpu_profile
attribute.
18697 18698 18699 |
# File 'lib/ovirtsdk4/types.rb', line 18697 def cpu_profile return @cpu_profile end |
- (Object) cpu_profile=(value)
Sets the value of the cpu_profile
attribute.
The value
parameter can be an instance of CpuProfile or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
18710 18711 18712 18713 18714 18715 |
# File 'lib/ovirtsdk4/types.rb', line 18710 def cpu_profile=(value) if value.is_a?(Hash) value = CpuProfile.new(value) end @cpu_profile = value end |
- (Integer) cpu_shares
Returns the value of the cpu_shares
attribute.
18722 18723 18724 |
# File 'lib/ovirtsdk4/types.rb', line 18722 def cpu_shares return @cpu_shares end |
- (Object) cpu_shares=(value)
Sets the value of the cpu_shares
attribute.
18731 18732 18733 |
# File 'lib/ovirtsdk4/types.rb', line 18731 def cpu_shares=(value) @cpu_shares = value end |
- (DateTime) creation_time
Returns the value of the creation_time
attribute.
18740 18741 18742 |
# File 'lib/ovirtsdk4/types.rb', line 18740 def creation_time return @creation_time end |
- (Object) creation_time=(value)
Sets the value of the creation_time
attribute.
18749 18750 18751 |
# File 'lib/ovirtsdk4/types.rb', line 18749 def creation_time=(value) @creation_time = value end |
- (Version) custom_compatibility_version
Returns the value of the custom_compatibility_version
attribute.
18758 18759 18760 |
# File 'lib/ovirtsdk4/types.rb', line 18758 def custom_compatibility_version return @custom_compatibility_version end |
- (Object) custom_compatibility_version=(value)
Sets the value of the custom_compatibility_version
attribute.
The value
parameter can be an instance of OvirtSDK4::Version or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
18771 18772 18773 18774 18775 18776 |
# File 'lib/ovirtsdk4/types.rb', line 18771 def custom_compatibility_version=(value) if value.is_a?(Hash) value = Version.new(value) end @custom_compatibility_version = value end |
- (String) custom_cpu_model
Returns the value of the custom_cpu_model
attribute.
18783 18784 18785 |
# File 'lib/ovirtsdk4/types.rb', line 18783 def custom_cpu_model return @custom_cpu_model end |
- (Object) custom_cpu_model=(value)
Sets the value of the custom_cpu_model
attribute.
18792 18793 18794 |
# File 'lib/ovirtsdk4/types.rb', line 18792 def custom_cpu_model=(value) @custom_cpu_model = value end |
- (String) custom_emulated_machine
Returns the value of the custom_emulated_machine
attribute.
18801 18802 18803 |
# File 'lib/ovirtsdk4/types.rb', line 18801 def custom_emulated_machine return @custom_emulated_machine end |
- (Object) custom_emulated_machine=(value)
Sets the value of the custom_emulated_machine
attribute.
18810 18811 18812 |
# File 'lib/ovirtsdk4/types.rb', line 18810 def custom_emulated_machine=(value) @custom_emulated_machine = value end |
- (Array<CustomProperty>) custom_properties
Returns the value of the custom_properties
attribute.
18819 18820 18821 |
# File 'lib/ovirtsdk4/types.rb', line 18819 def custom_properties return @custom_properties end |
- (Object) custom_properties=(list)
Sets the value of the custom_properties
attribute.
18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 |
# File 'lib/ovirtsdk4/types.rb', line 18827 def custom_properties=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = CustomProperty.new(value) end end end @custom_properties = list end |
- (Boolean) delete_protected
Returns the value of the delete_protected
attribute.
18844 18845 18846 |
# File 'lib/ovirtsdk4/types.rb', line 18844 def delete_protected return @delete_protected end |
- (Object) delete_protected=(value)
Sets the value of the delete_protected
attribute.
18853 18854 18855 |
# File 'lib/ovirtsdk4/types.rb', line 18853 def delete_protected=(value) @delete_protected = value end |
- (String) description
Returns the value of the description
attribute.
18862 18863 18864 |
# File 'lib/ovirtsdk4/types.rb', line 18862 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
18871 18872 18873 |
# File 'lib/ovirtsdk4/types.rb', line 18871 def description=(value) @description = value end |
- (Display) display
Returns the value of the display
attribute.
18880 18881 18882 |
# File 'lib/ovirtsdk4/types.rb', line 18880 def display return @display end |
- (Object) display=(value)
Sets the value of the display
attribute.
The value
parameter can be an instance of Display or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
18893 18894 18895 18896 18897 18898 |
# File 'lib/ovirtsdk4/types.rb', line 18893 def display=(value) if value.is_a?(Hash) value = Display.new(value) end @display = value end |
- (Domain) domain
Returns the value of the domain
attribute.
18905 18906 18907 |
# File 'lib/ovirtsdk4/types.rb', line 18905 def domain return @domain end |
- (Object) domain=(value)
Sets the value of the domain
attribute.
The value
parameter can be an instance of Domain or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
18918 18919 18920 18921 18922 18923 |
# File 'lib/ovirtsdk4/types.rb', line 18918 def domain=(value) if value.is_a?(Hash) value = Domain.new(value) end @domain = value end |
- (HighAvailability) high_availability
Returns the value of the high_availability
attribute.
18930 18931 18932 |
# File 'lib/ovirtsdk4/types.rb', line 18930 def high_availability return @high_availability end |
- (Object) high_availability=(value)
Sets the value of the high_availability
attribute.
The value
parameter can be an instance of HighAvailability or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
18943 18944 18945 18946 18947 18948 |
# File 'lib/ovirtsdk4/types.rb', line 18943 def high_availability=(value) if value.is_a?(Hash) value = HighAvailability.new(value) end @high_availability = value end |
- (String) id
Returns the value of the id
attribute.
18955 18956 18957 |
# File 'lib/ovirtsdk4/types.rb', line 18955 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
18964 18965 18966 |
# File 'lib/ovirtsdk4/types.rb', line 18964 def id=(value) @id = value end |
- (Initialization) initialization
Returns the value of the initialization
attribute.
18973 18974 18975 |
# File 'lib/ovirtsdk4/types.rb', line 18973 def initialization return @initialization end |
- (Object) initialization=(value)
Sets the value of the initialization
attribute.
The value
parameter can be an instance of Initialization or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
18986 18987 18988 18989 18990 18991 |
# File 'lib/ovirtsdk4/types.rb', line 18986 def initialization=(value) if value.is_a?(Hash) value = Initialization.new(value) end @initialization = value end |
- (Io) io
Returns the value of the io
attribute.
18998 18999 19000 |
# File 'lib/ovirtsdk4/types.rb', line 18998 def io return @io end |
- (Object) io=(value)
Sets the value of the io
attribute.
The value
parameter can be an instance of Io or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19011 19012 19013 19014 19015 19016 |
# File 'lib/ovirtsdk4/types.rb', line 19011 def io=(value) if value.is_a?(Hash) value = Io.new(value) end @io = value end |
- (Icon) large_icon
Returns the value of the large_icon
attribute.
19023 19024 19025 |
# File 'lib/ovirtsdk4/types.rb', line 19023 def large_icon return @large_icon end |
- (Object) large_icon=(value)
Sets the value of the large_icon
attribute.
The value
parameter can be an instance of Icon or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19036 19037 19038 19039 19040 19041 |
# File 'lib/ovirtsdk4/types.rb', line 19036 def large_icon=(value) if value.is_a?(Hash) value = Icon.new(value) end @large_icon = value end |
- (Integer) memory
Returns the value of the memory
attribute.
19048 19049 19050 |
# File 'lib/ovirtsdk4/types.rb', line 19048 def memory return @memory end |
- (Object) memory=(value)
Sets the value of the memory
attribute.
19057 19058 19059 |
# File 'lib/ovirtsdk4/types.rb', line 19057 def memory=(value) @memory = value end |
- (MemoryPolicy) memory_policy
Returns the value of the memory_policy
attribute.
19066 19067 19068 |
# File 'lib/ovirtsdk4/types.rb', line 19066 def memory_policy return @memory_policy end |
- (Object) memory_policy=(value)
Sets the value of the memory_policy
attribute.
The value
parameter can be an instance of MemoryPolicy or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19079 19080 19081 19082 19083 19084 |
# File 'lib/ovirtsdk4/types.rb', line 19079 def memory_policy=(value) if value.is_a?(Hash) value = MemoryPolicy.new(value) end @memory_policy = value end |
- (MigrationOptions) migration
Returns the value of the migration
attribute.
19091 19092 19093 |
# File 'lib/ovirtsdk4/types.rb', line 19091 def migration return @migration end |
- (Object) migration=(value)
Sets the value of the migration
attribute.
The value
parameter can be an instance of MigrationOptions or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19104 19105 19106 19107 19108 19109 |
# File 'lib/ovirtsdk4/types.rb', line 19104 def migration=(value) if value.is_a?(Hash) value = MigrationOptions.new(value) end @migration = value end |
- (Integer) migration_downtime
Returns the value of the migration_downtime
attribute.
19116 19117 19118 |
# File 'lib/ovirtsdk4/types.rb', line 19116 def migration_downtime return @migration_downtime end |
- (Object) migration_downtime=(value)
Sets the value of the migration_downtime
attribute.
19125 19126 19127 |
# File 'lib/ovirtsdk4/types.rb', line 19125 def migration_downtime=(value) @migration_downtime = value end |
- (String) name
Returns the value of the name
attribute.
19134 19135 19136 |
# File 'lib/ovirtsdk4/types.rb', line 19134 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
19143 19144 19145 |
# File 'lib/ovirtsdk4/types.rb', line 19143 def name=(value) @name = value end |
- (String) origin
Returns the value of the origin
attribute.
19152 19153 19154 |
# File 'lib/ovirtsdk4/types.rb', line 19152 def origin return @origin end |
- (Object) origin=(value)
Sets the value of the origin
attribute.
19161 19162 19163 |
# File 'lib/ovirtsdk4/types.rb', line 19161 def origin=(value) @origin = value end |
- (OperatingSystem) os
Returns the value of the os
attribute.
19170 19171 19172 |
# File 'lib/ovirtsdk4/types.rb', line 19170 def os return @os end |
- (Object) os=(value)
Sets the value of the os
attribute.
The value
parameter can be an instance of OperatingSystem or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19183 19184 19185 19186 19187 19188 |
# File 'lib/ovirtsdk4/types.rb', line 19183 def os=(value) if value.is_a?(Hash) value = OperatingSystem.new(value) end @os = value end |
- (RngDevice) rng_device
Returns the value of the rng_device
attribute.
19195 19196 19197 |
# File 'lib/ovirtsdk4/types.rb', line 19195 def rng_device return @rng_device end |
- (Object) rng_device=(value)
Sets the value of the rng_device
attribute.
The value
parameter can be an instance of RngDevice or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19208 19209 19210 19211 19212 19213 |
# File 'lib/ovirtsdk4/types.rb', line 19208 def rng_device=(value) if value.is_a?(Hash) value = RngDevice.new(value) end @rng_device = value end |
- (SerialNumber) serial_number
Returns the value of the serial_number
attribute.
19220 19221 19222 |
# File 'lib/ovirtsdk4/types.rb', line 19220 def serial_number return @serial_number end |
- (Object) serial_number=(value)
Sets the value of the serial_number
attribute.
The value
parameter can be an instance of SerialNumber or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19233 19234 19235 19236 19237 19238 |
# File 'lib/ovirtsdk4/types.rb', line 19233 def serial_number=(value) if value.is_a?(Hash) value = SerialNumber.new(value) end @serial_number = value end |
- (Icon) small_icon
Returns the value of the small_icon
attribute.
19245 19246 19247 |
# File 'lib/ovirtsdk4/types.rb', line 19245 def small_icon return @small_icon end |
- (Object) small_icon=(value)
Sets the value of the small_icon
attribute.
The value
parameter can be an instance of Icon or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19258 19259 19260 19261 19262 19263 |
# File 'lib/ovirtsdk4/types.rb', line 19258 def small_icon=(value) if value.is_a?(Hash) value = Icon.new(value) end @small_icon = value end |
- (Boolean) soundcard_enabled
Returns the value of the soundcard_enabled
attribute.
19270 19271 19272 |
# File 'lib/ovirtsdk4/types.rb', line 19270 def soundcard_enabled return @soundcard_enabled end |
- (Object) soundcard_enabled=(value)
Sets the value of the soundcard_enabled
attribute.
19279 19280 19281 |
# File 'lib/ovirtsdk4/types.rb', line 19279 def soundcard_enabled=(value) @soundcard_enabled = value end |
- (Sso) sso
Returns the value of the sso
attribute.
19288 19289 19290 |
# File 'lib/ovirtsdk4/types.rb', line 19288 def sso return @sso end |
- (Object) sso=(value)
Sets the value of the sso
attribute.
The value
parameter can be an instance of Sso or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19301 19302 19303 19304 19305 19306 |
# File 'lib/ovirtsdk4/types.rb', line 19301 def sso=(value) if value.is_a?(Hash) value = Sso.new(value) end @sso = value end |
- (Boolean) start_paused
Returns the value of the start_paused
attribute.
19313 19314 19315 |
# File 'lib/ovirtsdk4/types.rb', line 19313 def start_paused return @start_paused end |
- (Object) start_paused=(value)
Sets the value of the start_paused
attribute.
19322 19323 19324 |
# File 'lib/ovirtsdk4/types.rb', line 19322 def start_paused=(value) @start_paused = value end |
- (Boolean) stateless
Returns the value of the stateless
attribute.
19331 19332 19333 |
# File 'lib/ovirtsdk4/types.rb', line 19331 def stateless return @stateless end |
- (Object) stateless=(value)
Sets the value of the stateless
attribute.
19340 19341 19342 |
# File 'lib/ovirtsdk4/types.rb', line 19340 def stateless=(value) @stateless = value end |
- (StorageDomain) storage_domain
Returns the value of the storage_domain
attribute.
19349 19350 19351 |
# File 'lib/ovirtsdk4/types.rb', line 19349 def storage_domain return @storage_domain end |
- (Object) storage_domain=(value)
Sets the value of the storage_domain
attribute.
The value
parameter can be an instance of StorageDomain or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19362 19363 19364 19365 19366 19367 |
# File 'lib/ovirtsdk4/types.rb', line 19362 def storage_domain=(value) if value.is_a?(Hash) value = StorageDomain.new(value) end @storage_domain = value end |
- (TimeZone) time_zone
Returns the value of the time_zone
attribute.
19374 19375 19376 |
# File 'lib/ovirtsdk4/types.rb', line 19374 def time_zone return @time_zone end |
- (Object) time_zone=(value)
Sets the value of the time_zone
attribute.
The value
parameter can be an instance of TimeZone or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19387 19388 19389 19390 19391 19392 |
# File 'lib/ovirtsdk4/types.rb', line 19387 def time_zone=(value) if value.is_a?(Hash) value = TimeZone.new(value) end @time_zone = value end |
- (Boolean) tunnel_migration
Returns the value of the tunnel_migration
attribute.
19399 19400 19401 |
# File 'lib/ovirtsdk4/types.rb', line 19399 def tunnel_migration return @tunnel_migration end |
- (Object) tunnel_migration=(value)
Sets the value of the tunnel_migration
attribute.
19408 19409 19410 |
# File 'lib/ovirtsdk4/types.rb', line 19408 def tunnel_migration=(value) @tunnel_migration = value end |
- (VmType) type
Returns the value of the type
attribute.
19417 19418 19419 |
# File 'lib/ovirtsdk4/types.rb', line 19417 def type return @type end |
- (Object) type=(value)
Sets the value of the type
attribute.
19426 19427 19428 |
# File 'lib/ovirtsdk4/types.rb', line 19426 def type=(value) @type = value end |
- (Usb) usb
Returns the value of the usb
attribute.
19435 19436 19437 |
# File 'lib/ovirtsdk4/types.rb', line 19435 def usb return @usb end |
- (Object) usb=(value)
Sets the value of the usb
attribute.
The value
parameter can be an instance of Usb or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19448 19449 19450 19451 19452 19453 |
# File 'lib/ovirtsdk4/types.rb', line 19448 def usb=(value) if value.is_a?(Hash) value = Usb.new(value) end @usb = value end |
- (VirtioScsi) virtio_scsi
Returns the value of the virtio_scsi
attribute.
19460 19461 19462 |
# File 'lib/ovirtsdk4/types.rb', line 19460 def virtio_scsi return @virtio_scsi end |
- (Object) virtio_scsi=(value)
Sets the value of the virtio_scsi
attribute.
The value
parameter can be an instance of OvirtSDK4::VirtioScsi or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
19473 19474 19475 19476 19477 19478 |
# File 'lib/ovirtsdk4/types.rb', line 19473 def virtio_scsi=(value) if value.is_a?(Hash) value = VirtioScsi.new(value) end @virtio_scsi = value end |