Class: OvirtSDK4::Cluster
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Cluster
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Array<AffinityGroup>) affinity_groups
Returns the value of the
affinity_groups
attribute. -
- (Object) affinity_groups=(list)
Sets the value of the
affinity_groups
attribute. -
- (Boolean) ballooning_enabled
Returns the value of the
ballooning_enabled
attribute. -
- (Object) ballooning_enabled=(value)
Sets the value of the
ballooning_enabled
attribute. -
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (Cpu) cpu
Returns the value of the
cpu
attribute. -
- (Object) cpu=(value)
Sets the value of the
cpu
attribute. -
- (Array<CpuProfile>) cpu_profiles
Returns the value of the
cpu_profiles
attribute. -
- (Object) cpu_profiles=(list)
Sets the value of the
cpu_profiles
attribute. -
- (DataCenter) data_center
Returns the value of the
data_center
attribute. -
- (Object) data_center=(value)
Sets the value of the
data_center
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. -
- (ErrorHandling) error_handling
Returns the value of the
error_handling
attribute. -
- (Object) error_handling=(value)
Sets the value of the
error_handling
attribute. -
- (FencingPolicy) fencing_policy
Returns the value of the
fencing_policy
attribute. -
- (Object) fencing_policy=(value)
Sets the value of the
fencing_policy
attribute. -
- (Array<GlusterHook>) gluster_hooks
Returns the value of the
gluster_hooks
attribute. -
- (Object) gluster_hooks=(list)
Sets the value of the
gluster_hooks
attribute. -
- (Boolean) gluster_service
Returns the value of the
gluster_service
attribute. -
- (Object) gluster_service=(value)
Sets the value of the
gluster_service
attribute. -
- (Array<GlusterVolume>) gluster_volumes
Returns the value of the
gluster_volumes
attribute. -
- (Object) gluster_volumes=(list)
Sets the value of the
gluster_volumes
attribute. -
- (Boolean) ha_reservation
Returns the value of the
ha_reservation
attribute. -
- (Object) ha_reservation=(value)
Sets the value of the
ha_reservation
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (Cluster) initialize(opts = {})
constructor
Creates a new instance of the Cluster class.
-
- (Ksm) ksm
Returns the value of the
ksm
attribute. -
- (Object) ksm=(value)
Sets the value of the
ksm
attribute. -
- (MacPool) mac_pool
Returns the value of the
mac_pool
attribute. -
- (Object) mac_pool=(value)
Sets the value of the
mac_pool
attribute. -
- (Boolean) maintenance_reason_required
Returns the value of the
maintenance_reason_required
attribute. -
- (Object) maintenance_reason_required=(value)
Sets the value of the
maintenance_reason_required
attribute. -
- (Network) management_network
Returns the value of the
management_network
attribute. -
- (Object) management_network=(value)
Sets the value of the
management_network
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. -
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (Array<NetworkFilter>) network_filters
Returns the value of the
network_filters
attribute. -
- (Object) network_filters=(list)
Sets the value of the
network_filters
attribute. -
- (Array<Network>) networks
Returns the value of the
networks
attribute. -
- (Object) networks=(list)
Sets the value of the
networks
attribute. -
- (Boolean) optional_reason
Returns the value of the
optional_reason
attribute. -
- (Object) optional_reason=(value)
Sets the value of the
optional_reason
attribute. -
- (Array<Permission>) permissions
Returns the value of the
permissions
attribute. -
- (Object) permissions=(list)
Sets the value of the
permissions
attribute. -
- (Array<RngSource>) required_rng_sources
Returns the value of the
required_rng_sources
attribute. -
- (Object) required_rng_sources=(list)
Sets the value of the
required_rng_sources
attribute. -
- (SchedulingPolicy) scheduling_policy
Returns the value of the
scheduling_policy
attribute. -
- (Object) scheduling_policy=(value)
Sets the value of the
scheduling_policy
attribute. -
- (SerialNumber) serial_number
Returns the value of the
serial_number
attribute. -
- (Object) serial_number=(value)
Sets the value of the
serial_number
attribute. -
- (Array<Version>) supported_versions
Returns the value of the
supported_versions
attribute. -
- (Object) supported_versions=(list)
Sets the value of the
supported_versions
attribute. -
- (Boolean) threads_as_cores
Returns the value of the
threads_as_cores
attribute. -
- (Object) threads_as_cores=(value)
Sets the value of the
threads_as_cores
attribute. -
- (Boolean) trusted_service
Returns the value of the
trusted_service
attribute. -
- (Object) trusted_service=(value)
Sets the value of the
trusted_service
attribute. -
- (Boolean) tunnel_migration
Returns the value of the
tunnel_migration
attribute. -
- (Object) tunnel_migration=(value)
Sets the value of the
tunnel_migration
attribute. -
- (Version) version
Returns the value of the
version
attribute. -
- (Object) version=(value)
Sets the value of the
version
attribute. -
- (Boolean) virt_service
Returns the value of the
virt_service
attribute. -
- (Object) virt_service=(value)
Sets the value of the
virt_service
attribute.
Methods included from Type
Constructor Details
- (Cluster) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Cluster class.
24713 24714 24715 24716 24717 24718 24719 24720 24721 24722 24723 24724 24725 24726 24727 24728 24729 24730 24731 24732 24733 24734 24735 24736 24737 24738 24739 24740 24741 24742 24743 24744 24745 24746 24747 24748 24749 24750 |
# File 'lib/ovirtsdk4/types.rb', line 24713 def initialize(opts = {}) super(opts) self.affinity_groups = opts[:affinity_groups] self.ballooning_enabled = opts[:ballooning_enabled] self.comment = opts[:comment] self.cpu = opts[:cpu] self.cpu_profiles = opts[:cpu_profiles] self.data_center = opts[:data_center] self.description = opts[:description] self.display = opts[:display] self.error_handling = opts[:error_handling] self.fencing_policy = opts[:fencing_policy] self.gluster_hooks = opts[:gluster_hooks] self.gluster_service = opts[:gluster_service] self.gluster_volumes = opts[:gluster_volumes] self.ha_reservation = opts[:ha_reservation] self.id = opts[:id] self.ksm = opts[:ksm] self.mac_pool = opts[:mac_pool] self.maintenance_reason_required = opts[:maintenance_reason_required] self.management_network = opts[:management_network] self.memory_policy = opts[:memory_policy] self.migration = opts[:migration] self.name = opts[:name] self.network_filters = opts[:network_filters] self.networks = opts[:networks] self.optional_reason = opts[:optional_reason] self. = opts[:permissions] self.required_rng_sources = opts[:required_rng_sources] self.scheduling_policy = opts[:scheduling_policy] self.serial_number = opts[:serial_number] self.supported_versions = opts[:supported_versions] self.threads_as_cores = opts[:threads_as_cores] self.trusted_service = opts[:trusted_service] self.tunnel_migration = opts[:tunnel_migration] self.version = opts[:version] self.virt_service = opts[:virt_service] end |
Instance Method Details
- (Array<AffinityGroup>) affinity_groups
Returns the value of the affinity_groups
attribute.
23864 23865 23866 |
# File 'lib/ovirtsdk4/types.rb', line 23864 def affinity_groups return @affinity_groups end |
- (Object) affinity_groups=(list)
Sets the value of the affinity_groups
attribute.
23872 23873 23874 23875 23876 23877 23878 23879 23880 23881 23882 |
# File 'lib/ovirtsdk4/types.rb', line 23872 def affinity_groups=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = AffinityGroup.new(value) end end end @affinity_groups = list end |
- (Boolean) ballooning_enabled
Returns the value of the ballooning_enabled
attribute.
23889 23890 23891 |
# File 'lib/ovirtsdk4/types.rb', line 23889 def ballooning_enabled return @ballooning_enabled end |
- (Object) ballooning_enabled=(value)
Sets the value of the ballooning_enabled
attribute.
23898 23899 23900 |
# File 'lib/ovirtsdk4/types.rb', line 23898 def ballooning_enabled=(value) @ballooning_enabled = value end |
- (String) comment
Returns the value of the comment
attribute.
23907 23908 23909 |
# File 'lib/ovirtsdk4/types.rb', line 23907 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
23916 23917 23918 |
# File 'lib/ovirtsdk4/types.rb', line 23916 def comment=(value) @comment = value end |
- (Cpu) cpu
Returns the value of the cpu
attribute.
23925 23926 23927 |
# File 'lib/ovirtsdk4/types.rb', line 23925 def cpu return @cpu end |
- (Object) cpu=(value)
Sets the value of the cpu
attribute.
The value
parameter can be an instance of OvirtSDK4::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.
23938 23939 23940 23941 23942 23943 |
# File 'lib/ovirtsdk4/types.rb', line 23938 def cpu=(value) if value.is_a?(Hash) value = Cpu.new(value) end @cpu = value end |
- (Array<CpuProfile>) cpu_profiles
Returns the value of the cpu_profiles
attribute.
23950 23951 23952 |
# File 'lib/ovirtsdk4/types.rb', line 23950 def cpu_profiles return @cpu_profiles end |
- (Object) cpu_profiles=(list)
Sets the value of the cpu_profiles
attribute.
23958 23959 23960 23961 23962 23963 23964 23965 23966 23967 23968 |
# File 'lib/ovirtsdk4/types.rb', line 23958 def cpu_profiles=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = CpuProfile.new(value) end end end @cpu_profiles = list end |
- (DataCenter) data_center
Returns the value of the data_center
attribute.
23975 23976 23977 |
# File 'lib/ovirtsdk4/types.rb', line 23975 def data_center return @data_center end |
- (Object) data_center=(value)
Sets the value of the data_center
attribute.
The value
parameter can be an instance of DataCenter 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.
23988 23989 23990 23991 23992 23993 |
# File 'lib/ovirtsdk4/types.rb', line 23988 def data_center=(value) if value.is_a?(Hash) value = DataCenter.new(value) end @data_center = value end |
- (String) description
Returns the value of the description
attribute.
24000 24001 24002 |
# File 'lib/ovirtsdk4/types.rb', line 24000 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
24009 24010 24011 |
# File 'lib/ovirtsdk4/types.rb', line 24009 def description=(value) @description = value end |
- (Display) display
Returns the value of the display
attribute.
24018 24019 24020 |
# File 'lib/ovirtsdk4/types.rb', line 24018 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.
24031 24032 24033 24034 24035 24036 |
# File 'lib/ovirtsdk4/types.rb', line 24031 def display=(value) if value.is_a?(Hash) value = Display.new(value) end @display = value end |
- (ErrorHandling) error_handling
Returns the value of the error_handling
attribute.
24043 24044 24045 |
# File 'lib/ovirtsdk4/types.rb', line 24043 def error_handling return @error_handling end |
- (Object) error_handling=(value)
Sets the value of the error_handling
attribute.
The value
parameter can be an instance of ErrorHandling 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.
24056 24057 24058 24059 24060 24061 |
# File 'lib/ovirtsdk4/types.rb', line 24056 def error_handling=(value) if value.is_a?(Hash) value = ErrorHandling.new(value) end @error_handling = value end |
- (FencingPolicy) fencing_policy
Returns the value of the fencing_policy
attribute.
24068 24069 24070 |
# File 'lib/ovirtsdk4/types.rb', line 24068 def fencing_policy return @fencing_policy end |
- (Object) fencing_policy=(value)
Sets the value of the fencing_policy
attribute.
The value
parameter can be an instance of FencingPolicy 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.
24081 24082 24083 24084 24085 24086 |
# File 'lib/ovirtsdk4/types.rb', line 24081 def fencing_policy=(value) if value.is_a?(Hash) value = FencingPolicy.new(value) end @fencing_policy = value end |
- (Array<GlusterHook>) gluster_hooks
Returns the value of the gluster_hooks
attribute.
24093 24094 24095 |
# File 'lib/ovirtsdk4/types.rb', line 24093 def gluster_hooks return @gluster_hooks end |
- (Object) gluster_hooks=(list)
Sets the value of the gluster_hooks
attribute.
24101 24102 24103 24104 24105 24106 24107 24108 24109 24110 24111 |
# File 'lib/ovirtsdk4/types.rb', line 24101 def gluster_hooks=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = GlusterHook.new(value) end end end @gluster_hooks = list end |
- (Boolean) gluster_service
Returns the value of the gluster_service
attribute.
24118 24119 24120 |
# File 'lib/ovirtsdk4/types.rb', line 24118 def gluster_service return @gluster_service end |
- (Object) gluster_service=(value)
Sets the value of the gluster_service
attribute.
24127 24128 24129 |
# File 'lib/ovirtsdk4/types.rb', line 24127 def gluster_service=(value) @gluster_service = value end |
- (Array<GlusterVolume>) gluster_volumes
Returns the value of the gluster_volumes
attribute.
24136 24137 24138 |
# File 'lib/ovirtsdk4/types.rb', line 24136 def gluster_volumes return @gluster_volumes end |
- (Object) gluster_volumes=(list)
Sets the value of the gluster_volumes
attribute.
24144 24145 24146 24147 24148 24149 24150 24151 24152 24153 24154 |
# File 'lib/ovirtsdk4/types.rb', line 24144 def gluster_volumes=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = GlusterVolume.new(value) end end end @gluster_volumes = list end |
- (Boolean) ha_reservation
Returns the value of the ha_reservation
attribute.
24161 24162 24163 |
# File 'lib/ovirtsdk4/types.rb', line 24161 def ha_reservation return @ha_reservation end |
- (Object) ha_reservation=(value)
Sets the value of the ha_reservation
attribute.
24170 24171 24172 |
# File 'lib/ovirtsdk4/types.rb', line 24170 def ha_reservation=(value) @ha_reservation = value end |
- (String) id
Returns the value of the id
attribute.
24179 24180 24181 |
# File 'lib/ovirtsdk4/types.rb', line 24179 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
24188 24189 24190 |
# File 'lib/ovirtsdk4/types.rb', line 24188 def id=(value) @id = value end |
- (Ksm) ksm
Returns the value of the ksm
attribute.
24197 24198 24199 |
# File 'lib/ovirtsdk4/types.rb', line 24197 def ksm return @ksm end |
- (Object) ksm=(value)
Sets the value of the ksm
attribute.
The value
parameter can be an instance of Ksm 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.
24210 24211 24212 24213 24214 24215 |
# File 'lib/ovirtsdk4/types.rb', line 24210 def ksm=(value) if value.is_a?(Hash) value = Ksm.new(value) end @ksm = value end |
- (MacPool) mac_pool
Returns the value of the mac_pool
attribute.
24222 24223 24224 |
# File 'lib/ovirtsdk4/types.rb', line 24222 def mac_pool return @mac_pool end |
- (Object) mac_pool=(value)
Sets the value of the mac_pool
attribute.
The value
parameter can be an instance of MacPool 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.
24235 24236 24237 24238 24239 24240 |
# File 'lib/ovirtsdk4/types.rb', line 24235 def mac_pool=(value) if value.is_a?(Hash) value = MacPool.new(value) end @mac_pool = value end |
- (Boolean) maintenance_reason_required
Returns the value of the maintenance_reason_required
attribute.
24247 24248 24249 |
# File 'lib/ovirtsdk4/types.rb', line 24247 def maintenance_reason_required return @maintenance_reason_required end |
- (Object) maintenance_reason_required=(value)
Sets the value of the maintenance_reason_required
attribute.
24256 24257 24258 |
# File 'lib/ovirtsdk4/types.rb', line 24256 def maintenance_reason_required=(value) @maintenance_reason_required = value end |
- (Network) management_network
Returns the value of the management_network
attribute.
24265 24266 24267 |
# File 'lib/ovirtsdk4/types.rb', line 24265 def management_network return @management_network end |
- (Object) management_network=(value)
Sets the value of the management_network
attribute.
The value
parameter can be an instance of Network 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.
24278 24279 24280 24281 24282 24283 |
# File 'lib/ovirtsdk4/types.rb', line 24278 def management_network=(value) if value.is_a?(Hash) value = Network.new(value) end @management_network = value end |
- (MemoryPolicy) memory_policy
Returns the value of the memory_policy
attribute.
24290 24291 24292 |
# File 'lib/ovirtsdk4/types.rb', line 24290 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.
24303 24304 24305 24306 24307 24308 |
# File 'lib/ovirtsdk4/types.rb', line 24303 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.
24315 24316 24317 |
# File 'lib/ovirtsdk4/types.rb', line 24315 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.
24328 24329 24330 24331 24332 24333 |
# File 'lib/ovirtsdk4/types.rb', line 24328 def migration=(value) if value.is_a?(Hash) value = MigrationOptions.new(value) end @migration = value end |
- (String) name
Returns the value of the name
attribute.
24340 24341 24342 |
# File 'lib/ovirtsdk4/types.rb', line 24340 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
24349 24350 24351 |
# File 'lib/ovirtsdk4/types.rb', line 24349 def name=(value) @name = value end |
- (Array<NetworkFilter>) network_filters
Returns the value of the network_filters
attribute.
24358 24359 24360 |
# File 'lib/ovirtsdk4/types.rb', line 24358 def network_filters return @network_filters end |
- (Object) network_filters=(list)
Sets the value of the network_filters
attribute.
24366 24367 24368 24369 24370 24371 24372 24373 24374 24375 24376 |
# File 'lib/ovirtsdk4/types.rb', line 24366 def network_filters=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = NetworkFilter.new(value) end end end @network_filters = list end |
- (Array<Network>) networks
Returns the value of the networks
attribute.
24383 24384 24385 |
# File 'lib/ovirtsdk4/types.rb', line 24383 def networks return @networks end |
- (Object) networks=(list)
Sets the value of the networks
attribute.
24391 24392 24393 24394 24395 24396 24397 24398 24399 24400 24401 |
# File 'lib/ovirtsdk4/types.rb', line 24391 def networks=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Network.new(value) end end end @networks = list end |
- (Boolean) optional_reason
Returns the value of the optional_reason
attribute.
24408 24409 24410 |
# File 'lib/ovirtsdk4/types.rb', line 24408 def optional_reason return @optional_reason end |
- (Object) optional_reason=(value)
Sets the value of the optional_reason
attribute.
24417 24418 24419 |
# File 'lib/ovirtsdk4/types.rb', line 24417 def optional_reason=(value) @optional_reason = value end |
- (Array<Permission>) permissions
Returns the value of the permissions
attribute.
24426 24427 24428 |
# File 'lib/ovirtsdk4/types.rb', line 24426 def return @permissions end |
- (Object) permissions=(list)
Sets the value of the permissions
attribute.
24434 24435 24436 24437 24438 24439 24440 24441 24442 24443 24444 |
# File 'lib/ovirtsdk4/types.rb', line 24434 def (list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Permission.new(value) end end end @permissions = list end |
- (Array<RngSource>) required_rng_sources
Returns the value of the required_rng_sources
attribute.
24451 24452 24453 |
# File 'lib/ovirtsdk4/types.rb', line 24451 def required_rng_sources return @required_rng_sources end |
- (Object) required_rng_sources=(list)
Sets the value of the required_rng_sources
attribute.
24459 24460 24461 |
# File 'lib/ovirtsdk4/types.rb', line 24459 def required_rng_sources=(list) @required_rng_sources = list end |
- (SchedulingPolicy) scheduling_policy
Returns the value of the scheduling_policy
attribute.
24468 24469 24470 |
# File 'lib/ovirtsdk4/types.rb', line 24468 def scheduling_policy return @scheduling_policy end |
- (Object) scheduling_policy=(value)
Sets the value of the scheduling_policy
attribute.
The value
parameter can be an instance of SchedulingPolicy 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.
24481 24482 24483 24484 24485 24486 |
# File 'lib/ovirtsdk4/types.rb', line 24481 def scheduling_policy=(value) if value.is_a?(Hash) value = SchedulingPolicy.new(value) end @scheduling_policy = value end |
- (SerialNumber) serial_number
Returns the value of the serial_number
attribute.
24493 24494 24495 |
# File 'lib/ovirtsdk4/types.rb', line 24493 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.
24506 24507 24508 24509 24510 24511 |
# File 'lib/ovirtsdk4/types.rb', line 24506 def serial_number=(value) if value.is_a?(Hash) value = SerialNumber.new(value) end @serial_number = value end |
- (Array<Version>) supported_versions
Returns the value of the supported_versions
attribute.
24518 24519 24520 |
# File 'lib/ovirtsdk4/types.rb', line 24518 def supported_versions return @supported_versions end |
- (Object) supported_versions=(list)
Sets the value of the supported_versions
attribute.
24526 24527 24528 24529 24530 24531 24532 24533 24534 24535 24536 |
# File 'lib/ovirtsdk4/types.rb', line 24526 def supported_versions=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Version.new(value) end end end @supported_versions = list end |
- (Boolean) threads_as_cores
Returns the value of the threads_as_cores
attribute.
24543 24544 24545 |
# File 'lib/ovirtsdk4/types.rb', line 24543 def threads_as_cores return @threads_as_cores end |
- (Object) threads_as_cores=(value)
Sets the value of the threads_as_cores
attribute.
24552 24553 24554 |
# File 'lib/ovirtsdk4/types.rb', line 24552 def threads_as_cores=(value) @threads_as_cores = value end |
- (Boolean) trusted_service
Returns the value of the trusted_service
attribute.
24561 24562 24563 |
# File 'lib/ovirtsdk4/types.rb', line 24561 def trusted_service return @trusted_service end |
- (Object) trusted_service=(value)
Sets the value of the trusted_service
attribute.
24570 24571 24572 |
# File 'lib/ovirtsdk4/types.rb', line 24570 def trusted_service=(value) @trusted_service = value end |
- (Boolean) tunnel_migration
Returns the value of the tunnel_migration
attribute.
24579 24580 24581 |
# File 'lib/ovirtsdk4/types.rb', line 24579 def tunnel_migration return @tunnel_migration end |
- (Object) tunnel_migration=(value)
Sets the value of the tunnel_migration
attribute.
24588 24589 24590 |
# File 'lib/ovirtsdk4/types.rb', line 24588 def tunnel_migration=(value) @tunnel_migration = value end |
- (Version) version
Returns the value of the version
attribute.
24597 24598 24599 |
# File 'lib/ovirtsdk4/types.rb', line 24597 def version return @version end |
- (Object) version=(value)
Sets the value of the version
attribute.
The value
parameter can be an instance of 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.
24610 24611 24612 24613 24614 24615 |
# File 'lib/ovirtsdk4/types.rb', line 24610 def version=(value) if value.is_a?(Hash) value = Version.new(value) end @version = value end |
- (Boolean) virt_service
Returns the value of the virt_service
attribute.
24622 24623 24624 |
# File 'lib/ovirtsdk4/types.rb', line 24622 def virt_service return @virt_service end |
- (Object) virt_service=(value)
Sets the value of the virt_service
attribute.
24631 24632 24633 |
# File 'lib/ovirtsdk4/types.rb', line 24631 def virt_service=(value) @virt_service = value end |