Class: OvirtSDK4::Vm
- Inherits:
-
VmBase
- Object
- Struct
- Identified
- VmBase
- OvirtSDK4::Vm
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Direct Known Subclasses
Instance Method Summary (collapse)
-
- (Array<AffinityLabel>) affinity_labels
Returns the value of the
affinity_labels
attribute. -
- (Object) affinity_labels=(list)
Sets the value of the
affinity_labels
attribute. -
- (Array<Application>) applications
Returns the value of the
applications
attribute. -
- (Object) applications=(list)
Sets the value of the
applications
attribute. -
- (Bios) bios
Returns the value of the
bios
attribute. -
- (Object) bios=(value)
Sets the value of the
bios
attribute. -
- (Array<Cdrom>) cdroms
Returns the value of the
cdroms
attribute. -
- (Object) cdroms=(list)
Sets the value of the
cdroms
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. -
- (Array<DiskAttachment>) disk_attachments
Returns the value of the
disk_attachments
attribute. -
- (Object) disk_attachments=(list)
Sets the value of the
disk_attachments
attribute. -
- (Array<Disk>) disks
Returns the value of the
disks
attribute. -
- (Object) disks=(list)
Sets the value of the
disks
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. -
- (ExternalHostProvider) external_host_provider
Returns the value of the
external_host_provider
attribute. -
- (Object) external_host_provider=(value)
Sets the value of the
external_host_provider
attribute. -
- (Array<Floppy>) floppies
Returns the value of the
floppies
attribute. -
- (Object) floppies=(list)
Sets the value of the
floppies
attribute. -
- (String) fqdn
Returns the value of the
fqdn
attribute. -
- (Object) fqdn=(value)
Sets the value of the
fqdn
attribute. -
- (Array<GraphicsConsole>) graphics_consoles
Returns the value of the
graphics_consoles
attribute. -
- (Object) graphics_consoles=(list)
Sets the value of the
graphics_consoles
attribute. -
- (GuestOperatingSystem) guest_operating_system
Returns the value of the
guest_operating_system
attribute. -
- (Object) guest_operating_system=(value)
Sets the value of the
guest_operating_system
attribute. -
- (TimeZone) guest_time_zone
Returns the value of the
guest_time_zone
attribute. -
- (Object) guest_time_zone=(value)
Sets the value of the
guest_time_zone
attribute. -
- (HighAvailability) high_availability
Returns the value of the
high_availability
attribute. -
- (Object) high_availability=(value)
Sets the value of the
high_availability
attribute. -
- (Host) host
Returns the value of the
host
attribute. -
- (Object) host=(value)
Sets the value of the
host
attribute. -
- (Array<HostDevice>) host_devices
Returns the value of the
host_devices
attribute. -
- (Object) host_devices=(list)
Sets the value of the
host_devices
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. -
- (Vm) initialize(opts = {})
constructor
Creates a new instance of the Vm class.
-
- (InstanceType) instance_type
Returns the value of the
instance_type
attribute. -
- (Object) instance_type=(value)
Sets the value of the
instance_type
attribute. -
- (Io) io
Returns the value of the
io
attribute. -
- (Object) io=(value)
Sets the value of the
io
attribute. -
- (Array<KatelloErratum>) katello_errata
Returns the value of the
katello_errata
attribute. -
- (Object) katello_errata=(list)
Sets the value of the
katello_errata
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. -
- (Boolean) next_run_configuration_exists
Returns the value of the
next_run_configuration_exists
attribute. -
- (Object) next_run_configuration_exists=(value)
Sets the value of the
next_run_configuration_exists
attribute. -
- (Array<Nic>) nics
Returns the value of the
nics
attribute. -
- (Object) nics=(list)
Sets the value of the
nics
attribute. -
- (Array<NumaNode>) numa_nodes
Returns the value of the
numa_nodes
attribute. -
- (Object) numa_nodes=(list)
Sets the value of the
numa_nodes
attribute. -
- (NumaTuneMode) numa_tune_mode
Returns the value of the
numa_tune_mode
attribute. -
- (Object) numa_tune_mode=(value)
Sets the value of the
numa_tune_mode
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. -
- (Array<Payload>) payloads
Returns the value of the
payloads
attribute. -
- (Object) payloads=(list)
Sets the value of the
payloads
attribute. -
- (Array<Permission>) permissions
Returns the value of the
permissions
attribute. -
- (Object) permissions=(list)
Sets the value of the
permissions
attribute. -
- (VmPlacementPolicy) placement_policy
Returns the value of the
placement_policy
attribute. -
- (Object) placement_policy=(value)
Sets the value of the
placement_policy
attribute. -
- (Quota) quota
Returns the value of the
quota
attribute. -
- (Object) quota=(value)
Sets the value of the
quota
attribute. -
- (Array<ReportedDevice>) reported_devices
Returns the value of the
reported_devices
attribute. -
- (Object) reported_devices=(list)
Sets the value of the
reported_devices
attribute. -
- (RngDevice) rng_device
Returns the value of the
rng_device
attribute. -
- (Object) rng_device=(value)
Sets the value of the
rng_device
attribute. -
- (Boolean) run_once
Returns the value of the
run_once
attribute. -
- (Object) run_once=(value)
Sets the value of the
run_once
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<Session>) sessions
Returns the value of the
sessions
attribute. -
- (Object) sessions=(list)
Sets the value of the
sessions
attribute. -
- (Icon) small_icon
Returns the value of the
small_icon
attribute. -
- (Object) small_icon=(value)
Sets the value of the
small_icon
attribute. -
- (Array<Snapshot>) snapshots
Returns the value of the
snapshots
attribute. -
- (Object) snapshots=(list)
Sets the value of the
snapshots
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. -
- (DateTime) start_time
Returns the value of the
start_time
attribute. -
- (Object) start_time=(value)
Sets the value of the
start_time
attribute. -
- (Boolean) stateless
Returns the value of the
stateless
attribute. -
- (Object) stateless=(value)
Sets the value of the
stateless
attribute. -
- (Array<Statistic>) statistics
Returns the value of the
statistics
attribute. -
- (Object) statistics=(list)
Sets the value of the
statistics
attribute. -
- (VmStatus) status
Returns the value of the
status
attribute. -
- (Object) status=(value)
Sets the value of the
status
attribute. -
- (String) status_detail
Returns the value of the
status_detail
attribute. -
- (Object) status_detail=(value)
Sets the value of the
status_detail
attribute. -
- (String) stop_reason
Returns the value of the
stop_reason
attribute. -
- (Object) stop_reason=(value)
Sets the value of the
stop_reason
attribute. -
- (DateTime) stop_time
Returns the value of the
stop_time
attribute. -
- (Object) stop_time=(value)
Sets the value of the
stop_time
attribute. -
- (StorageDomain) storage_domain
Returns the value of the
storage_domain
attribute. -
- (Object) storage_domain=(value)
Sets the value of the
storage_domain
attribute. -
- (Array<Tag>) tags
Returns the value of the
tags
attribute. -
- (Object) tags=(list)
Sets the value of the
tags
attribute. -
- (Template) template
Returns the value of the
template
attribute. -
- (Object) template=(value)
Sets the value of the
template
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. -
- (Boolean) use_latest_template_version
Returns the value of the
use_latest_template_version
attribute. -
- (Object) use_latest_template_version=(value)
Sets the value of the
use_latest_template_version
attribute. -
- (VirtioScsi) virtio_scsi
Returns the value of the
virtio_scsi
attribute. -
- (Object) virtio_scsi=(value)
Sets the value of the
virtio_scsi
attribute. -
- (VmPool) vm_pool
Returns the value of the
vm_pool
attribute. -
- (Object) vm_pool=(value)
Sets the value of the
vm_pool
attribute. -
- (Array<Watchdog>) watchdogs
Returns the value of the
watchdogs
attribute. -
- (Object) watchdogs=(list)
Sets the value of the
watchdogs
attribute.
Methods included from Type
Constructor Details
- (Vm) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Vm class.
39848 39849 39850 39851 39852 39853 39854 39855 39856 39857 39858 39859 39860 39861 39862 39863 39864 39865 39866 39867 39868 39869 39870 39871 39872 39873 39874 39875 39876 39877 39878 39879 39880 39881 39882 39883 39884 39885 39886 39887 39888 39889 39890 39891 39892 39893 39894 39895 39896 39897 39898 39899 39900 39901 39902 39903 39904 39905 39906 39907 39908 39909 39910 39911 39912 39913 39914 39915 39916 39917 39918 39919 39920 39921 39922 39923 39924 39925 39926 39927 39928 39929 |
# File 'lib/ovirtsdk4/types.rb', line 39848 def initialize(opts = {}) super(opts) self.affinity_labels = opts[:affinity_labels] self.applications = opts[:applications] self.bios = opts[:bios] self.cdroms = opts[:cdroms] 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. = opts[:disk_attachments] self.disks = opts[:disks] self.display = opts[:display] self.domain = opts[:domain] self.external_host_provider = opts[:external_host_provider] self.floppies = opts[:floppies] self.fqdn = opts[:fqdn] self.graphics_consoles = opts[:graphics_consoles] self. = opts[:guest_operating_system] self.guest_time_zone = opts[:guest_time_zone] self.high_availability = opts[:high_availability] self.host = opts[:host] self.host_devices = opts[:host_devices] self.id = opts[:id] self.initialization = opts[:initialization] self.instance_type = opts[:instance_type] self.io = opts[:io] self.katello_errata = opts[:katello_errata] 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.next_run_configuration_exists = opts[:next_run_configuration_exists] self.nics = opts[:nics] self.numa_nodes = opts[:numa_nodes] self.numa_tune_mode = opts[:numa_tune_mode] self.origin = opts[:origin] self.os = opts[:os] self.payloads = opts[:payloads] self. = opts[:permissions] self.placement_policy = opts[:placement_policy] self.quota = opts[:quota] self.reported_devices = opts[:reported_devices] self.rng_device = opts[:rng_device] self.run_once = opts[:run_once] self.serial_number = opts[:serial_number] self.sessions = opts[:sessions] self.small_icon = opts[:small_icon] self.snapshots = opts[:snapshots] self.soundcard_enabled = opts[:soundcard_enabled] self.sso = opts[:sso] self.start_paused = opts[:start_paused] self.start_time = opts[:start_time] self.stateless = opts[:stateless] self.statistics = opts[:statistics] self.status = opts[:status] self.status_detail = opts[:status_detail] self.stop_reason = opts[:stop_reason] self.stop_time = opts[:stop_time] self.storage_domain = opts[:storage_domain] self. = opts[:tags] self.template = opts[:template] self.time_zone = opts[:time_zone] self.tunnel_migration = opts[:tunnel_migration] self.type = opts[:type] self.usb = opts[:usb] self.use_latest_template_version = opts[:use_latest_template_version] self.virtio_scsi = opts[:virtio_scsi] self.vm_pool = opts[:vm_pool] self.watchdogs = opts[:watchdogs] end |
Instance Method Details
- (Array<AffinityLabel>) affinity_labels
Returns the value of the affinity_labels
attribute.
37901 37902 37903 |
# File 'lib/ovirtsdk4/types.rb', line 37901 def affinity_labels return @affinity_labels end |
- (Object) affinity_labels=(list)
Sets the value of the affinity_labels
attribute.
37909 37910 37911 37912 37913 37914 37915 37916 37917 37918 37919 |
# File 'lib/ovirtsdk4/types.rb', line 37909 def affinity_labels=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = AffinityLabel.new(value) end end end @affinity_labels = list end |
- (Array<Application>) applications
Returns the value of the applications
attribute.
37926 37927 37928 |
# File 'lib/ovirtsdk4/types.rb', line 37926 def applications return @applications end |
- (Object) applications=(list)
Sets the value of the applications
attribute.
37934 37935 37936 37937 37938 37939 37940 37941 37942 37943 37944 |
# File 'lib/ovirtsdk4/types.rb', line 37934 def applications=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Application.new(value) end end end @applications = list end |
- (Bios) bios
Returns the value of the bios
attribute.
37951 37952 37953 |
# File 'lib/ovirtsdk4/types.rb', line 37951 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.
37964 37965 37966 37967 37968 37969 |
# File 'lib/ovirtsdk4/types.rb', line 37964 def bios=(value) if value.is_a?(Hash) value = Bios.new(value) end @bios = value end |
- (Array<Cdrom>) cdroms
Returns the value of the cdroms
attribute.
37976 37977 37978 |
# File 'lib/ovirtsdk4/types.rb', line 37976 def cdroms return @cdroms end |
- (Object) cdroms=(list)
Sets the value of the cdroms
attribute.
37984 37985 37986 37987 37988 37989 37990 37991 37992 37993 37994 |
# File 'lib/ovirtsdk4/types.rb', line 37984 def cdroms=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Cdrom.new(value) end end end @cdroms = list end |
- (Cluster) cluster
Returns the value of the cluster
attribute.
38001 38002 38003 |
# File 'lib/ovirtsdk4/types.rb', line 38001 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.
38014 38015 38016 38017 38018 38019 |
# File 'lib/ovirtsdk4/types.rb', line 38014 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.
38026 38027 38028 |
# File 'lib/ovirtsdk4/types.rb', line 38026 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
38035 38036 38037 |
# File 'lib/ovirtsdk4/types.rb', line 38035 def comment=(value) @comment = value end |
- (Console) console
Returns the value of the console
attribute.
38044 38045 38046 |
# File 'lib/ovirtsdk4/types.rb', line 38044 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.
38057 38058 38059 38060 38061 38062 |
# File 'lib/ovirtsdk4/types.rb', line 38057 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.
38069 38070 38071 |
# File 'lib/ovirtsdk4/types.rb', line 38069 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.
38082 38083 38084 38085 38086 38087 |
# File 'lib/ovirtsdk4/types.rb', line 38082 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.
38094 38095 38096 |
# File 'lib/ovirtsdk4/types.rb', line 38094 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.
38107 38108 38109 38110 38111 38112 |
# File 'lib/ovirtsdk4/types.rb', line 38107 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.
38119 38120 38121 |
# File 'lib/ovirtsdk4/types.rb', line 38119 def cpu_shares return @cpu_shares end |
- (Object) cpu_shares=(value)
Sets the value of the cpu_shares
attribute.
38128 38129 38130 |
# File 'lib/ovirtsdk4/types.rb', line 38128 def cpu_shares=(value) @cpu_shares = value end |
- (DateTime) creation_time
Returns the value of the creation_time
attribute.
38137 38138 38139 |
# File 'lib/ovirtsdk4/types.rb', line 38137 def creation_time return @creation_time end |
- (Object) creation_time=(value)
Sets the value of the creation_time
attribute.
38146 38147 38148 |
# File 'lib/ovirtsdk4/types.rb', line 38146 def creation_time=(value) @creation_time = value end |
- (Version) custom_compatibility_version
Returns the value of the custom_compatibility_version
attribute.
38155 38156 38157 |
# File 'lib/ovirtsdk4/types.rb', line 38155 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.
38168 38169 38170 38171 38172 38173 |
# File 'lib/ovirtsdk4/types.rb', line 38168 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.
38180 38181 38182 |
# File 'lib/ovirtsdk4/types.rb', line 38180 def custom_cpu_model return @custom_cpu_model end |
- (Object) custom_cpu_model=(value)
Sets the value of the custom_cpu_model
attribute.
38189 38190 38191 |
# File 'lib/ovirtsdk4/types.rb', line 38189 def custom_cpu_model=(value) @custom_cpu_model = value end |
- (String) custom_emulated_machine
Returns the value of the custom_emulated_machine
attribute.
38198 38199 38200 |
# File 'lib/ovirtsdk4/types.rb', line 38198 def custom_emulated_machine return @custom_emulated_machine end |
- (Object) custom_emulated_machine=(value)
Sets the value of the custom_emulated_machine
attribute.
38207 38208 38209 |
# File 'lib/ovirtsdk4/types.rb', line 38207 def custom_emulated_machine=(value) @custom_emulated_machine = value end |
- (Array<CustomProperty>) custom_properties
Returns the value of the custom_properties
attribute.
38216 38217 38218 |
# File 'lib/ovirtsdk4/types.rb', line 38216 def custom_properties return @custom_properties end |
- (Object) custom_properties=(list)
Sets the value of the custom_properties
attribute.
38224 38225 38226 38227 38228 38229 38230 38231 38232 38233 38234 |
# File 'lib/ovirtsdk4/types.rb', line 38224 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.
38241 38242 38243 |
# File 'lib/ovirtsdk4/types.rb', line 38241 def delete_protected return @delete_protected end |
- (Object) delete_protected=(value)
Sets the value of the delete_protected
attribute.
38250 38251 38252 |
# File 'lib/ovirtsdk4/types.rb', line 38250 def delete_protected=(value) @delete_protected = value end |
- (String) description
Returns the value of the description
attribute.
38259 38260 38261 |
# File 'lib/ovirtsdk4/types.rb', line 38259 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
38268 38269 38270 |
# File 'lib/ovirtsdk4/types.rb', line 38268 def description=(value) @description = value end |
- (Array<DiskAttachment>) disk_attachments
Returns the value of the disk_attachments
attribute.
38277 38278 38279 |
# File 'lib/ovirtsdk4/types.rb', line 38277 def return @disk_attachments end |
- (Object) disk_attachments=(list)
Sets the value of the disk_attachments
attribute.
38285 38286 38287 38288 38289 38290 38291 38292 38293 38294 38295 |
# File 'lib/ovirtsdk4/types.rb', line 38285 def (list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = DiskAttachment.new(value) end end end @disk_attachments = list end |
- (Array<Disk>) disks
Returns the value of the disks
attribute.
38302 38303 38304 |
# File 'lib/ovirtsdk4/types.rb', line 38302 def disks return @disks end |
- (Object) disks=(list)
Sets the value of the disks
attribute.
38310 38311 38312 38313 38314 38315 38316 38317 38318 38319 38320 |
# File 'lib/ovirtsdk4/types.rb', line 38310 def disks=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Disk.new(value) end end end @disks = list end |
- (Display) display
Returns the value of the display
attribute.
38327 38328 38329 |
# File 'lib/ovirtsdk4/types.rb', line 38327 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.
38340 38341 38342 38343 38344 38345 |
# File 'lib/ovirtsdk4/types.rb', line 38340 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.
38352 38353 38354 |
# File 'lib/ovirtsdk4/types.rb', line 38352 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.
38365 38366 38367 38368 38369 38370 |
# File 'lib/ovirtsdk4/types.rb', line 38365 def domain=(value) if value.is_a?(Hash) value = Domain.new(value) end @domain = value end |
- (ExternalHostProvider) external_host_provider
Returns the value of the external_host_provider
attribute.
38377 38378 38379 |
# File 'lib/ovirtsdk4/types.rb', line 38377 def external_host_provider return @external_host_provider end |
- (Object) external_host_provider=(value)
Sets the value of the external_host_provider
attribute.
The value
parameter can be an instance of ExternalHostProvider 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.
38390 38391 38392 38393 38394 38395 |
# File 'lib/ovirtsdk4/types.rb', line 38390 def external_host_provider=(value) if value.is_a?(Hash) value = ExternalHostProvider.new(value) end @external_host_provider = value end |
- (Array<Floppy>) floppies
Returns the value of the floppies
attribute.
38402 38403 38404 |
# File 'lib/ovirtsdk4/types.rb', line 38402 def floppies return @floppies end |
- (Object) floppies=(list)
Sets the value of the floppies
attribute.
38410 38411 38412 38413 38414 38415 38416 38417 38418 38419 38420 |
# File 'lib/ovirtsdk4/types.rb', line 38410 def floppies=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Floppy.new(value) end end end @floppies = list end |
- (String) fqdn
Returns the value of the fqdn
attribute.
38427 38428 38429 |
# File 'lib/ovirtsdk4/types.rb', line 38427 def fqdn return @fqdn end |
- (Object) fqdn=(value)
Sets the value of the fqdn
attribute.
38436 38437 38438 |
# File 'lib/ovirtsdk4/types.rb', line 38436 def fqdn=(value) @fqdn = value end |
- (Array<GraphicsConsole>) graphics_consoles
Returns the value of the graphics_consoles
attribute.
38445 38446 38447 |
# File 'lib/ovirtsdk4/types.rb', line 38445 def graphics_consoles return @graphics_consoles end |
- (Object) graphics_consoles=(list)
Sets the value of the graphics_consoles
attribute.
38453 38454 38455 38456 38457 38458 38459 38460 38461 38462 38463 |
# File 'lib/ovirtsdk4/types.rb', line 38453 def graphics_consoles=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = GraphicsConsole.new(value) end end end @graphics_consoles = list end |
- (GuestOperatingSystem) guest_operating_system
Returns the value of the guest_operating_system
attribute.
38470 38471 38472 |
# File 'lib/ovirtsdk4/types.rb', line 38470 def return @guest_operating_system end |
- (Object) guest_operating_system=(value)
Sets the value of the guest_operating_system
attribute.
The value
parameter can be an instance of GuestOperatingSystem 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.
38483 38484 38485 38486 38487 38488 |
# File 'lib/ovirtsdk4/types.rb', line 38483 def (value) if value.is_a?(Hash) value = GuestOperatingSystem.new(value) end @guest_operating_system = value end |
- (TimeZone) guest_time_zone
Returns the value of the guest_time_zone
attribute.
38495 38496 38497 |
# File 'lib/ovirtsdk4/types.rb', line 38495 def guest_time_zone return @guest_time_zone end |
- (Object) guest_time_zone=(value)
Sets the value of the guest_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.
38508 38509 38510 38511 38512 38513 |
# File 'lib/ovirtsdk4/types.rb', line 38508 def guest_time_zone=(value) if value.is_a?(Hash) value = TimeZone.new(value) end @guest_time_zone = value end |
- (HighAvailability) high_availability
Returns the value of the high_availability
attribute.
38520 38521 38522 |
# File 'lib/ovirtsdk4/types.rb', line 38520 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.
38533 38534 38535 38536 38537 38538 |
# File 'lib/ovirtsdk4/types.rb', line 38533 def high_availability=(value) if value.is_a?(Hash) value = HighAvailability.new(value) end @high_availability = value end |
- (Host) host
Returns the value of the host
attribute.
38545 38546 38547 |
# File 'lib/ovirtsdk4/types.rb', line 38545 def host return @host end |
- (Object) host=(value)
Sets the value of the host
attribute.
The value
parameter can be an instance of Host 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.
38558 38559 38560 38561 38562 38563 |
# File 'lib/ovirtsdk4/types.rb', line 38558 def host=(value) if value.is_a?(Hash) value = Host.new(value) end @host = value end |
- (Array<HostDevice>) host_devices
Returns the value of the host_devices
attribute.
38570 38571 38572 |
# File 'lib/ovirtsdk4/types.rb', line 38570 def host_devices return @host_devices end |
- (Object) host_devices=(list)
Sets the value of the host_devices
attribute.
38578 38579 38580 38581 38582 38583 38584 38585 38586 38587 38588 |
# File 'lib/ovirtsdk4/types.rb', line 38578 def host_devices=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = HostDevice.new(value) end end end @host_devices = list end |
- (String) id
Returns the value of the id
attribute.
38595 38596 38597 |
# File 'lib/ovirtsdk4/types.rb', line 38595 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
38604 38605 38606 |
# File 'lib/ovirtsdk4/types.rb', line 38604 def id=(value) @id = value end |
- (Initialization) initialization
Returns the value of the initialization
attribute.
38613 38614 38615 |
# File 'lib/ovirtsdk4/types.rb', line 38613 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.
38626 38627 38628 38629 38630 38631 |
# File 'lib/ovirtsdk4/types.rb', line 38626 def initialization=(value) if value.is_a?(Hash) value = Initialization.new(value) end @initialization = value end |
- (InstanceType) instance_type
Returns the value of the instance_type
attribute.
38638 38639 38640 |
# File 'lib/ovirtsdk4/types.rb', line 38638 def instance_type return @instance_type end |
- (Object) instance_type=(value)
Sets the value of the instance_type
attribute.
The value
parameter can be an instance of InstanceType 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.
38651 38652 38653 38654 38655 38656 |
# File 'lib/ovirtsdk4/types.rb', line 38651 def instance_type=(value) if value.is_a?(Hash) value = InstanceType.new(value) end @instance_type = value end |
- (Io) io
Returns the value of the io
attribute.
38663 38664 38665 |
# File 'lib/ovirtsdk4/types.rb', line 38663 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.
38676 38677 38678 38679 38680 38681 |
# File 'lib/ovirtsdk4/types.rb', line 38676 def io=(value) if value.is_a?(Hash) value = Io.new(value) end @io = value end |
- (Array<KatelloErratum>) katello_errata
Returns the value of the katello_errata
attribute.
38688 38689 38690 |
# File 'lib/ovirtsdk4/types.rb', line 38688 def katello_errata return @katello_errata end |
- (Object) katello_errata=(list)
Sets the value of the katello_errata
attribute.
38696 38697 38698 38699 38700 38701 38702 38703 38704 38705 38706 |
# File 'lib/ovirtsdk4/types.rb', line 38696 def katello_errata=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = KatelloErratum.new(value) end end end @katello_errata = list end |
- (Icon) large_icon
Returns the value of the large_icon
attribute.
38713 38714 38715 |
# File 'lib/ovirtsdk4/types.rb', line 38713 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.
38726 38727 38728 38729 38730 38731 |
# File 'lib/ovirtsdk4/types.rb', line 38726 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.
38738 38739 38740 |
# File 'lib/ovirtsdk4/types.rb', line 38738 def memory return @memory end |
- (Object) memory=(value)
Sets the value of the memory
attribute.
38747 38748 38749 |
# File 'lib/ovirtsdk4/types.rb', line 38747 def memory=(value) @memory = value end |
- (MemoryPolicy) memory_policy
Returns the value of the memory_policy
attribute.
38756 38757 38758 |
# File 'lib/ovirtsdk4/types.rb', line 38756 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.
38769 38770 38771 38772 38773 38774 |
# File 'lib/ovirtsdk4/types.rb', line 38769 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.
38781 38782 38783 |
# File 'lib/ovirtsdk4/types.rb', line 38781 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.
38794 38795 38796 38797 38798 38799 |
# File 'lib/ovirtsdk4/types.rb', line 38794 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.
38806 38807 38808 |
# File 'lib/ovirtsdk4/types.rb', line 38806 def migration_downtime return @migration_downtime end |
- (Object) migration_downtime=(value)
Sets the value of the migration_downtime
attribute.
38815 38816 38817 |
# File 'lib/ovirtsdk4/types.rb', line 38815 def migration_downtime=(value) @migration_downtime = value end |
- (String) name
Returns the value of the name
attribute.
38824 38825 38826 |
# File 'lib/ovirtsdk4/types.rb', line 38824 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
38833 38834 38835 |
# File 'lib/ovirtsdk4/types.rb', line 38833 def name=(value) @name = value end |
- (Boolean) next_run_configuration_exists
Returns the value of the next_run_configuration_exists
attribute.
38842 38843 38844 |
# File 'lib/ovirtsdk4/types.rb', line 38842 def next_run_configuration_exists return @next_run_configuration_exists end |
- (Object) next_run_configuration_exists=(value)
Sets the value of the next_run_configuration_exists
attribute.
38851 38852 38853 |
# File 'lib/ovirtsdk4/types.rb', line 38851 def next_run_configuration_exists=(value) @next_run_configuration_exists = value end |
- (Array<Nic>) nics
Returns the value of the nics
attribute.
38860 38861 38862 |
# File 'lib/ovirtsdk4/types.rb', line 38860 def nics return @nics end |
- (Object) nics=(list)
Sets the value of the nics
attribute.
38868 38869 38870 38871 38872 38873 38874 38875 38876 38877 38878 |
# File 'lib/ovirtsdk4/types.rb', line 38868 def nics=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Nic.new(value) end end end @nics = list end |
- (Array<NumaNode>) numa_nodes
Returns the value of the numa_nodes
attribute.
38885 38886 38887 |
# File 'lib/ovirtsdk4/types.rb', line 38885 def numa_nodes return @numa_nodes end |
- (Object) numa_nodes=(list)
Sets the value of the numa_nodes
attribute.
38893 38894 38895 38896 38897 38898 38899 38900 38901 38902 38903 |
# File 'lib/ovirtsdk4/types.rb', line 38893 def numa_nodes=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = NumaNode.new(value) end end end @numa_nodes = list end |
- (NumaTuneMode) numa_tune_mode
Returns the value of the numa_tune_mode
attribute.
38910 38911 38912 |
# File 'lib/ovirtsdk4/types.rb', line 38910 def numa_tune_mode return @numa_tune_mode end |
- (Object) numa_tune_mode=(value)
Sets the value of the numa_tune_mode
attribute.
38919 38920 38921 |
# File 'lib/ovirtsdk4/types.rb', line 38919 def numa_tune_mode=(value) @numa_tune_mode = value end |
- (String) origin
Returns the value of the origin
attribute.
38928 38929 38930 |
# File 'lib/ovirtsdk4/types.rb', line 38928 def origin return @origin end |
- (Object) origin=(value)
Sets the value of the origin
attribute.
38937 38938 38939 |
# File 'lib/ovirtsdk4/types.rb', line 38937 def origin=(value) @origin = value end |
- (OperatingSystem) os
Returns the value of the os
attribute.
38946 38947 38948 |
# File 'lib/ovirtsdk4/types.rb', line 38946 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.
38959 38960 38961 38962 38963 38964 |
# File 'lib/ovirtsdk4/types.rb', line 38959 def os=(value) if value.is_a?(Hash) value = OperatingSystem.new(value) end @os = value end |
- (Array<Payload>) payloads
Returns the value of the payloads
attribute.
38971 38972 38973 |
# File 'lib/ovirtsdk4/types.rb', line 38971 def payloads return @payloads end |
- (Object) payloads=(list)
Sets the value of the payloads
attribute.
38979 38980 38981 38982 38983 38984 38985 38986 38987 38988 38989 |
# File 'lib/ovirtsdk4/types.rb', line 38979 def payloads=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Payload.new(value) end end end @payloads = list end |
- (Array<Permission>) permissions
Returns the value of the permissions
attribute.
38996 38997 38998 |
# File 'lib/ovirtsdk4/types.rb', line 38996 def return @permissions end |
- (Object) permissions=(list)
Sets the value of the permissions
attribute.
39004 39005 39006 39007 39008 39009 39010 39011 39012 39013 39014 |
# File 'lib/ovirtsdk4/types.rb', line 39004 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 |
- (VmPlacementPolicy) placement_policy
Returns the value of the placement_policy
attribute.
39021 39022 39023 |
# File 'lib/ovirtsdk4/types.rb', line 39021 def placement_policy return @placement_policy end |
- (Object) placement_policy=(value)
Sets the value of the placement_policy
attribute.
The value
parameter can be an instance of OvirtSDK4::VmPlacementPolicy 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.
39034 39035 39036 39037 39038 39039 |
# File 'lib/ovirtsdk4/types.rb', line 39034 def placement_policy=(value) if value.is_a?(Hash) value = VmPlacementPolicy.new(value) end @placement_policy = value end |
- (Quota) quota
Returns the value of the quota
attribute.
39046 39047 39048 |
# File 'lib/ovirtsdk4/types.rb', line 39046 def quota return @quota end |
- (Object) quota=(value)
Sets the value of the quota
attribute.
The value
parameter can be an instance of Quota 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.
39059 39060 39061 39062 39063 39064 |
# File 'lib/ovirtsdk4/types.rb', line 39059 def quota=(value) if value.is_a?(Hash) value = Quota.new(value) end @quota = value end |
- (Array<ReportedDevice>) reported_devices
Returns the value of the reported_devices
attribute.
39071 39072 39073 |
# File 'lib/ovirtsdk4/types.rb', line 39071 def reported_devices return @reported_devices end |
- (Object) reported_devices=(list)
Sets the value of the reported_devices
attribute.
39079 39080 39081 39082 39083 39084 39085 39086 39087 39088 39089 |
# File 'lib/ovirtsdk4/types.rb', line 39079 def reported_devices=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = ReportedDevice.new(value) end end end @reported_devices = list end |
- (RngDevice) rng_device
Returns the value of the rng_device
attribute.
39096 39097 39098 |
# File 'lib/ovirtsdk4/types.rb', line 39096 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.
39109 39110 39111 39112 39113 39114 |
# File 'lib/ovirtsdk4/types.rb', line 39109 def rng_device=(value) if value.is_a?(Hash) value = RngDevice.new(value) end @rng_device = value end |
- (Boolean) run_once
Returns the value of the run_once
attribute.
39121 39122 39123 |
# File 'lib/ovirtsdk4/types.rb', line 39121 def run_once return @run_once end |
- (Object) run_once=(value)
Sets the value of the run_once
attribute.
39130 39131 39132 |
# File 'lib/ovirtsdk4/types.rb', line 39130 def run_once=(value) @run_once = value end |
- (SerialNumber) serial_number
Returns the value of the serial_number
attribute.
39139 39140 39141 |
# File 'lib/ovirtsdk4/types.rb', line 39139 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.
39152 39153 39154 39155 39156 39157 |
# File 'lib/ovirtsdk4/types.rb', line 39152 def serial_number=(value) if value.is_a?(Hash) value = SerialNumber.new(value) end @serial_number = value end |
- (Array<Session>) sessions
Returns the value of the sessions
attribute.
39164 39165 39166 |
# File 'lib/ovirtsdk4/types.rb', line 39164 def sessions return @sessions end |
- (Object) sessions=(list)
Sets the value of the sessions
attribute.
39172 39173 39174 39175 39176 39177 39178 39179 39180 39181 39182 |
# File 'lib/ovirtsdk4/types.rb', line 39172 def sessions=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Session.new(value) end end end @sessions = list end |
- (Icon) small_icon
Returns the value of the small_icon
attribute.
39189 39190 39191 |
# File 'lib/ovirtsdk4/types.rb', line 39189 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.
39202 39203 39204 39205 39206 39207 |
# File 'lib/ovirtsdk4/types.rb', line 39202 def small_icon=(value) if value.is_a?(Hash) value = Icon.new(value) end @small_icon = value end |
- (Array<Snapshot>) snapshots
Returns the value of the snapshots
attribute.
39214 39215 39216 |
# File 'lib/ovirtsdk4/types.rb', line 39214 def snapshots return @snapshots end |
- (Object) snapshots=(list)
Sets the value of the snapshots
attribute.
39222 39223 39224 39225 39226 39227 39228 39229 39230 39231 39232 |
# File 'lib/ovirtsdk4/types.rb', line 39222 def snapshots=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Snapshot.new(value) end end end @snapshots = list end |
- (Boolean) soundcard_enabled
Returns the value of the soundcard_enabled
attribute.
39239 39240 39241 |
# File 'lib/ovirtsdk4/types.rb', line 39239 def soundcard_enabled return @soundcard_enabled end |
- (Object) soundcard_enabled=(value)
Sets the value of the soundcard_enabled
attribute.
39248 39249 39250 |
# File 'lib/ovirtsdk4/types.rb', line 39248 def soundcard_enabled=(value) @soundcard_enabled = value end |
- (Sso) sso
Returns the value of the sso
attribute.
39257 39258 39259 |
# File 'lib/ovirtsdk4/types.rb', line 39257 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.
39270 39271 39272 39273 39274 39275 |
# File 'lib/ovirtsdk4/types.rb', line 39270 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.
39282 39283 39284 |
# File 'lib/ovirtsdk4/types.rb', line 39282 def start_paused return @start_paused end |
- (Object) start_paused=(value)
Sets the value of the start_paused
attribute.
39291 39292 39293 |
# File 'lib/ovirtsdk4/types.rb', line 39291 def start_paused=(value) @start_paused = value end |
- (DateTime) start_time
Returns the value of the start_time
attribute.
39300 39301 39302 |
# File 'lib/ovirtsdk4/types.rb', line 39300 def start_time return @start_time end |
- (Object) start_time=(value)
Sets the value of the start_time
attribute.
39309 39310 39311 |
# File 'lib/ovirtsdk4/types.rb', line 39309 def start_time=(value) @start_time = value end |
- (Boolean) stateless
Returns the value of the stateless
attribute.
39318 39319 39320 |
# File 'lib/ovirtsdk4/types.rb', line 39318 def stateless return @stateless end |
- (Object) stateless=(value)
Sets the value of the stateless
attribute.
39327 39328 39329 |
# File 'lib/ovirtsdk4/types.rb', line 39327 def stateless=(value) @stateless = value end |
- (Array<Statistic>) statistics
Returns the value of the statistics
attribute.
39336 39337 39338 |
# File 'lib/ovirtsdk4/types.rb', line 39336 def statistics return @statistics end |
- (Object) statistics=(list)
Sets the value of the statistics
attribute.
39344 39345 39346 39347 39348 39349 39350 39351 39352 39353 39354 |
# File 'lib/ovirtsdk4/types.rb', line 39344 def statistics=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Statistic.new(value) end end end @statistics = list end |
- (VmStatus) status
Returns the value of the status
attribute.
39361 39362 39363 |
# File 'lib/ovirtsdk4/types.rb', line 39361 def status return @status end |
- (Object) status=(value)
Sets the value of the status
attribute.
39370 39371 39372 |
# File 'lib/ovirtsdk4/types.rb', line 39370 def status=(value) @status = value end |
- (String) status_detail
Returns the value of the status_detail
attribute.
39379 39380 39381 |
# File 'lib/ovirtsdk4/types.rb', line 39379 def status_detail return @status_detail end |
- (Object) status_detail=(value)
Sets the value of the status_detail
attribute.
39388 39389 39390 |
# File 'lib/ovirtsdk4/types.rb', line 39388 def status_detail=(value) @status_detail = value end |
- (String) stop_reason
Returns the value of the stop_reason
attribute.
39397 39398 39399 |
# File 'lib/ovirtsdk4/types.rb', line 39397 def stop_reason return @stop_reason end |
- (Object) stop_reason=(value)
Sets the value of the stop_reason
attribute.
39406 39407 39408 |
# File 'lib/ovirtsdk4/types.rb', line 39406 def stop_reason=(value) @stop_reason = value end |
- (DateTime) stop_time
Returns the value of the stop_time
attribute.
39415 39416 39417 |
# File 'lib/ovirtsdk4/types.rb', line 39415 def stop_time return @stop_time end |
- (Object) stop_time=(value)
Sets the value of the stop_time
attribute.
39424 39425 39426 |
# File 'lib/ovirtsdk4/types.rb', line 39424 def stop_time=(value) @stop_time = value end |
- (StorageDomain) storage_domain
Returns the value of the storage_domain
attribute.
39433 39434 39435 |
# File 'lib/ovirtsdk4/types.rb', line 39433 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.
39446 39447 39448 39449 39450 39451 |
# File 'lib/ovirtsdk4/types.rb', line 39446 def storage_domain=(value) if value.is_a?(Hash) value = StorageDomain.new(value) end @storage_domain = value end |
- (Array<Tag>) tags
Returns the value of the tags
attribute.
39458 39459 39460 |
# File 'lib/ovirtsdk4/types.rb', line 39458 def return @tags end |
- (Object) tags=(list)
Sets the value of the tags
attribute.
39466 39467 39468 39469 39470 39471 39472 39473 39474 39475 39476 |
# File 'lib/ovirtsdk4/types.rb', line 39466 def (list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Tag.new(value) end end end @tags = list end |
- (Template) template
Returns the value of the template
attribute.
39483 39484 39485 |
# File 'lib/ovirtsdk4/types.rb', line 39483 def template return @template end |
- (Object) template=(value)
Sets the value of the template
attribute.
The value
parameter can be an instance of Template 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.
39496 39497 39498 39499 39500 39501 |
# File 'lib/ovirtsdk4/types.rb', line 39496 def template=(value) if value.is_a?(Hash) value = Template.new(value) end @template = value end |
- (TimeZone) time_zone
Returns the value of the time_zone
attribute.
39508 39509 39510 |
# File 'lib/ovirtsdk4/types.rb', line 39508 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.
39521 39522 39523 39524 39525 39526 |
# File 'lib/ovirtsdk4/types.rb', line 39521 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.
39533 39534 39535 |
# File 'lib/ovirtsdk4/types.rb', line 39533 def tunnel_migration return @tunnel_migration end |
- (Object) tunnel_migration=(value)
Sets the value of the tunnel_migration
attribute.
39542 39543 39544 |
# File 'lib/ovirtsdk4/types.rb', line 39542 def tunnel_migration=(value) @tunnel_migration = value end |
- (VmType) type
Returns the value of the type
attribute.
39551 39552 39553 |
# File 'lib/ovirtsdk4/types.rb', line 39551 def type return @type end |
- (Object) type=(value)
Sets the value of the type
attribute.
39560 39561 39562 |
# File 'lib/ovirtsdk4/types.rb', line 39560 def type=(value) @type = value end |
- (Usb) usb
Returns the value of the usb
attribute.
39569 39570 39571 |
# File 'lib/ovirtsdk4/types.rb', line 39569 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.
39582 39583 39584 39585 39586 39587 |
# File 'lib/ovirtsdk4/types.rb', line 39582 def usb=(value) if value.is_a?(Hash) value = Usb.new(value) end @usb = value end |
- (Boolean) use_latest_template_version
Returns the value of the use_latest_template_version
attribute.
39594 39595 39596 |
# File 'lib/ovirtsdk4/types.rb', line 39594 def use_latest_template_version return @use_latest_template_version end |
- (Object) use_latest_template_version=(value)
Sets the value of the use_latest_template_version
attribute.
39603 39604 39605 |
# File 'lib/ovirtsdk4/types.rb', line 39603 def use_latest_template_version=(value) @use_latest_template_version = value end |
- (VirtioScsi) virtio_scsi
Returns the value of the virtio_scsi
attribute.
39612 39613 39614 |
# File 'lib/ovirtsdk4/types.rb', line 39612 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.
39625 39626 39627 39628 39629 39630 |
# File 'lib/ovirtsdk4/types.rb', line 39625 def virtio_scsi=(value) if value.is_a?(Hash) value = VirtioScsi.new(value) end @virtio_scsi = value end |
- (VmPool) vm_pool
Returns the value of the vm_pool
attribute.
39637 39638 39639 |
# File 'lib/ovirtsdk4/types.rb', line 39637 def vm_pool return @vm_pool end |
- (Object) vm_pool=(value)
Sets the value of the vm_pool
attribute.
The value
parameter can be an instance of OvirtSDK4::VmPool 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.
39650 39651 39652 39653 39654 39655 |
# File 'lib/ovirtsdk4/types.rb', line 39650 def vm_pool=(value) if value.is_a?(Hash) value = VmPool.new(value) end @vm_pool = value end |
- (Array<Watchdog>) watchdogs
Returns the value of the watchdogs
attribute.
39662 39663 39664 |
# File 'lib/ovirtsdk4/types.rb', line 39662 def watchdogs return @watchdogs end |
- (Object) watchdogs=(list)
Sets the value of the watchdogs
attribute.
39670 39671 39672 39673 39674 39675 39676 39677 39678 39679 39680 |
# File 'lib/ovirtsdk4/types.rb', line 39670 def watchdogs=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Watchdog.new(value) end end end @watchdogs = list end |