Class: OvirtSDK4::Vm

Inherits:
VmBase show all
Defined in:
lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb

Direct Known Subclasses

Snapshot

Instance Method Summary (collapse)

Methods included from Type

#href, #href=

Constructor Details

- (Vm) initialize(opts = {})

Creates a new instance of the OvirtSDK4::Vm class.

Parameters:

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

    A hash containing the attributes of the object. The keys of the hash should be symbols corresponding to the names of the attributes. The values of the hash should be the values of the attributes.

Options Hash (opts):

  • :affinity_labels (Array<AffinityLabel>, Array<Hash>)

    The values of attribute affinity_labels.

  • :applications (Array<Application>, Array<Hash>)

    The values of attribute applications.

  • :bios (Bios, Hash)

    The value of attribute bios.

  • :cdroms (Array<Cdrom>, Array<Hash>)

    The values of attribute cdroms.

  • :cluster (Cluster, Hash)

    The value of attribute cluster.

  • :comment (String)

    The value of attribute comment.

  • :console (Console, Hash)

    The value of attribute console.

  • :cpu (Cpu, Hash)

    The value of attribute cpu.

  • :cpu_profile (CpuProfile, Hash)

    The value of attribute cpu_profile.

  • :cpu_shares (Integer)

    The value of attribute cpu_shares.

  • :creation_time (DateTime)

    The value of attribute creation_time.

  • :custom_compatibility_version (Version, Hash)

    The value of attribute custom_compatibility_version.

  • :custom_cpu_model (String)

    The value of attribute custom_cpu_model.

  • :custom_emulated_machine (String)

    The value of attribute custom_emulated_machine.

  • :custom_properties (Array<CustomProperty>, Array<Hash>)

    The values of attribute custom_properties.

  • :delete_protected (Boolean)

    The value of attribute delete_protected.

  • :description (String)

    The value of attribute description.

  • :disk_attachments (Array<DiskAttachment>, Array<Hash>)

    The values of attribute disk_attachments.

  • :disks (Array<Disk>, Array<Hash>)

    The values of attribute disks.

  • :display (Display, Hash)

    The value of attribute display.

  • :domain (Domain, Hash)

    The value of attribute domain.

  • :external_host_provider (ExternalHostProvider, Hash)

    The value of attribute external_host_provider.

  • :floppies (Array<Floppy>, Array<Hash>)

    The values of attribute floppies.

  • :fqdn (String)

    The value of attribute fqdn.

  • :graphics_consoles (Array<GraphicsConsole>, Array<Hash>)

    The values of attribute graphics_consoles.

  • :guest_operating_system (GuestOperatingSystem, Hash)

    The value of attribute guest_operating_system.

  • :guest_time_zone (TimeZone, Hash)

    The value of attribute guest_time_zone.

  • :high_availability (HighAvailability, Hash)

    The value of attribute high_availability.

  • :host (Host, Hash)

    The value of attribute host.

  • :host_devices (Array<HostDevice>, Array<Hash>)

    The values of attribute host_devices.

  • :id (String)

    The value of attribute id.

  • :initialization (Initialization, Hash)

    The value of attribute initialization.

  • :instance_type (InstanceType, Hash)

    The value of attribute instance_type.

  • :io (Io, Hash)

    The value of attribute io.

  • :katello_errata (Array<KatelloErratum>, Array<Hash>)

    The values of attribute katello_errata.

  • :large_icon (Icon, Hash)

    The value of attribute large_icon.

  • :memory (Integer)

    The value of attribute memory.

  • :memory_policy (MemoryPolicy, Hash)

    The value of attribute memory_policy.

  • :migration (MigrationOptions, Hash)

    The value of attribute migration.

  • :migration_downtime (Integer)

    The value of attribute migration_downtime.

  • :name (String)

    The value of attribute name.

  • :next_run_configuration_exists (Boolean)

    The value of attribute next_run_configuration_exists.

  • :nics (Array<Nic>, Array<Hash>)

    The values of attribute nics.

  • :numa_nodes (Array<NumaNode>, Array<Hash>)

    The values of attribute numa_nodes.

  • :numa_tune_mode (NumaTuneMode)

    The value of attribute numa_tune_mode.

  • :origin (String)

    The value of attribute origin.

  • :os (OperatingSystem, Hash)

    The value of attribute os.

  • :payloads (Array<Payload>, Array<Hash>)

    The values of attribute payloads.

  • :permissions (Array<Permission>, Array<Hash>)

    The values of attribute permissions.

  • :placement_policy (VmPlacementPolicy, Hash)

    The value of attribute placement_policy.

  • :quota (Quota, Hash)

    The value of attribute quota.

  • :reported_devices (Array<ReportedDevice>, Array<Hash>)

    The values of attribute reported_devices.

  • :rng_device (RngDevice, Hash)

    The value of attribute rng_device.

  • :run_once (Boolean)

    The value of attribute run_once.

  • :serial_number (SerialNumber, Hash)

    The value of attribute serial_number.

  • :sessions (Array<Session>, Array<Hash>)

    The values of attribute sessions.

  • :small_icon (Icon, Hash)

    The value of attribute small_icon.

  • :snapshots (Array<Snapshot>, Array<Hash>)

    The values of attribute snapshots.

  • :soundcard_enabled (Boolean)

    The value of attribute soundcard_enabled.

  • :sso (Sso, Hash)

    The value of attribute sso.

  • :start_paused (Boolean)

    The value of attribute start_paused.

  • :start_time (DateTime)

    The value of attribute start_time.

  • :stateless (Boolean)

    The value of attribute stateless.

  • :statistics (Array<Statistic>, Array<Hash>)

    The values of attribute statistics.

  • :status (VmStatus)

    The value of attribute status.

  • :status_detail (String)

    The value of attribute status_detail.

  • :stop_reason (String)

    The value of attribute stop_reason.

  • :stop_time (DateTime)

    The value of attribute stop_time.

  • :storage_domain (StorageDomain, Hash)

    The value of attribute storage_domain.

  • :tags (Array<Tag>, Array<Hash>)

    The values of attribute tags.

  • :template (Template, Hash)

    The value of attribute template.

  • :time_zone (TimeZone, Hash)

    The value of attribute time_zone.

  • :tunnel_migration (Boolean)

    The value of attribute tunnel_migration.

  • :type (VmType)

    The value of attribute type.

  • :usb (Usb, Hash)

    The value of attribute usb.

  • :use_latest_template_version (Boolean)

    The value of attribute use_latest_template_version.

  • :virtio_scsi (VirtioScsi, Hash)

    The value of attribute virtio_scsi.

  • :vm_pool (VmPool, Hash)

    The value of attribute vm_pool.

  • :watchdogs (Array<Watchdog>, Array<Hash>)

    The values of attribute watchdogs.



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.disk_attachments = 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.guest_operating_system = 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.permissions = 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.tags = 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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:

  • value (Bios, Hash)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:

  • (String)


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.

Parameters:

  • value (String)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:

  • value (Cpu, Hash)


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.

Returns:



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.

Parameters:



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.

Returns:

  • (Integer)


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.

Parameters:

  • value (Integer)


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.

Returns:

  • (DateTime)


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.

Parameters:

  • value (DateTime)


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.

Returns:



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.

Parameters:



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.

Returns:

  • (String)


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.

Parameters:

  • value (String)


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.

Returns:

  • (String)


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.

Parameters:

  • value (String)


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.

Returns:



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.

Parameters:



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.

Returns:

  • (Boolean)


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.

Parameters:

  • value (Boolean)


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.

Returns:

  • (String)


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.

Parameters:

  • value (String)


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.

Returns:



38277
38278
38279
# File 'lib/ovirtsdk4/types.rb', line 38277

def disk_attachments
  return @disk_attachments
end

- (Object) disk_attachments=(list)

Sets the value of the disk_attachments attribute.

Parameters:



38285
38286
38287
38288
38289
38290
38291
38292
38293
38294
38295
# File 'lib/ovirtsdk4/types.rb', line 38285

def disk_attachments=(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.

Returns:



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.

Parameters:

  • list (Array<Disk>)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:

  • (String)


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.

Parameters:

  • value (String)


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.

Returns:



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.

Parameters:



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 guest_operating_system
  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.

Parameters:



38483
38484
38485
38486
38487
38488
# File 'lib/ovirtsdk4/types.rb', line 38483

def guest_operating_system=(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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:

  • value (Host, Hash)


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.

Returns:



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.

Parameters:



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.

Returns:

  • (String)


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.

Parameters:

  • value (String)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:

  • value (Io, Hash)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:

  • value (Icon, Hash)


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.

Returns:

  • (Integer)


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.

Parameters:

  • value (Integer)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:

  • (Integer)


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.

Parameters:

  • value (Integer)


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.

Returns:

  • (String)


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.

Parameters:

  • value (String)


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.

Returns:

  • (Boolean)


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.

Parameters:

  • value (Boolean)


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.

Returns:



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.

Parameters:

  • list (Array<Nic>)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:

  • (String)


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.

Parameters:

  • value (String)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:



38996
38997
38998
# File 'lib/ovirtsdk4/types.rb', line 38996

def permissions
  return @permissions
end

- (Object) permissions=(list)

Sets the value of the permissions attribute.

Parameters:



39004
39005
39006
39007
39008
39009
39010
39011
39012
39013
39014
# File 'lib/ovirtsdk4/types.rb', line 39004

def permissions=(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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:

  • (Boolean)


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.

Parameters:

  • value (Boolean)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:

  • value (Icon, Hash)


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.

Returns:



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.

Parameters:



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.

Returns:

  • (Boolean)


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.

Parameters:

  • value (Boolean)


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.

Returns:



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.

Parameters:

  • value (Sso, Hash)


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.

Returns:

  • (Boolean)


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.

Parameters:

  • value (Boolean)


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.

Returns:

  • (DateTime)


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.

Parameters:

  • value (DateTime)


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.

Returns:

  • (Boolean)


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.

Parameters:

  • value (Boolean)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:

  • (String)


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.

Parameters:

  • value (String)


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.

Returns:

  • (String)


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.

Parameters:

  • value (String)


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.

Returns:

  • (DateTime)


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.

Parameters:

  • value (DateTime)


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.

Returns:



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.

Parameters:



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.

Returns:



39458
39459
39460
# File 'lib/ovirtsdk4/types.rb', line 39458

def tags
  return @tags
end

- (Object) tags=(list)

Sets the value of the tags attribute.

Parameters:

  • list (Array<Tag>)


39466
39467
39468
39469
39470
39471
39472
39473
39474
39475
39476
# File 'lib/ovirtsdk4/types.rb', line 39466

def tags=(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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:

  • (Boolean)


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.

Parameters:

  • value (Boolean)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:

  • value (Usb, Hash)


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.

Returns:

  • (Boolean)


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.

Parameters:

  • value (Boolean)


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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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.

Returns:



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.

Parameters:



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