Class: OvirtSDK4::Action

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

Instance Method Summary (collapse)

Methods included from Type

#href, #href=

Constructor Details

- (Action) initialize(opts = {})

Creates a new instance of the OvirtSDK4::Action 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):

  • :async (Boolean)

    The value of attribute async.

  • :bricks (Array<GlusterBrick>, Array<Hash>)

    The values of attribute bricks.

  • :certificates (Array<Certificate>, Array<Hash>)

    The values of attribute certificates.

  • :check_connectivity (Boolean)

    The value of attribute check_connectivity.

  • :clone (Boolean)

    The value of attribute clone.

  • :cluster (Cluster, Hash)

    The value of attribute cluster.

  • :collapse_snapshots (Boolean)

    The value of attribute collapse_snapshots.

  • :comment (String)

    The value of attribute comment.

  • :connectivity_timeout (Integer)

    The value of attribute connectivity_timeout.

  • :data_center (DataCenter, Hash)

    The value of attribute data_center.

  • :deploy_hosted_engine (Boolean)

    The value of attribute deploy_hosted_engine.

  • :description (String)

    The value of attribute description.

  • :details (GlusterVolumeProfileDetails, Hash)

    The value of attribute details.

  • :discard_snapshots (Boolean)

    The value of attribute discard_snapshots.

  • :disk (Disk, Hash)

    The value of attribute disk.

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

    The values of attribute disks.

  • :exclusive (Boolean)

    The value of attribute exclusive.

  • :exclussive (Boolean)

    The value of attribute exclussive.

  • :fault (Fault, Hash)

    The value of attribute fault.

  • :fence_type (String)

    The value of attribute fence_type.

  • :filter (Boolean)

    The value of attribute filter.

  • :fix_layout (Boolean)

    The value of attribute fix_layout.

  • :force (Boolean)

    The value of attribute force.

  • :grace_period (GracePeriod, Hash)

    The value of attribute grace_period.

  • :host (Host, Hash)

    The value of attribute host.

  • :id (String)

    The value of attribute id.

  • :image (String)

    The value of attribute image.

  • :import_as_template (Boolean)

    The value of attribute import_as_template.

  • :is_attached (Boolean)

    The value of attribute is_attached.

  • :iscsi (IscsiDetails, Hash)

    The value of attribute iscsi.

  • :iscsi_targets (Array<String>, Array<Hash>)

    The values of attribute iscsi_targets.

  • :job (Job, Hash)

    The value of attribute job.

  • :logical_units (Array<LogicalUnit>, Array<Hash>)

    The values of attribute logical_units.

  • :maintenance_enabled (Boolean)

    The value of attribute maintenance_enabled.

  • :modified_bonds (Array<HostNic>, Array<Hash>)

    The values of attribute modified_bonds.

  • :modified_labels (Array<NetworkLabel>, Array<Hash>)

    The values of attribute modified_labels.

  • :modified_network_attachments (Array<NetworkAttachment>, Array<Hash>)

    The values of attribute modified_network_attachments.

  • :name (String)

    The value of attribute name.

  • :option (Option, Hash)

    The value of attribute option.

  • :pause (Boolean)

    The value of attribute pause.

  • :power_management (PowerManagement, Hash)

    The value of attribute power_management.

  • :proxy_ticket (ProxyTicket, Hash)

    The value of attribute proxy_ticket.

  • :reason (String)

    The value of attribute reason.

  • :removed_bonds (Array<HostNic>, Array<Hash>)

    The values of attribute removed_bonds.

  • :removed_labels (Array<NetworkLabel>, Array<Hash>)

    The values of attribute removed_labels.

  • :removed_network_attachments (Array<NetworkAttachment>, Array<Hash>)

    The values of attribute removed_network_attachments.

  • :resolution_type (String)

    The value of attribute resolution_type.

  • :restore_memory (Boolean)

    The value of attribute restore_memory.

  • :root_password (String)

    The value of attribute root_password.

  • :snapshot (Snapshot, Hash)

    The value of attribute snapshot.

  • :ssh (Ssh, Hash)

    The value of attribute ssh.

  • :status (String)

    The value of attribute status.

  • :stop_gluster_service (Boolean)

    The value of attribute stop_gluster_service.

  • :storage_domain (StorageDomain, Hash)

    The value of attribute storage_domain.

  • :storage_domains (Array<StorageDomain>, Array<Hash>)

    The values of attribute storage_domains.

  • :succeeded (Boolean)

    The value of attribute succeeded.

  • :synchronized_network_attachments (Array<NetworkAttachment>, Array<Hash>)

    The values of attribute synchronized_network_attachments.

  • :template (Template, Hash)

    The value of attribute template.

  • :ticket (Ticket, Hash)

    The value of attribute ticket.

  • :undeploy_hosted_engine (Boolean)

    The value of attribute undeploy_hosted_engine.

  • :use_cloud_init (Boolean)

    The value of attribute use_cloud_init.

  • :use_sysprep (Boolean)

    The value of attribute use_sysprep.

  • :virtual_functions_configuration (HostNicVirtualFunctionsConfiguration, Hash)

    The value of attribute virtual_functions_configuration.

  • :vm (Vm, Hash)

    The value of attribute vm.



22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
# File 'lib/ovirtsdk4/types.rb', line 22299

def initialize(opts = {})
  super(opts)
  self.async = opts[:async]
  self.bricks = opts[:bricks]
  self.certificates = opts[:certificates]
  self.check_connectivity = opts[:check_connectivity]
  self.clone = opts[:clone]
  self.cluster = opts[:cluster]
  self.collapse_snapshots = opts[:collapse_snapshots]
  self.comment = opts[:comment]
  self.connectivity_timeout = opts[:connectivity_timeout]
  self.data_center = opts[:data_center]
  self.deploy_hosted_engine = opts[:deploy_hosted_engine]
  self.description = opts[:description]
  self.details = opts[:details]
  self.discard_snapshots = opts[:discard_snapshots]
  self.disk = opts[:disk]
  self.disks = opts[:disks]
  self.exclusive = opts[:exclusive]
  self.exclussive = opts[:exclussive]
  self.fault = opts[:fault]
  self.fence_type = opts[:fence_type]
  self.filter = opts[:filter]
  self.fix_layout = opts[:fix_layout]
  self.force = opts[:force]
  self.grace_period = opts[:grace_period]
  self.host = opts[:host]
  self.id = opts[:id]
  self.image = opts[:image]
  self.import_as_template = opts[:import_as_template]
  self.is_attached = opts[:is_attached]
  self.iscsi = opts[:iscsi]
  self.iscsi_targets = opts[:iscsi_targets]
  self.job = opts[:job]
  self.logical_units = opts[:logical_units]
  self.maintenance_enabled = opts[:maintenance_enabled]
  self.modified_bonds = opts[:modified_bonds]
  self.modified_labels = opts[:modified_labels]
  self.modified_network_attachments = opts[:modified_network_attachments]
  self.name = opts[:name]
  self.option = opts[:option]
  self.pause = opts[:pause]
  self.power_management = opts[:power_management]
  self.proxy_ticket = opts[:proxy_ticket]
  self.reason = opts[:reason]
  self.removed_bonds = opts[:removed_bonds]
  self.removed_labels = opts[:removed_labels]
  self.removed_network_attachments = opts[:removed_network_attachments]
  self.resolution_type = opts[:resolution_type]
  self.restore_memory = opts[:restore_memory]
  self.root_password = opts[:root_password]
  self.snapshot = opts[:snapshot]
  self.ssh = opts[:ssh]
  self.status = opts[:status]
  self.stop_gluster_service = opts[:stop_gluster_service]
  self.storage_domain = opts[:storage_domain]
  self.storage_domains = opts[:storage_domains]
  self.succeeded = opts[:succeeded]
  self.synchronized_network_attachments = opts[:synchronized_network_attachments]
  self.template = opts[:template]
  self.ticket = opts[:ticket]
  self.undeploy_hosted_engine = opts[:undeploy_hosted_engine]
  self.use_cloud_init = opts[:use_cloud_init]
  self.use_sysprep = opts[:use_sysprep]
  self.virtual_functions_configuration = opts[:virtual_functions_configuration]
  self.vm = opts[:vm]
end

Instance Method Details

- (Boolean) async

Returns the value of the async attribute.

Returns:

  • (Boolean)


20800
20801
20802
# File 'lib/ovirtsdk4/types.rb', line 20800

def async
  return @async
end

- (Object) async=(value)

Sets the value of the async attribute.

Parameters:

  • value (Boolean)


20809
20810
20811
# File 'lib/ovirtsdk4/types.rb', line 20809

def async=(value)
  @async = value
end

- (Array<GlusterBrick>) bricks

Returns the value of the bricks attribute.

Returns:



20818
20819
20820
# File 'lib/ovirtsdk4/types.rb', line 20818

def bricks
  return @bricks
end

- (Object) bricks=(list)

Sets the value of the bricks attribute.

Parameters:



20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
# File 'lib/ovirtsdk4/types.rb', line 20826

def bricks=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = GlusterBrick.new(value)
      end
    end
  end
  @bricks = list
end

- (Array<Certificate>) certificates

Returns the value of the certificates attribute.

Returns:



20843
20844
20845
# File 'lib/ovirtsdk4/types.rb', line 20843

def certificates
  return @certificates
end

- (Object) certificates=(list)

Sets the value of the certificates attribute.

Parameters:



20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
# File 'lib/ovirtsdk4/types.rb', line 20851

def certificates=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Certificate.new(value)
      end
    end
  end
  @certificates = list
end

- (Boolean) check_connectivity

Returns the value of the check_connectivity attribute.

Returns:

  • (Boolean)


20868
20869
20870
# File 'lib/ovirtsdk4/types.rb', line 20868

def check_connectivity
  return @check_connectivity
end

- (Object) check_connectivity=(value)

Sets the value of the check_connectivity attribute.

Parameters:

  • value (Boolean)


20877
20878
20879
# File 'lib/ovirtsdk4/types.rb', line 20877

def check_connectivity=(value)
  @check_connectivity = value
end

- (Boolean) clone

Returns the value of the clone attribute.

Returns:

  • (Boolean)


20886
20887
20888
# File 'lib/ovirtsdk4/types.rb', line 20886

def clone
  return @clone
end

- (Object) clone=(value)

Sets the value of the clone attribute.

Parameters:

  • value (Boolean)


20895
20896
20897
# File 'lib/ovirtsdk4/types.rb', line 20895

def clone=(value)
  @clone = value
end

- (Cluster) cluster

Returns the value of the cluster attribute.

Returns:



20904
20905
20906
# File 'lib/ovirtsdk4/types.rb', line 20904

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:



20917
20918
20919
20920
20921
20922
# File 'lib/ovirtsdk4/types.rb', line 20917

def cluster=(value)
  if value.is_a?(Hash)
    value = Cluster.new(value)
  end
  @cluster = value
end

- (Boolean) collapse_snapshots

Returns the value of the collapse_snapshots attribute.

Returns:

  • (Boolean)


20929
20930
20931
# File 'lib/ovirtsdk4/types.rb', line 20929

def collapse_snapshots
  return @collapse_snapshots
end

- (Object) collapse_snapshots=(value)

Sets the value of the collapse_snapshots attribute.

Parameters:

  • value (Boolean)


20938
20939
20940
# File 'lib/ovirtsdk4/types.rb', line 20938

def collapse_snapshots=(value)
  @collapse_snapshots = value
end

- (String) comment

Returns the value of the comment attribute.

Returns:

  • (String)


20947
20948
20949
# File 'lib/ovirtsdk4/types.rb', line 20947

def comment
  return @comment
end

- (Object) comment=(value)

Sets the value of the comment attribute.

Parameters:

  • value (String)


20956
20957
20958
# File 'lib/ovirtsdk4/types.rb', line 20956

def comment=(value)
  @comment = value
end

- (Integer) connectivity_timeout

Returns the value of the connectivity_timeout attribute.

Returns:

  • (Integer)


20965
20966
20967
# File 'lib/ovirtsdk4/types.rb', line 20965

def connectivity_timeout
  return @connectivity_timeout
end

- (Object) connectivity_timeout=(value)

Sets the value of the connectivity_timeout attribute.

Parameters:

  • value (Integer)


20974
20975
20976
# File 'lib/ovirtsdk4/types.rb', line 20974

def connectivity_timeout=(value)
  @connectivity_timeout = value
end

- (DataCenter) data_center

Returns the value of the data_center attribute.

Returns:



20983
20984
20985
# File 'lib/ovirtsdk4/types.rb', line 20983

def data_center
  return @data_center
end

- (Object) data_center=(value)

Sets the value of the data_center attribute.

The value parameter can be an instance of DataCenter or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



20996
20997
20998
20999
21000
21001
# File 'lib/ovirtsdk4/types.rb', line 20996

def data_center=(value)
  if value.is_a?(Hash)
    value = DataCenter.new(value)
  end
  @data_center = value
end

- (Boolean) deploy_hosted_engine

Returns the value of the deploy_hosted_engine attribute.

Returns:

  • (Boolean)


21008
21009
21010
# File 'lib/ovirtsdk4/types.rb', line 21008

def deploy_hosted_engine
  return @deploy_hosted_engine
end

- (Object) deploy_hosted_engine=(value)

Sets the value of the deploy_hosted_engine attribute.

Parameters:

  • value (Boolean)


21017
21018
21019
# File 'lib/ovirtsdk4/types.rb', line 21017

def deploy_hosted_engine=(value)
  @deploy_hosted_engine = value
end

- (String) description

Returns the value of the description attribute.

Returns:

  • (String)


21026
21027
21028
# File 'lib/ovirtsdk4/types.rb', line 21026

def description
  return @description
end

- (Object) description=(value)

Sets the value of the description attribute.

Parameters:

  • value (String)


21035
21036
21037
# File 'lib/ovirtsdk4/types.rb', line 21035

def description=(value)
  @description = value
end

- (GlusterVolumeProfileDetails) details

Returns the value of the details attribute.



21044
21045
21046
# File 'lib/ovirtsdk4/types.rb', line 21044

def details
  return @details
end

- (Object) details=(value)

Sets the value of the details attribute.

The value parameter can be an instance of GlusterVolumeProfileDetails 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:



21057
21058
21059
21060
21061
21062
# File 'lib/ovirtsdk4/types.rb', line 21057

def details=(value)
  if value.is_a?(Hash)
    value = GlusterVolumeProfileDetails.new(value)
  end
  @details = value
end

- (Boolean) discard_snapshots

Returns the value of the discard_snapshots attribute.

Returns:

  • (Boolean)


21069
21070
21071
# File 'lib/ovirtsdk4/types.rb', line 21069

def discard_snapshots
  return @discard_snapshots
end

- (Object) discard_snapshots=(value)

Sets the value of the discard_snapshots attribute.

Parameters:

  • value (Boolean)


21078
21079
21080
# File 'lib/ovirtsdk4/types.rb', line 21078

def discard_snapshots=(value)
  @discard_snapshots = value
end

- (Disk) disk

Returns the value of the disk attribute.

Returns:



21087
21088
21089
# File 'lib/ovirtsdk4/types.rb', line 21087

def disk
  return @disk
end

- (Object) disk=(value)

Sets the value of the disk attribute.

The value parameter can be an instance of Disk 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 (Disk, Hash)


21100
21101
21102
21103
21104
21105
# File 'lib/ovirtsdk4/types.rb', line 21100

def disk=(value)
  if value.is_a?(Hash)
    value = Disk.new(value)
  end
  @disk = value
end

- (Array<Disk>) disks

Returns the value of the disks attribute.

Returns:



21112
21113
21114
# File 'lib/ovirtsdk4/types.rb', line 21112

def disks
  return @disks
end

- (Object) disks=(list)

Sets the value of the disks attribute.

Parameters:

  • list (Array<Disk>)


21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
# File 'lib/ovirtsdk4/types.rb', line 21120

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

- (Boolean) exclusive

Returns the value of the exclusive attribute.

Returns:

  • (Boolean)


21137
21138
21139
# File 'lib/ovirtsdk4/types.rb', line 21137

def exclusive
  return @exclusive
end

- (Object) exclusive=(value)

Sets the value of the exclusive attribute.

Parameters:

  • value (Boolean)


21146
21147
21148
# File 'lib/ovirtsdk4/types.rb', line 21146

def exclusive=(value)
  @exclusive = value
end

- (Boolean) exclussive

Returns the value of the exclussive attribute.

Returns:

  • (Boolean)


21155
21156
21157
# File 'lib/ovirtsdk4/types.rb', line 21155

def exclussive
  return @exclussive
end

- (Object) exclussive=(value)

Sets the value of the exclussive attribute.

Parameters:

  • value (Boolean)


21164
21165
21166
# File 'lib/ovirtsdk4/types.rb', line 21164

def exclussive=(value)
  @exclussive = value
end

- (Fault) fault

Returns the value of the fault attribute.

Returns:



21173
21174
21175
# File 'lib/ovirtsdk4/types.rb', line 21173

def fault
  return @fault
end

- (Object) fault=(value)

Sets the value of the fault attribute.

The value parameter can be an instance of Fault 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:



21186
21187
21188
21189
21190
21191
# File 'lib/ovirtsdk4/types.rb', line 21186

def fault=(value)
  if value.is_a?(Hash)
    value = Fault.new(value)
  end
  @fault = value
end

- (String) fence_type

Returns the value of the fence_type attribute.

Returns:

  • (String)


21198
21199
21200
# File 'lib/ovirtsdk4/types.rb', line 21198

def fence_type
  return @fence_type
end

- (Object) fence_type=(value)

Sets the value of the fence_type attribute.

Parameters:

  • value (String)


21207
21208
21209
# File 'lib/ovirtsdk4/types.rb', line 21207

def fence_type=(value)
  @fence_type = value
end

- (Boolean) filter

Returns the value of the filter attribute.

Returns:

  • (Boolean)


21216
21217
21218
# File 'lib/ovirtsdk4/types.rb', line 21216

def filter
  return @filter
end

- (Object) filter=(value)

Sets the value of the filter attribute.

Parameters:

  • value (Boolean)


21225
21226
21227
# File 'lib/ovirtsdk4/types.rb', line 21225

def filter=(value)
  @filter = value
end

- (Boolean) fix_layout

Returns the value of the fix_layout attribute.

Returns:

  • (Boolean)


21234
21235
21236
# File 'lib/ovirtsdk4/types.rb', line 21234

def fix_layout
  return @fix_layout
end

- (Object) fix_layout=(value)

Sets the value of the fix_layout attribute.

Parameters:

  • value (Boolean)


21243
21244
21245
# File 'lib/ovirtsdk4/types.rb', line 21243

def fix_layout=(value)
  @fix_layout = value
end

- (Boolean) force

Returns the value of the force attribute.

Returns:

  • (Boolean)


21252
21253
21254
# File 'lib/ovirtsdk4/types.rb', line 21252

def force
  return @force
end

- (Object) force=(value)

Sets the value of the force attribute.

Parameters:

  • value (Boolean)


21261
21262
21263
# File 'lib/ovirtsdk4/types.rb', line 21261

def force=(value)
  @force = value
end

- (GracePeriod) grace_period

Returns the value of the grace_period attribute.

Returns:



21270
21271
21272
# File 'lib/ovirtsdk4/types.rb', line 21270

def grace_period
  return @grace_period
end

- (Object) grace_period=(value)

Sets the value of the grace_period attribute.

The value parameter can be an instance of GracePeriod 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:



21283
21284
21285
21286
21287
21288
# File 'lib/ovirtsdk4/types.rb', line 21283

def grace_period=(value)
  if value.is_a?(Hash)
    value = GracePeriod.new(value)
  end
  @grace_period = value
end

- (Host) host

Returns the value of the host attribute.

Returns:



21295
21296
21297
# File 'lib/ovirtsdk4/types.rb', line 21295

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)


21308
21309
21310
21311
21312
21313
# File 'lib/ovirtsdk4/types.rb', line 21308

def host=(value)
  if value.is_a?(Hash)
    value = Host.new(value)
  end
  @host = value
end

- (String) id

Returns the value of the id attribute.

Returns:

  • (String)


21320
21321
21322
# File 'lib/ovirtsdk4/types.rb', line 21320

def id
  return @id
end

- (Object) id=(value)

Sets the value of the id attribute.

Parameters:

  • value (String)


21329
21330
21331
# File 'lib/ovirtsdk4/types.rb', line 21329

def id=(value)
  @id = value
end

- (String) image

Returns the value of the image attribute.

Returns:

  • (String)


21338
21339
21340
# File 'lib/ovirtsdk4/types.rb', line 21338

def image
  return @image
end

- (Object) image=(value)

Sets the value of the image attribute.

Parameters:

  • value (String)


21347
21348
21349
# File 'lib/ovirtsdk4/types.rb', line 21347

def image=(value)
  @image = value
end

- (Boolean) import_as_template

Returns the value of the import_as_template attribute.

Returns:

  • (Boolean)


21356
21357
21358
# File 'lib/ovirtsdk4/types.rb', line 21356

def import_as_template
  return @import_as_template
end

- (Object) import_as_template=(value)

Sets the value of the import_as_template attribute.

Parameters:

  • value (Boolean)


21365
21366
21367
# File 'lib/ovirtsdk4/types.rb', line 21365

def import_as_template=(value)
  @import_as_template = value
end

- (Boolean) is_attached

Returns the value of the is_attached attribute.

Returns:

  • (Boolean)


21374
21375
21376
# File 'lib/ovirtsdk4/types.rb', line 21374

def is_attached
  return @is_attached
end

- (Object) is_attached=(value)

Sets the value of the is_attached attribute.

Parameters:

  • value (Boolean)


21383
21384
21385
# File 'lib/ovirtsdk4/types.rb', line 21383

def is_attached=(value)
  @is_attached = value
end

- (IscsiDetails) iscsi

Returns the value of the iscsi attribute.

Returns:



21392
21393
21394
# File 'lib/ovirtsdk4/types.rb', line 21392

def iscsi
  return @iscsi
end

- (Object) iscsi=(value)

Sets the value of the iscsi attribute.

The value parameter can be an instance of IscsiDetails 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:



21405
21406
21407
21408
21409
21410
# File 'lib/ovirtsdk4/types.rb', line 21405

def iscsi=(value)
  if value.is_a?(Hash)
    value = IscsiDetails.new(value)
  end
  @iscsi = value
end

- (Array<String>) iscsi_targets

Returns the value of the iscsi_targets attribute.

Returns:

  • (Array<String>)


21417
21418
21419
# File 'lib/ovirtsdk4/types.rb', line 21417

def iscsi_targets
  return @iscsi_targets
end

- (Object) iscsi_targets=(list)

Sets the value of the iscsi_targets attribute.

Parameters:

  • list (Array<String>)


21425
21426
21427
# File 'lib/ovirtsdk4/types.rb', line 21425

def iscsi_targets=(list)
  @iscsi_targets = list
end

- (Job) job

Returns the value of the job attribute.

Returns:



21434
21435
21436
# File 'lib/ovirtsdk4/types.rb', line 21434

def job
  return @job
end

- (Object) job=(value)

Sets the value of the job attribute.

The value parameter can be an instance of Job 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 (Job, Hash)


21447
21448
21449
21450
21451
21452
# File 'lib/ovirtsdk4/types.rb', line 21447

def job=(value)
  if value.is_a?(Hash)
    value = Job.new(value)
  end
  @job = value
end

- (Array<LogicalUnit>) logical_units

Returns the value of the logical_units attribute.

Returns:



21459
21460
21461
# File 'lib/ovirtsdk4/types.rb', line 21459

def logical_units
  return @logical_units
end

- (Object) logical_units=(list)

Sets the value of the logical_units attribute.

Parameters:



21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
# File 'lib/ovirtsdk4/types.rb', line 21467

def logical_units=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = LogicalUnit.new(value)
      end
    end
  end
  @logical_units = list
end

- (Boolean) maintenance_enabled

Returns the value of the maintenance_enabled attribute.

Returns:

  • (Boolean)


21484
21485
21486
# File 'lib/ovirtsdk4/types.rb', line 21484

def maintenance_enabled
  return @maintenance_enabled
end

- (Object) maintenance_enabled=(value)

Sets the value of the maintenance_enabled attribute.

Parameters:

  • value (Boolean)


21493
21494
21495
# File 'lib/ovirtsdk4/types.rb', line 21493

def maintenance_enabled=(value)
  @maintenance_enabled = value
end

- (Array<HostNic>) modified_bonds

Returns the value of the modified_bonds attribute.

Returns:



21502
21503
21504
# File 'lib/ovirtsdk4/types.rb', line 21502

def modified_bonds
  return @modified_bonds
end

- (Object) modified_bonds=(list)

Sets the value of the modified_bonds attribute.

Parameters:



21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
# File 'lib/ovirtsdk4/types.rb', line 21510

def modified_bonds=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = HostNic.new(value)
      end
    end
  end
  @modified_bonds = list
end

- (Array<NetworkLabel>) modified_labels

Returns the value of the modified_labels attribute.

Returns:



21527
21528
21529
# File 'lib/ovirtsdk4/types.rb', line 21527

def modified_labels
  return @modified_labels
end

- (Object) modified_labels=(list)

Sets the value of the modified_labels attribute.

Parameters:



21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
# File 'lib/ovirtsdk4/types.rb', line 21535

def modified_labels=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkLabel.new(value)
      end
    end
  end
  @modified_labels = list
end

- (Array<NetworkAttachment>) modified_network_attachments

Returns the value of the modified_network_attachments attribute.

Returns:



21552
21553
21554
# File 'lib/ovirtsdk4/types.rb', line 21552

def modified_network_attachments
  return @modified_network_attachments
end

- (Object) modified_network_attachments=(list)

Sets the value of the modified_network_attachments attribute.

Parameters:



21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
# File 'lib/ovirtsdk4/types.rb', line 21560

def modified_network_attachments=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkAttachment.new(value)
      end
    end
  end
  @modified_network_attachments = list
end

- (String) name

Returns the value of the name attribute.

Returns:

  • (String)


21577
21578
21579
# File 'lib/ovirtsdk4/types.rb', line 21577

def name
  return @name
end

- (Object) name=(value)

Sets the value of the name attribute.

Parameters:

  • value (String)


21586
21587
21588
# File 'lib/ovirtsdk4/types.rb', line 21586

def name=(value)
  @name = value
end

- (Option) option

Returns the value of the option attribute.

Returns:



21595
21596
21597
# File 'lib/ovirtsdk4/types.rb', line 21595

def option
  return @option
end

- (Object) option=(value)

Sets the value of the option attribute.

The value parameter can be an instance of Option 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:



21608
21609
21610
21611
21612
21613
# File 'lib/ovirtsdk4/types.rb', line 21608

def option=(value)
  if value.is_a?(Hash)
    value = Option.new(value)
  end
  @option = value
end

- (Boolean) pause

Returns the value of the pause attribute.

Returns:

  • (Boolean)


21620
21621
21622
# File 'lib/ovirtsdk4/types.rb', line 21620

def pause
  return @pause
end

- (Object) pause=(value)

Sets the value of the pause attribute.

Parameters:

  • value (Boolean)


21629
21630
21631
# File 'lib/ovirtsdk4/types.rb', line 21629

def pause=(value)
  @pause = value
end

- (PowerManagement) power_management

Returns the value of the power_management attribute.

Returns:



21638
21639
21640
# File 'lib/ovirtsdk4/types.rb', line 21638

def power_management
  return @power_management
end

- (Object) power_management=(value)

Sets the value of the power_management attribute.

The value parameter can be an instance of PowerManagement 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:



21651
21652
21653
21654
21655
21656
# File 'lib/ovirtsdk4/types.rb', line 21651

def power_management=(value)
  if value.is_a?(Hash)
    value = PowerManagement.new(value)
  end
  @power_management = value
end

- (ProxyTicket) proxy_ticket

Returns the value of the proxy_ticket attribute.

Returns:



21663
21664
21665
# File 'lib/ovirtsdk4/types.rb', line 21663

def proxy_ticket
  return @proxy_ticket
end

- (Object) proxy_ticket=(value)

Sets the value of the proxy_ticket attribute.

The value parameter can be an instance of ProxyTicket 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:



21676
21677
21678
21679
21680
21681
# File 'lib/ovirtsdk4/types.rb', line 21676

def proxy_ticket=(value)
  if value.is_a?(Hash)
    value = ProxyTicket.new(value)
  end
  @proxy_ticket = value
end

- (String) reason

Returns the value of the reason attribute.

Returns:

  • (String)


21688
21689
21690
# File 'lib/ovirtsdk4/types.rb', line 21688

def reason
  return @reason
end

- (Object) reason=(value)

Sets the value of the reason attribute.

Parameters:

  • value (String)


21697
21698
21699
# File 'lib/ovirtsdk4/types.rb', line 21697

def reason=(value)
  @reason = value
end

- (Array<HostNic>) removed_bonds

Returns the value of the removed_bonds attribute.

Returns:



21706
21707
21708
# File 'lib/ovirtsdk4/types.rb', line 21706

def removed_bonds
  return @removed_bonds
end

- (Object) removed_bonds=(list)

Sets the value of the removed_bonds attribute.

Parameters:



21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
# File 'lib/ovirtsdk4/types.rb', line 21714

def removed_bonds=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = HostNic.new(value)
      end
    end
  end
  @removed_bonds = list
end

- (Array<NetworkLabel>) removed_labels

Returns the value of the removed_labels attribute.

Returns:



21731
21732
21733
# File 'lib/ovirtsdk4/types.rb', line 21731

def removed_labels
  return @removed_labels
end

- (Object) removed_labels=(list)

Sets the value of the removed_labels attribute.

Parameters:



21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
# File 'lib/ovirtsdk4/types.rb', line 21739

def removed_labels=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkLabel.new(value)
      end
    end
  end
  @removed_labels = list
end

- (Array<NetworkAttachment>) removed_network_attachments

Returns the value of the removed_network_attachments attribute.

Returns:



21756
21757
21758
# File 'lib/ovirtsdk4/types.rb', line 21756

def removed_network_attachments
  return @removed_network_attachments
end

- (Object) removed_network_attachments=(list)

Sets the value of the removed_network_attachments attribute.

Parameters:



21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
# File 'lib/ovirtsdk4/types.rb', line 21764

def removed_network_attachments=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkAttachment.new(value)
      end
    end
  end
  @removed_network_attachments = list
end

- (String) resolution_type

Returns the value of the resolution_type attribute.

Returns:

  • (String)


21781
21782
21783
# File 'lib/ovirtsdk4/types.rb', line 21781

def resolution_type
  return @resolution_type
end

- (Object) resolution_type=(value)

Sets the value of the resolution_type attribute.

Parameters:

  • value (String)


21790
21791
21792
# File 'lib/ovirtsdk4/types.rb', line 21790

def resolution_type=(value)
  @resolution_type = value
end

- (Boolean) restore_memory

Returns the value of the restore_memory attribute.

Returns:

  • (Boolean)


21799
21800
21801
# File 'lib/ovirtsdk4/types.rb', line 21799

def restore_memory
  return @restore_memory
end

- (Object) restore_memory=(value)

Sets the value of the restore_memory attribute.

Parameters:

  • value (Boolean)


21808
21809
21810
# File 'lib/ovirtsdk4/types.rb', line 21808

def restore_memory=(value)
  @restore_memory = value
end

- (String) root_password

Returns the value of the root_password attribute.

Returns:

  • (String)


21817
21818
21819
# File 'lib/ovirtsdk4/types.rb', line 21817

def root_password
  return @root_password
end

- (Object) root_password=(value)

Sets the value of the root_password attribute.

Parameters:

  • value (String)


21826
21827
21828
# File 'lib/ovirtsdk4/types.rb', line 21826

def root_password=(value)
  @root_password = value
end

- (Snapshot) snapshot

Returns the value of the snapshot attribute.

Returns:



21835
21836
21837
# File 'lib/ovirtsdk4/types.rb', line 21835

def snapshot
  return @snapshot
end

- (Object) snapshot=(value)

Sets the value of the snapshot attribute.

The value parameter can be an instance of Snapshot 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:



21848
21849
21850
21851
21852
21853
# File 'lib/ovirtsdk4/types.rb', line 21848

def snapshot=(value)
  if value.is_a?(Hash)
    value = Snapshot.new(value)
  end
  @snapshot = value
end

- (Ssh) ssh

Returns the value of the ssh attribute.

Returns:



21860
21861
21862
# File 'lib/ovirtsdk4/types.rb', line 21860

def ssh
  return @ssh
end

- (Object) ssh=(value)

Sets the value of the ssh attribute.

The value parameter can be an instance of Ssh 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 (Ssh, Hash)


21873
21874
21875
21876
21877
21878
# File 'lib/ovirtsdk4/types.rb', line 21873

def ssh=(value)
  if value.is_a?(Hash)
    value = Ssh.new(value)
  end
  @ssh = value
end

- (String) status

Returns the value of the status attribute.

Returns:

  • (String)


21885
21886
21887
# File 'lib/ovirtsdk4/types.rb', line 21885

def status
  return @status
end

- (Object) status=(value)

Sets the value of the status attribute.

Parameters:

  • value (String)


21894
21895
21896
# File 'lib/ovirtsdk4/types.rb', line 21894

def status=(value)
  @status = value
end

- (Boolean) stop_gluster_service

Returns the value of the stop_gluster_service attribute.

Returns:

  • (Boolean)


21903
21904
21905
# File 'lib/ovirtsdk4/types.rb', line 21903

def stop_gluster_service
  return @stop_gluster_service
end

- (Object) stop_gluster_service=(value)

Sets the value of the stop_gluster_service attribute.

Parameters:

  • value (Boolean)


21912
21913
21914
# File 'lib/ovirtsdk4/types.rb', line 21912

def stop_gluster_service=(value)
  @stop_gluster_service = value
end

- (StorageDomain) storage_domain

Returns the value of the storage_domain attribute.

Returns:



21921
21922
21923
# File 'lib/ovirtsdk4/types.rb', line 21921

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:



21934
21935
21936
21937
21938
21939
# File 'lib/ovirtsdk4/types.rb', line 21934

def storage_domain=(value)
  if value.is_a?(Hash)
    value = StorageDomain.new(value)
  end
  @storage_domain = value
end

- (Array<StorageDomain>) storage_domains

Returns the value of the storage_domains attribute.

Returns:



21946
21947
21948
# File 'lib/ovirtsdk4/types.rb', line 21946

def storage_domains
  return @storage_domains
end

- (Object) storage_domains=(list)

Sets the value of the storage_domains attribute.

Parameters:



21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
# File 'lib/ovirtsdk4/types.rb', line 21954

def storage_domains=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = StorageDomain.new(value)
      end
    end
  end
  @storage_domains = list
end

- (Boolean) succeeded

Returns the value of the succeeded attribute.

Returns:

  • (Boolean)


21971
21972
21973
# File 'lib/ovirtsdk4/types.rb', line 21971

def succeeded
  return @succeeded
end

- (Object) succeeded=(value)

Sets the value of the succeeded attribute.

Parameters:

  • value (Boolean)


21980
21981
21982
# File 'lib/ovirtsdk4/types.rb', line 21980

def succeeded=(value)
  @succeeded = value
end

- (Array<NetworkAttachment>) synchronized_network_attachments

Returns the value of the synchronized_network_attachments attribute.

Returns:



21989
21990
21991
# File 'lib/ovirtsdk4/types.rb', line 21989

def synchronized_network_attachments
  return @synchronized_network_attachments
end

- (Object) synchronized_network_attachments=(list)

Sets the value of the synchronized_network_attachments attribute.

Parameters:



21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
# File 'lib/ovirtsdk4/types.rb', line 21997

def synchronized_network_attachments=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkAttachment.new(value)
      end
    end
  end
  @synchronized_network_attachments = list
end

- (Template) template

Returns the value of the template attribute.

Returns:



22014
22015
22016
# File 'lib/ovirtsdk4/types.rb', line 22014

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:



22027
22028
22029
22030
22031
22032
# File 'lib/ovirtsdk4/types.rb', line 22027

def template=(value)
  if value.is_a?(Hash)
    value = Template.new(value)
  end
  @template = value
end

- (Ticket) ticket

Returns the value of the ticket attribute.

Returns:



22039
22040
22041
# File 'lib/ovirtsdk4/types.rb', line 22039

def ticket
  return @ticket
end

- (Object) ticket=(value)

Sets the value of the ticket attribute.

The value parameter can be an instance of Ticket 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:



22052
22053
22054
22055
22056
22057
# File 'lib/ovirtsdk4/types.rb', line 22052

def ticket=(value)
  if value.is_a?(Hash)
    value = Ticket.new(value)
  end
  @ticket = value
end

- (Boolean) undeploy_hosted_engine

Returns the value of the undeploy_hosted_engine attribute.

Returns:

  • (Boolean)


22064
22065
22066
# File 'lib/ovirtsdk4/types.rb', line 22064

def undeploy_hosted_engine
  return @undeploy_hosted_engine
end

- (Object) undeploy_hosted_engine=(value)

Sets the value of the undeploy_hosted_engine attribute.

Parameters:

  • value (Boolean)


22073
22074
22075
# File 'lib/ovirtsdk4/types.rb', line 22073

def undeploy_hosted_engine=(value)
  @undeploy_hosted_engine = value
end

- (Boolean) use_cloud_init

Returns the value of the use_cloud_init attribute.

Returns:

  • (Boolean)


22082
22083
22084
# File 'lib/ovirtsdk4/types.rb', line 22082

def use_cloud_init
  return @use_cloud_init
end

- (Object) use_cloud_init=(value)

Sets the value of the use_cloud_init attribute.

Parameters:

  • value (Boolean)


22091
22092
22093
# File 'lib/ovirtsdk4/types.rb', line 22091

def use_cloud_init=(value)
  @use_cloud_init = value
end

- (Boolean) use_sysprep

Returns the value of the use_sysprep attribute.

Returns:

  • (Boolean)


22100
22101
22102
# File 'lib/ovirtsdk4/types.rb', line 22100

def use_sysprep
  return @use_sysprep
end

- (Object) use_sysprep=(value)

Sets the value of the use_sysprep attribute.

Parameters:

  • value (Boolean)


22109
22110
22111
# File 'lib/ovirtsdk4/types.rb', line 22109

def use_sysprep=(value)
  @use_sysprep = value
end

- (HostNicVirtualFunctionsConfiguration) virtual_functions_configuration

Returns the value of the virtual_functions_configuration attribute.



22118
22119
22120
# File 'lib/ovirtsdk4/types.rb', line 22118

def virtual_functions_configuration
  return @virtual_functions_configuration
end

- (Object) virtual_functions_configuration=(value)

Sets the value of the virtual_functions_configuration attribute.

The value parameter can be an instance of HostNicVirtualFunctionsConfiguration 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:



22131
22132
22133
22134
22135
22136
# File 'lib/ovirtsdk4/types.rb', line 22131

def virtual_functions_configuration=(value)
  if value.is_a?(Hash)
    value = HostNicVirtualFunctionsConfiguration.new(value)
  end
  @virtual_functions_configuration = value
end

- (Vm) vm

Returns the value of the vm attribute.

Returns:



22143
22144
22145
# File 'lib/ovirtsdk4/types.rb', line 22143

def vm
  return @vm
end

- (Object) vm=(value)

Sets the value of the vm attribute.

The value parameter can be an instance of Vm 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 (Vm, Hash)


22156
22157
22158
22159
22160
22161
# File 'lib/ovirtsdk4/types.rb', line 22156

def vm=(value)
  if value.is_a?(Hash)
    value = Vm.new(value)
  end
  @vm = value
end