ovirt-engine-sdk 4.2.4 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -176,6 +176,9 @@ module OvirtSDK4
176
176
  class LogicalUnit < Struct
177
177
  end
178
178
 
179
+ class MDevType < Struct
180
+ end
181
+
179
182
  class Mac < Struct
180
183
  end
181
184
 
@@ -428,6 +431,9 @@ module OvirtSDK4
428
431
  class User < Identified
429
432
  end
430
433
 
434
+ class UserOption < Identified
435
+ end
436
+
431
437
  class Value < Struct
432
438
  end
433
439
 
@@ -494,6 +500,9 @@ module OvirtSDK4
494
500
  class AuthorizedKey < Identified
495
501
  end
496
502
 
503
+ class Backup < Identified
504
+ end
505
+
497
506
  class Balance < Identified
498
507
  end
499
508
 
@@ -506,6 +515,9 @@ module OvirtSDK4
506
515
  class Certificate < Identified
507
516
  end
508
517
 
518
+ class Checkpoint < Identified
519
+ end
520
+
509
521
  class Cluster < Identified
510
522
  end
511
523
 
@@ -542,6 +554,9 @@ module OvirtSDK4
542
554
  class Event < Identified
543
555
  end
544
556
 
557
+ class EventSubscription < Identified
558
+ end
559
+
545
560
  class ExternalComputeResource < Identified
546
561
  end
547
562
 
@@ -1373,6 +1388,24 @@ module OvirtSDK4
1373
1388
  @boot_menu = value
1374
1389
  end
1375
1390
 
1391
+ #
1392
+ # Returns the value of the `type` attribute.
1393
+ #
1394
+ # @return [BiosType]
1395
+ #
1396
+ def type
1397
+ @type
1398
+ end
1399
+
1400
+ #
1401
+ # Sets the value of the `type` attribute.
1402
+ #
1403
+ # @param value [BiosType]
1404
+ #
1405
+ def type=(value)
1406
+ @type = value
1407
+ end
1408
+
1376
1409
  #
1377
1410
  # Creates a new instance of the {Bios} class.
1378
1411
  #
@@ -1382,10 +1415,13 @@ module OvirtSDK4
1382
1415
  #
1383
1416
  # @option opts [BootMenu, Hash] :boot_menu The value of attribute `boot_menu`.
1384
1417
  #
1418
+ # @option opts [BiosType] :type The value of attribute `type`.
1419
+ #
1385
1420
  #
1386
1421
  def initialize(opts = {})
1387
1422
  super(opts)
1388
1423
  self.boot_menu = opts[:boot_menu]
1424
+ self.type = opts[:type]
1389
1425
  end
1390
1426
 
1391
1427
  #
@@ -1393,7 +1429,8 @@ module OvirtSDK4
1393
1429
  #
1394
1430
  def ==(other)
1395
1431
  super &&
1396
- @boot_menu == other.boot_menu
1432
+ @boot_menu == other.boot_menu &&
1433
+ @type == other.type
1397
1434
  end
1398
1435
 
1399
1436
  #
@@ -1401,7 +1438,8 @@ module OvirtSDK4
1401
1438
  #
1402
1439
  def hash
1403
1440
  super +
1404
- @boot_menu.hash
1441
+ @boot_menu.hash +
1442
+ @type.hash
1405
1443
  end
1406
1444
 
1407
1445
  end
@@ -5401,6 +5439,31 @@ module OvirtSDK4
5401
5439
  @active = value
5402
5440
  end
5403
5441
 
5442
+ #
5443
+ # Returns the value of the `backup` attribute.
5444
+ #
5445
+ # @return [Backup]
5446
+ #
5447
+ def backup
5448
+ @backup
5449
+ end
5450
+
5451
+ #
5452
+ # Sets the value of the `backup` attribute.
5453
+ #
5454
+ # @param value [Backup, Hash]
5455
+ #
5456
+ # The `value` parameter can be an instance of {OvirtSDK4::Backup} or a hash.
5457
+ # If it is a hash then a new instance will be created passing the hash as the
5458
+ # `opts` parameter to the constructor.
5459
+ #
5460
+ def backup=(value)
5461
+ if value.is_a?(Hash)
5462
+ value = Backup.new(value)
5463
+ end
5464
+ @backup = value
5465
+ end
5466
+
5404
5467
  #
5405
5468
  # Returns the value of the `comment` attribute.
5406
5469
  #
@@ -5480,6 +5543,24 @@ module OvirtSDK4
5480
5543
  @disk = value
5481
5544
  end
5482
5545
 
5546
+ #
5547
+ # Returns the value of the `format` attribute.
5548
+ #
5549
+ # @return [DiskFormat]
5550
+ #
5551
+ def format
5552
+ @format
5553
+ end
5554
+
5555
+ #
5556
+ # Sets the value of the `format` attribute.
5557
+ #
5558
+ # @param value [DiskFormat]
5559
+ #
5560
+ def format=(value)
5561
+ @format = value
5562
+ end
5563
+
5483
5564
  #
5484
5565
  # Returns the value of the `host` attribute.
5485
5566
  #
@@ -5621,21 +5702,21 @@ module OvirtSDK4
5621
5702
  end
5622
5703
 
5623
5704
  #
5624
- # Returns the value of the `signed_ticket` attribute.
5705
+ # Returns the value of the `shallow` attribute.
5625
5706
  #
5626
- # @return [String]
5707
+ # @return [Boolean]
5627
5708
  #
5628
- def signed_ticket
5629
- @signed_ticket
5709
+ def shallow
5710
+ @shallow
5630
5711
  end
5631
5712
 
5632
5713
  #
5633
- # Sets the value of the `signed_ticket` attribute.
5714
+ # Sets the value of the `shallow` attribute.
5634
5715
  #
5635
- # @param value [String]
5716
+ # @param value [Boolean]
5636
5717
  #
5637
- def signed_ticket=(value)
5638
- @signed_ticket = value
5718
+ def shallow=(value)
5719
+ @shallow = value
5639
5720
  end
5640
5721
 
5641
5722
  #
@@ -5663,6 +5744,24 @@ module OvirtSDK4
5663
5744
  @snapshot = value
5664
5745
  end
5665
5746
 
5747
+ #
5748
+ # Returns the value of the `timeout_policy` attribute.
5749
+ #
5750
+ # @return [ImageTransferTimeoutPolicy]
5751
+ #
5752
+ def timeout_policy
5753
+ @timeout_policy
5754
+ end
5755
+
5756
+ #
5757
+ # Sets the value of the `timeout_policy` attribute.
5758
+ #
5759
+ # @param value [ImageTransferTimeoutPolicy]
5760
+ #
5761
+ def timeout_policy=(value)
5762
+ @timeout_policy = value
5763
+ end
5764
+
5666
5765
  #
5667
5766
  # Returns the value of the `transfer_url` attribute.
5668
5767
  #
@@ -5708,6 +5807,8 @@ module OvirtSDK4
5708
5807
  #
5709
5808
  # @option opts [Boolean] :active The value of attribute `active`.
5710
5809
  #
5810
+ # @option opts [Backup, Hash] :backup The value of attribute `backup`.
5811
+ #
5711
5812
  # @option opts [String] :comment The value of attribute `comment`.
5712
5813
  #
5713
5814
  # @option opts [String] :description The value of attribute `description`.
@@ -5716,6 +5817,8 @@ module OvirtSDK4
5716
5817
  #
5717
5818
  # @option opts [Disk, Hash] :disk The value of attribute `disk`.
5718
5819
  #
5820
+ # @option opts [DiskFormat] :format The value of attribute `format`.
5821
+ #
5719
5822
  # @option opts [Host, Hash] :host The value of attribute `host`.
5720
5823
  #
5721
5824
  # @option opts [String] :id The value of attribute `id`.
@@ -5730,10 +5833,12 @@ module OvirtSDK4
5730
5833
  #
5731
5834
  # @option opts [String] :proxy_url The value of attribute `proxy_url`.
5732
5835
  #
5733
- # @option opts [String] :signed_ticket The value of attribute `signed_ticket`.
5836
+ # @option opts [Boolean] :shallow The value of attribute `shallow`.
5734
5837
  #
5735
5838
  # @option opts [DiskSnapshot, Hash] :snapshot The value of attribute `snapshot`.
5736
5839
  #
5840
+ # @option opts [ImageTransferTimeoutPolicy] :timeout_policy The value of attribute `timeout_policy`.
5841
+ #
5737
5842
  # @option opts [String] :transfer_url The value of attribute `transfer_url`.
5738
5843
  #
5739
5844
  # @option opts [Integer] :transferred The value of attribute `transferred`.
@@ -5742,15 +5847,18 @@ module OvirtSDK4
5742
5847
  def initialize(opts = {})
5743
5848
  super(opts)
5744
5849
  self.active = opts[:active]
5850
+ self.backup = opts[:backup]
5745
5851
  self.direction = opts[:direction]
5746
5852
  self.disk = opts[:disk]
5853
+ self.format = opts[:format]
5747
5854
  self.host = opts[:host]
5748
5855
  self.image = opts[:image]
5749
5856
  self.inactivity_timeout = opts[:inactivity_timeout]
5750
5857
  self.phase = opts[:phase]
5751
5858
  self.proxy_url = opts[:proxy_url]
5752
- self.signed_ticket = opts[:signed_ticket]
5859
+ self.shallow = opts[:shallow]
5753
5860
  self.snapshot = opts[:snapshot]
5861
+ self.timeout_policy = opts[:timeout_policy]
5754
5862
  self.transfer_url = opts[:transfer_url]
5755
5863
  self.transferred = opts[:transferred]
5756
5864
  end
@@ -5761,15 +5869,18 @@ module OvirtSDK4
5761
5869
  def ==(other)
5762
5870
  super &&
5763
5871
  @active == other.active &&
5872
+ @backup == other.backup &&
5764
5873
  @direction == other.direction &&
5765
5874
  @disk == other.disk &&
5875
+ @format == other.format &&
5766
5876
  @host == other.host &&
5767
5877
  @image == other.image &&
5768
5878
  @inactivity_timeout == other.inactivity_timeout &&
5769
5879
  @phase == other.phase &&
5770
5880
  @proxy_url == other.proxy_url &&
5771
- @signed_ticket == other.signed_ticket &&
5881
+ @shallow == other.shallow &&
5772
5882
  @snapshot == other.snapshot &&
5883
+ @timeout_policy == other.timeout_policy &&
5773
5884
  @transfer_url == other.transfer_url &&
5774
5885
  @transferred == other.transferred
5775
5886
  end
@@ -5780,15 +5891,18 @@ module OvirtSDK4
5780
5891
  def hash
5781
5892
  super +
5782
5893
  @active.hash +
5894
+ @backup.hash +
5783
5895
  @direction.hash +
5784
5896
  @disk.hash +
5897
+ @format.hash +
5785
5898
  @host.hash +
5786
5899
  @image.hash +
5787
5900
  @inactivity_timeout.hash +
5788
5901
  @phase.hash +
5789
5902
  @proxy_url.hash +
5790
- @signed_ticket.hash +
5903
+ @shallow.hash +
5791
5904
  @snapshot.hash +
5905
+ @timeout_policy.hash +
5792
5906
  @transfer_url.hash +
5793
5907
  @transferred.hash
5794
5908
  end
@@ -5858,6 +5972,24 @@ module OvirtSDK4
5858
5972
  @cloud_init = value
5859
5973
  end
5860
5974
 
5975
+ #
5976
+ # Returns the value of the `cloud_init_network_protocol` attribute.
5977
+ #
5978
+ # @return [CloudInitNetworkProtocol]
5979
+ #
5980
+ def cloud_init_network_protocol
5981
+ @cloud_init_network_protocol
5982
+ end
5983
+
5984
+ #
5985
+ # Sets the value of the `cloud_init_network_protocol` attribute.
5986
+ #
5987
+ # @param value [CloudInitNetworkProtocol]
5988
+ #
5989
+ def cloud_init_network_protocol=(value)
5990
+ @cloud_init_network_protocol = value
5991
+ end
5992
+
5861
5993
  #
5862
5994
  # Returns the value of the `configuration` attribute.
5863
5995
  #
@@ -6210,6 +6342,8 @@ module OvirtSDK4
6210
6342
  #
6211
6343
  # @option opts [CloudInit, Hash] :cloud_init The value of attribute `cloud_init`.
6212
6344
  #
6345
+ # @option opts [CloudInitNetworkProtocol] :cloud_init_network_protocol The value of attribute `cloud_init_network_protocol`.
6346
+ #
6213
6347
  # @option opts [Configuration, Hash] :configuration The value of attribute `configuration`.
6214
6348
  #
6215
6349
  # @option opts [String] :custom_script The value of attribute `custom_script`.
@@ -6252,6 +6386,7 @@ module OvirtSDK4
6252
6386
  self.active_directory_ou = opts[:active_directory_ou]
6253
6387
  self.authorized_ssh_keys = opts[:authorized_ssh_keys]
6254
6388
  self.cloud_init = opts[:cloud_init]
6389
+ self.cloud_init_network_protocol = opts[:cloud_init_network_protocol]
6255
6390
  self.configuration = opts[:configuration]
6256
6391
  self.custom_script = opts[:custom_script]
6257
6392
  self.dns_search = opts[:dns_search]
@@ -6280,6 +6415,7 @@ module OvirtSDK4
6280
6415
  @active_directory_ou == other.active_directory_ou &&
6281
6416
  @authorized_ssh_keys == other.authorized_ssh_keys &&
6282
6417
  @cloud_init == other.cloud_init &&
6418
+ @cloud_init_network_protocol == other.cloud_init_network_protocol &&
6283
6419
  @configuration == other.configuration &&
6284
6420
  @custom_script == other.custom_script &&
6285
6421
  @dns_search == other.dns_search &&
@@ -6308,6 +6444,7 @@ module OvirtSDK4
6308
6444
  @active_directory_ou.hash +
6309
6445
  @authorized_ssh_keys.hash +
6310
6446
  @cloud_init.hash +
6447
+ @cloud_init_network_protocol.hash +
6311
6448
  @configuration.hash +
6312
6449
  @custom_script.hash +
6313
6450
  @dns_search.hash +
@@ -8672,6 +8809,105 @@ module OvirtSDK4
8672
8809
 
8673
8810
  end
8674
8811
 
8812
+ class MDevType < Struct
8813
+
8814
+ #
8815
+ # Returns the value of the `available_instances` attribute.
8816
+ #
8817
+ # @return [Integer]
8818
+ #
8819
+ def available_instances
8820
+ @available_instances
8821
+ end
8822
+
8823
+ #
8824
+ # Sets the value of the `available_instances` attribute.
8825
+ #
8826
+ # @param value [Integer]
8827
+ #
8828
+ def available_instances=(value)
8829
+ @available_instances = value
8830
+ end
8831
+
8832
+ #
8833
+ # Returns the value of the `description` attribute.
8834
+ #
8835
+ # @return [String]
8836
+ #
8837
+ def description
8838
+ @description
8839
+ end
8840
+
8841
+ #
8842
+ # Sets the value of the `description` attribute.
8843
+ #
8844
+ # @param value [String]
8845
+ #
8846
+ def description=(value)
8847
+ @description = value
8848
+ end
8849
+
8850
+ #
8851
+ # Returns the value of the `name` attribute.
8852
+ #
8853
+ # @return [String]
8854
+ #
8855
+ def name
8856
+ @name
8857
+ end
8858
+
8859
+ #
8860
+ # Sets the value of the `name` attribute.
8861
+ #
8862
+ # @param value [String]
8863
+ #
8864
+ def name=(value)
8865
+ @name = value
8866
+ end
8867
+
8868
+ #
8869
+ # Creates a new instance of the {MDevType} class.
8870
+ #
8871
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
8872
+ # should be symbols corresponding to the names of the attributes. The values of the hash
8873
+ # should be the values of the attributes.
8874
+ #
8875
+ # @option opts [Integer] :available_instances The value of attribute `available_instances`.
8876
+ #
8877
+ # @option opts [String] :description The value of attribute `description`.
8878
+ #
8879
+ # @option opts [String] :name The value of attribute `name`.
8880
+ #
8881
+ #
8882
+ def initialize(opts = {})
8883
+ super(opts)
8884
+ self.available_instances = opts[:available_instances]
8885
+ self.description = opts[:description]
8886
+ self.name = opts[:name]
8887
+ end
8888
+
8889
+ #
8890
+ # Returns `true` if `self` and `other` have the same attributes and values.
8891
+ #
8892
+ def ==(other)
8893
+ super &&
8894
+ @available_instances == other.available_instances &&
8895
+ @description == other.description &&
8896
+ @name == other.name
8897
+ end
8898
+
8899
+ #
8900
+ # Generates a hash value for this object.
8901
+ #
8902
+ def hash
8903
+ super +
8904
+ @available_instances.hash +
8905
+ @description.hash +
8906
+ @name.hash
8907
+ end
8908
+
8909
+ end
8910
+
8675
8911
  class Mac < Struct
8676
8912
 
8677
8913
  #
@@ -8835,6 +9071,32 @@ module OvirtSDK4
8835
9071
  @name = value
8836
9072
  end
8837
9073
 
9074
+ #
9075
+ # Returns the value of the `permissions` attribute.
9076
+ #
9077
+ # @return [Array<Permission>]
9078
+ #
9079
+ def permissions
9080
+ @permissions
9081
+ end
9082
+
9083
+ #
9084
+ # Sets the value of the `permissions` attribute.
9085
+ #
9086
+ # @param list [Array<Permission>]
9087
+ #
9088
+ def permissions=(list)
9089
+ if list.class == Array
9090
+ list = List.new(list)
9091
+ list.each_with_index do |value, index|
9092
+ if value.is_a?(Hash)
9093
+ list[index] = Permission.new(value)
9094
+ end
9095
+ end
9096
+ end
9097
+ @permissions = list
9098
+ end
9099
+
8838
9100
  #
8839
9101
  # Returns the value of the `ranges` attribute.
8840
9102
  #
@@ -8880,6 +9142,8 @@ module OvirtSDK4
8880
9142
  #
8881
9143
  # @option opts [String] :name The value of attribute `name`.
8882
9144
  #
9145
+ # @option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.
9146
+ #
8883
9147
  # @option opts [Array<Range>, Array<Hash>] :ranges The values of attribute `ranges`.
8884
9148
  #
8885
9149
  #
@@ -8887,6 +9151,7 @@ module OvirtSDK4
8887
9151
  super(opts)
8888
9152
  self.allow_duplicates = opts[:allow_duplicates]
8889
9153
  self.default_pool = opts[:default_pool]
9154
+ self.permissions = opts[:permissions]
8890
9155
  self.ranges = opts[:ranges]
8891
9156
  end
8892
9157
 
@@ -8897,6 +9162,7 @@ module OvirtSDK4
8897
9162
  super &&
8898
9163
  @allow_duplicates == other.allow_duplicates &&
8899
9164
  @default_pool == other.default_pool &&
9165
+ @permissions == other.permissions &&
8900
9166
  @ranges == other.ranges
8901
9167
  end
8902
9168
 
@@ -8907,6 +9173,7 @@ module OvirtSDK4
8907
9173
  super +
8908
9174
  @allow_duplicates.hash +
8909
9175
  @default_pool.hash +
9176
+ @permissions.hash +
8910
9177
  @ranges.hash
8911
9178
  end
8912
9179
 
@@ -9316,6 +9583,24 @@ module OvirtSDK4
9316
9583
  @compressed = value
9317
9584
  end
9318
9585
 
9586
+ #
9587
+ # Returns the value of the `encrypted` attribute.
9588
+ #
9589
+ # @return [InheritableBoolean]
9590
+ #
9591
+ def encrypted
9592
+ @encrypted
9593
+ end
9594
+
9595
+ #
9596
+ # Sets the value of the `encrypted` attribute.
9597
+ #
9598
+ # @param value [InheritableBoolean]
9599
+ #
9600
+ def encrypted=(value)
9601
+ @encrypted = value
9602
+ end
9603
+
9319
9604
  #
9320
9605
  # Returns the value of the `policy` attribute.
9321
9606
  #
@@ -9354,6 +9639,8 @@ module OvirtSDK4
9354
9639
  #
9355
9640
  # @option opts [InheritableBoolean] :compressed The value of attribute `compressed`.
9356
9641
  #
9642
+ # @option opts [InheritableBoolean] :encrypted The value of attribute `encrypted`.
9643
+ #
9357
9644
  # @option opts [MigrationPolicy, Hash] :policy The value of attribute `policy`.
9358
9645
  #
9359
9646
  #
@@ -9362,6 +9649,7 @@ module OvirtSDK4
9362
9649
  self.auto_converge = opts[:auto_converge]
9363
9650
  self.bandwidth = opts[:bandwidth]
9364
9651
  self.compressed = opts[:compressed]
9652
+ self.encrypted = opts[:encrypted]
9365
9653
  self.policy = opts[:policy]
9366
9654
  end
9367
9655
 
@@ -9373,6 +9661,7 @@ module OvirtSDK4
9373
9661
  @auto_converge == other.auto_converge &&
9374
9662
  @bandwidth == other.bandwidth &&
9375
9663
  @compressed == other.compressed &&
9664
+ @encrypted == other.encrypted &&
9376
9665
  @policy == other.policy
9377
9666
  end
9378
9667
 
@@ -9384,6 +9673,7 @@ module OvirtSDK4
9384
9673
  @auto_converge.hash +
9385
9674
  @bandwidth.hash +
9386
9675
  @compressed.hash +
9676
+ @encrypted.hash +
9387
9677
  @policy.hash
9388
9678
  end
9389
9679
 
@@ -9797,6 +10087,24 @@ module OvirtSDK4
9797
10087
  @permissions = list
9798
10088
  end
9799
10089
 
10090
+ #
10091
+ # Returns the value of the `port_isolation` attribute.
10092
+ #
10093
+ # @return [Boolean]
10094
+ #
10095
+ def port_isolation
10096
+ @port_isolation
10097
+ end
10098
+
10099
+ #
10100
+ # Sets the value of the `port_isolation` attribute.
10101
+ #
10102
+ # @param value [Boolean]
10103
+ #
10104
+ def port_isolation=(value)
10105
+ @port_isolation = value
10106
+ end
10107
+
9800
10108
  #
9801
10109
  # Returns the value of the `profile_required` attribute.
9802
10110
  #
@@ -9912,6 +10220,24 @@ module OvirtSDK4
9912
10220
  @usages = list
9913
10221
  end
9914
10222
 
10223
+ #
10224
+ # Returns the value of the `vdsm_name` attribute.
10225
+ #
10226
+ # @return [String]
10227
+ #
10228
+ def vdsm_name
10229
+ @vdsm_name
10230
+ end
10231
+
10232
+ #
10233
+ # Sets the value of the `vdsm_name` attribute.
10234
+ #
10235
+ # @param value [String]
10236
+ #
10237
+ def vdsm_name=(value)
10238
+ @vdsm_name = value
10239
+ end
10240
+
9915
10241
  #
9916
10242
  # Returns the value of the `vlan` attribute.
9917
10243
  #
@@ -9998,6 +10324,8 @@ module OvirtSDK4
9998
10324
  #
9999
10325
  # @option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.
10000
10326
  #
10327
+ # @option opts [Boolean] :port_isolation The value of attribute `port_isolation`.
10328
+ #
10001
10329
  # @option opts [Boolean] :profile_required The value of attribute `profile_required`.
10002
10330
  #
10003
10331
  # @option opts [Qos, Hash] :qos The value of attribute `qos`.
@@ -10010,6 +10338,8 @@ module OvirtSDK4
10010
10338
  #
10011
10339
  # @option opts [Array<NetworkUsage>, Array<Hash>] :usages The values of attribute `usages`.
10012
10340
  #
10341
+ # @option opts [String] :vdsm_name The value of attribute `vdsm_name`.
10342
+ #
10013
10343
  # @option opts [Vlan, Hash] :vlan The value of attribute `vlan`.
10014
10344
  #
10015
10345
  # @option opts [Array<VnicProfile>, Array<Hash>] :vnic_profiles The values of attribute `vnic_profiles`.
@@ -10027,12 +10357,14 @@ module OvirtSDK4
10027
10357
  self.mtu = opts[:mtu]
10028
10358
  self.network_labels = opts[:network_labels]
10029
10359
  self.permissions = opts[:permissions]
10360
+ self.port_isolation = opts[:port_isolation]
10030
10361
  self.profile_required = opts[:profile_required]
10031
10362
  self.qos = opts[:qos]
10032
10363
  self.required = opts[:required]
10033
10364
  self.status = opts[:status]
10034
10365
  self.stp = opts[:stp]
10035
10366
  self.usages = opts[:usages]
10367
+ self.vdsm_name = opts[:vdsm_name]
10036
10368
  self.vlan = opts[:vlan]
10037
10369
  self.vnic_profiles = opts[:vnic_profiles]
10038
10370
  end
@@ -10052,12 +10384,14 @@ module OvirtSDK4
10052
10384
  @mtu == other.mtu &&
10053
10385
  @network_labels == other.network_labels &&
10054
10386
  @permissions == other.permissions &&
10387
+ @port_isolation == other.port_isolation &&
10055
10388
  @profile_required == other.profile_required &&
10056
10389
  @qos == other.qos &&
10057
10390
  @required == other.required &&
10058
10391
  @status == other.status &&
10059
10392
  @stp == other.stp &&
10060
10393
  @usages == other.usages &&
10394
+ @vdsm_name == other.vdsm_name &&
10061
10395
  @vlan == other.vlan &&
10062
10396
  @vnic_profiles == other.vnic_profiles
10063
10397
  end
@@ -10077,12 +10411,14 @@ module OvirtSDK4
10077
10411
  @mtu.hash +
10078
10412
  @network_labels.hash +
10079
10413
  @permissions.hash +
10414
+ @port_isolation.hash +
10080
10415
  @profile_required.hash +
10081
10416
  @qos.hash +
10082
10417
  @required.hash +
10083
10418
  @status.hash +
10084
10419
  @stp.hash +
10085
10420
  @usages.hash +
10421
+ @vdsm_name.hash +
10086
10422
  @vlan.hash +
10087
10423
  @vnic_profiles.hash
10088
10424
  end
@@ -14340,6 +14676,24 @@ module OvirtSDK4
14340
14676
 
14341
14677
  class ProductInfo < Struct
14342
14678
 
14679
+ #
14680
+ # Returns the value of the `instance_id` attribute.
14681
+ #
14682
+ # @return [String]
14683
+ #
14684
+ def instance_id
14685
+ @instance_id
14686
+ end
14687
+
14688
+ #
14689
+ # Sets the value of the `instance_id` attribute.
14690
+ #
14691
+ # @param value [String]
14692
+ #
14693
+ def instance_id=(value)
14694
+ @instance_id = value
14695
+ end
14696
+
14343
14697
  #
14344
14698
  # Returns the value of the `name` attribute.
14345
14699
  #
@@ -14408,6 +14762,8 @@ module OvirtSDK4
14408
14762
  # should be symbols corresponding to the names of the attributes. The values of the hash
14409
14763
  # should be the values of the attributes.
14410
14764
  #
14765
+ # @option opts [String] :instance_id The value of attribute `instance_id`.
14766
+ #
14411
14767
  # @option opts [String] :name The value of attribute `name`.
14412
14768
  #
14413
14769
  # @option opts [String] :vendor The value of attribute `vendor`.
@@ -14417,6 +14773,7 @@ module OvirtSDK4
14417
14773
  #
14418
14774
  def initialize(opts = {})
14419
14775
  super(opts)
14776
+ self.instance_id = opts[:instance_id]
14420
14777
  self.name = opts[:name]
14421
14778
  self.vendor = opts[:vendor]
14422
14779
  self.version = opts[:version]
@@ -14427,6 +14784,7 @@ module OvirtSDK4
14427
14784
  #
14428
14785
  def ==(other)
14429
14786
  super &&
14787
+ @instance_id == other.instance_id &&
14430
14788
  @name == other.name &&
14431
14789
  @vendor == other.vendor &&
14432
14790
  @version == other.version
@@ -14437,6 +14795,7 @@ module OvirtSDK4
14437
14795
  #
14438
14796
  def hash
14439
14797
  super +
14798
+ @instance_id.hash +
14440
14799
  @name.hash +
14441
14800
  @vendor.hash +
14442
14801
  @version.hash
@@ -19132,6 +19491,24 @@ module OvirtSDK4
19132
19491
  @port = value
19133
19492
  end
19134
19493
 
19494
+ #
19495
+ # Returns the value of the `public_key` attribute.
19496
+ #
19497
+ # @return [String]
19498
+ #
19499
+ def public_key
19500
+ @public_key
19501
+ end
19502
+
19503
+ #
19504
+ # Sets the value of the `public_key` attribute.
19505
+ #
19506
+ # @param value [String]
19507
+ #
19508
+ def public_key=(value)
19509
+ @public_key = value
19510
+ end
19511
+
19135
19512
  #
19136
19513
  # Returns the value of the `user` attribute.
19137
19514
  #
@@ -19178,6 +19555,8 @@ module OvirtSDK4
19178
19555
  #
19179
19556
  # @option opts [Integer] :port The value of attribute `port`.
19180
19557
  #
19558
+ # @option opts [String] :public_key The value of attribute `public_key`.
19559
+ #
19181
19560
  # @option opts [User, Hash] :user The value of attribute `user`.
19182
19561
  #
19183
19562
  #
@@ -19186,6 +19565,7 @@ module OvirtSDK4
19186
19565
  self.authentication_method = opts[:authentication_method]
19187
19566
  self.fingerprint = opts[:fingerprint]
19188
19567
  self.port = opts[:port]
19568
+ self.public_key = opts[:public_key]
19189
19569
  self.user = opts[:user]
19190
19570
  end
19191
19571
 
@@ -19197,6 +19577,7 @@ module OvirtSDK4
19197
19577
  @authentication_method == other.authentication_method &&
19198
19578
  @fingerprint == other.fingerprint &&
19199
19579
  @port == other.port &&
19580
+ @public_key == other.public_key &&
19200
19581
  @user == other.user
19201
19582
  end
19202
19583
 
@@ -19208,6 +19589,7 @@ module OvirtSDK4
19208
19589
  @authentication_method.hash +
19209
19590
  @fingerprint.hash +
19210
19591
  @port.hash +
19592
+ @public_key.hash +
19211
19593
  @user.hash
19212
19594
  end
19213
19595
 
@@ -20388,6 +20770,31 @@ module OvirtSDK4
20388
20770
  @description = value
20389
20771
  end
20390
20772
 
20773
+ #
20774
+ # Returns the value of the `gluster_volume` attribute.
20775
+ #
20776
+ # @return [GlusterVolume]
20777
+ #
20778
+ def gluster_volume
20779
+ @gluster_volume
20780
+ end
20781
+
20782
+ #
20783
+ # Sets the value of the `gluster_volume` attribute.
20784
+ #
20785
+ # @param value [GlusterVolume, Hash]
20786
+ #
20787
+ # The `value` parameter can be an instance of {OvirtSDK4::GlusterVolume} or a hash.
20788
+ # If it is a hash then a new instance will be created passing the hash as the
20789
+ # `opts` parameter to the constructor.
20790
+ #
20791
+ def gluster_volume=(value)
20792
+ if value.is_a?(Hash)
20793
+ value = GlusterVolume.new(value)
20794
+ end
20795
+ @gluster_volume = value
20796
+ end
20797
+
20391
20798
  #
20392
20799
  # Returns the value of the `host` attribute.
20393
20800
  #
@@ -20678,6 +21085,8 @@ module OvirtSDK4
20678
21085
  #
20679
21086
  # @option opts [String] :description The value of attribute `description`.
20680
21087
  #
21088
+ # @option opts [GlusterVolume, Hash] :gluster_volume The value of attribute `gluster_volume`.
21089
+ #
20681
21090
  # @option opts [Host, Hash] :host The value of attribute `host`.
20682
21091
  #
20683
21092
  # @option opts [String] :id The value of attribute `id`.
@@ -20712,6 +21121,7 @@ module OvirtSDK4
20712
21121
  def initialize(opts = {})
20713
21122
  super(opts)
20714
21123
  self.address = opts[:address]
21124
+ self.gluster_volume = opts[:gluster_volume]
20715
21125
  self.host = opts[:host]
20716
21126
  self.mount_options = opts[:mount_options]
20717
21127
  self.nfs_retrans = opts[:nfs_retrans]
@@ -20733,6 +21143,7 @@ module OvirtSDK4
20733
21143
  def ==(other)
20734
21144
  super &&
20735
21145
  @address == other.address &&
21146
+ @gluster_volume == other.gluster_volume &&
20736
21147
  @host == other.host &&
20737
21148
  @mount_options == other.mount_options &&
20738
21149
  @nfs_retrans == other.nfs_retrans &&
@@ -20754,6 +21165,7 @@ module OvirtSDK4
20754
21165
  def hash
20755
21166
  super +
20756
21167
  @address.hash +
21168
+ @gluster_volume.hash +
20757
21169
  @host.hash +
20758
21170
  @mount_options.hash +
20759
21171
  @nfs_retrans.hash +
@@ -21018,6 +21430,24 @@ module OvirtSDK4
21018
21430
  @backup = value
21019
21431
  end
21020
21432
 
21433
+ #
21434
+ # Returns the value of the `block_size` attribute.
21435
+ #
21436
+ # @return [Integer]
21437
+ #
21438
+ def block_size
21439
+ @block_size
21440
+ end
21441
+
21442
+ #
21443
+ # Sets the value of the `block_size` attribute.
21444
+ #
21445
+ # @param value [Integer]
21446
+ #
21447
+ def block_size=(value)
21448
+ @block_size = value
21449
+ end
21450
+
21021
21451
  #
21022
21452
  # Returns the value of the `comment` attribute.
21023
21453
  #
@@ -21688,6 +22118,8 @@ module OvirtSDK4
21688
22118
  #
21689
22119
  # @option opts [Boolean] :backup The value of attribute `backup`.
21690
22120
  #
22121
+ # @option opts [Integer] :block_size The value of attribute `block_size`.
22122
+ #
21691
22123
  # @option opts [String] :comment The value of attribute `comment`.
21692
22124
  #
21693
22125
  # @option opts [Integer] :committed The value of attribute `committed`.
@@ -21755,6 +22187,7 @@ module OvirtSDK4
21755
22187
  super(opts)
21756
22188
  self.available = opts[:available]
21757
22189
  self.backup = opts[:backup]
22190
+ self.block_size = opts[:block_size]
21758
22191
  self.committed = opts[:committed]
21759
22192
  self.critical_space_action_blocker = opts[:critical_space_action_blocker]
21760
22193
  self.data_center = opts[:data_center]
@@ -21791,6 +22224,7 @@ module OvirtSDK4
21791
22224
  super &&
21792
22225
  @available == other.available &&
21793
22226
  @backup == other.backup &&
22227
+ @block_size == other.block_size &&
21794
22228
  @committed == other.committed &&
21795
22229
  @critical_space_action_blocker == other.critical_space_action_blocker &&
21796
22230
  @data_center == other.data_center &&
@@ -21827,6 +22261,7 @@ module OvirtSDK4
21827
22261
  super +
21828
22262
  @available.hash +
21829
22263
  @backup.hash +
22264
+ @block_size.hash +
21830
22265
  @committed.hash +
21831
22266
  @critical_space_action_blocker.hash +
21832
22267
  @data_center.hash +
@@ -23215,6 +23650,32 @@ module OvirtSDK4
23215
23650
  @namespace = value
23216
23651
  end
23217
23652
 
23653
+ #
23654
+ # Returns the value of the `options` attribute.
23655
+ #
23656
+ # @return [Array<UserOption>]
23657
+ #
23658
+ def options
23659
+ @options
23660
+ end
23661
+
23662
+ #
23663
+ # Sets the value of the `options` attribute.
23664
+ #
23665
+ # @param list [Array<UserOption>]
23666
+ #
23667
+ def options=(list)
23668
+ if list.class == Array
23669
+ list = List.new(list)
23670
+ list.each_with_index do |value, index|
23671
+ if value.is_a?(Hash)
23672
+ list[index] = UserOption.new(value)
23673
+ end
23674
+ end
23675
+ end
23676
+ @options = list
23677
+ end
23678
+
23218
23679
  #
23219
23680
  # Returns the value of the `password` attribute.
23220
23681
  #
@@ -23373,6 +23834,32 @@ module OvirtSDK4
23373
23834
  @user_name = value
23374
23835
  end
23375
23836
 
23837
+ #
23838
+ # Returns the value of the `user_options` attribute.
23839
+ #
23840
+ # @return [Array<Property>]
23841
+ #
23842
+ def user_options
23843
+ @user_options
23844
+ end
23845
+
23846
+ #
23847
+ # Sets the value of the `user_options` attribute.
23848
+ #
23849
+ # @param list [Array<Property>]
23850
+ #
23851
+ def user_options=(list)
23852
+ if list.class == Array
23853
+ list = List.new(list)
23854
+ list.each_with_index do |value, index|
23855
+ if value.is_a?(Hash)
23856
+ list[index] = Property.new(value)
23857
+ end
23858
+ end
23859
+ end
23860
+ @user_options = list
23861
+ end
23862
+
23376
23863
  #
23377
23864
  # Creates a new instance of the {User} class.
23378
23865
  #
@@ -23404,6 +23891,8 @@ module OvirtSDK4
23404
23891
  #
23405
23892
  # @option opts [String] :namespace The value of attribute `namespace`.
23406
23893
  #
23894
+ # @option opts [Array<UserOption>, Array<Hash>] :options The values of attribute `options`.
23895
+ #
23407
23896
  # @option opts [String] :password The value of attribute `password`.
23408
23897
  #
23409
23898
  # @option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.
@@ -23418,6 +23907,8 @@ module OvirtSDK4
23418
23907
  #
23419
23908
  # @option opts [String] :user_name The value of attribute `user_name`.
23420
23909
  #
23910
+ # @option opts [Array<Property>, Array<Hash>] :user_options The values of attribute `user_options`.
23911
+ #
23421
23912
  #
23422
23913
  def initialize(opts = {})
23423
23914
  super(opts)
@@ -23429,6 +23920,7 @@ module OvirtSDK4
23429
23920
  self.last_name = opts[:last_name]
23430
23921
  self.logged_in = opts[:logged_in]
23431
23922
  self.namespace = opts[:namespace]
23923
+ self.options = opts[:options]
23432
23924
  self.password = opts[:password]
23433
23925
  self.permissions = opts[:permissions]
23434
23926
  self.principal = opts[:principal]
@@ -23436,6 +23928,7 @@ module OvirtSDK4
23436
23928
  self.ssh_public_keys = opts[:ssh_public_keys]
23437
23929
  self.tags = opts[:tags]
23438
23930
  self.user_name = opts[:user_name]
23931
+ self.user_options = opts[:user_options]
23439
23932
  end
23440
23933
 
23441
23934
  #
@@ -23451,13 +23944,15 @@ module OvirtSDK4
23451
23944
  @last_name == other.last_name &&
23452
23945
  @logged_in == other.logged_in &&
23453
23946
  @namespace == other.namespace &&
23947
+ @options == other.options &&
23454
23948
  @password == other.password &&
23455
23949
  @permissions == other.permissions &&
23456
23950
  @principal == other.principal &&
23457
23951
  @roles == other.roles &&
23458
23952
  @ssh_public_keys == other.ssh_public_keys &&
23459
23953
  @tags == other.tags &&
23460
- @user_name == other.user_name
23954
+ @user_name == other.user_name &&
23955
+ @user_options == other.user_options
23461
23956
  end
23462
23957
 
23463
23958
  #
@@ -23473,170 +23968,335 @@ module OvirtSDK4
23473
23968
  @last_name.hash +
23474
23969
  @logged_in.hash +
23475
23970
  @namespace.hash +
23971
+ @options.hash +
23476
23972
  @password.hash +
23477
23973
  @permissions.hash +
23478
23974
  @principal.hash +
23479
23975
  @roles.hash +
23480
23976
  @ssh_public_keys.hash +
23481
23977
  @tags.hash +
23482
- @user_name.hash
23483
- end
23484
-
23485
- end
23486
-
23487
- class Value < Struct
23488
-
23489
- #
23490
- # Returns the value of the `datum` attribute.
23491
- #
23492
- # @return [Float]
23493
- #
23494
- def datum
23495
- @datum
23496
- end
23497
-
23498
- #
23499
- # Sets the value of the `datum` attribute.
23500
- #
23501
- # @param value [Float]
23502
- #
23503
- def datum=(value)
23504
- @datum = value
23505
- end
23506
-
23507
- #
23508
- # Returns the value of the `detail` attribute.
23509
- #
23510
- # @return [String]
23511
- #
23512
- def detail
23513
- @detail
23514
- end
23515
-
23516
- #
23517
- # Sets the value of the `detail` attribute.
23518
- #
23519
- # @param value [String]
23520
- #
23521
- def detail=(value)
23522
- @detail = value
23523
- end
23524
-
23525
- #
23526
- # Creates a new instance of the {Value} class.
23527
- #
23528
- # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
23529
- # should be symbols corresponding to the names of the attributes. The values of the hash
23530
- # should be the values of the attributes.
23531
- #
23532
- # @option opts [Float] :datum The value of attribute `datum`.
23533
- #
23534
- # @option opts [String] :detail The value of attribute `detail`.
23535
- #
23536
- #
23537
- def initialize(opts = {})
23538
- super(opts)
23539
- self.datum = opts[:datum]
23540
- self.detail = opts[:detail]
23541
- end
23542
-
23543
- #
23544
- # Returns `true` if `self` and `other` have the same attributes and values.
23545
- #
23546
- def ==(other)
23547
- super &&
23548
- @datum == other.datum &&
23549
- @detail == other.detail
23550
- end
23551
-
23552
- #
23553
- # Generates a hash value for this object.
23554
- #
23555
- def hash
23556
- super +
23557
- @datum.hash +
23558
- @detail.hash
23559
- end
23560
-
23561
- end
23562
-
23563
- class VcpuPin < Struct
23564
-
23565
- #
23566
- # Returns the value of the `cpu_set` attribute.
23567
- #
23568
- # @return [String]
23569
- #
23570
- def cpu_set
23571
- @cpu_set
23572
- end
23573
-
23574
- #
23575
- # Sets the value of the `cpu_set` attribute.
23576
- #
23577
- # @param value [String]
23578
- #
23579
- def cpu_set=(value)
23580
- @cpu_set = value
23581
- end
23582
-
23583
- #
23584
- # Returns the value of the `vcpu` attribute.
23585
- #
23586
- # @return [Integer]
23587
- #
23588
- def vcpu
23589
- @vcpu
23590
- end
23591
-
23592
- #
23593
- # Sets the value of the `vcpu` attribute.
23594
- #
23595
- # @param value [Integer]
23596
- #
23597
- def vcpu=(value)
23598
- @vcpu = value
23599
- end
23600
-
23601
- #
23602
- # Creates a new instance of the {VcpuPin} class.
23603
- #
23604
- # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
23605
- # should be symbols corresponding to the names of the attributes. The values of the hash
23606
- # should be the values of the attributes.
23607
- #
23608
- # @option opts [String] :cpu_set The value of attribute `cpu_set`.
23609
- #
23610
- # @option opts [Integer] :vcpu The value of attribute `vcpu`.
23611
- #
23612
- #
23613
- def initialize(opts = {})
23614
- super(opts)
23615
- self.cpu_set = opts[:cpu_set]
23616
- self.vcpu = opts[:vcpu]
23617
- end
23618
-
23619
- #
23620
- # Returns `true` if `self` and `other` have the same attributes and values.
23621
- #
23622
- def ==(other)
23623
- super &&
23624
- @cpu_set == other.cpu_set &&
23625
- @vcpu == other.vcpu
23626
- end
23627
-
23628
- #
23629
- # Generates a hash value for this object.
23630
- #
23631
- def hash
23632
- super +
23633
- @cpu_set.hash +
23634
- @vcpu.hash
23978
+ @user_name.hash +
23979
+ @user_options.hash
23635
23980
  end
23636
23981
 
23637
23982
  end
23638
23983
 
23639
- class Vendor < Identified
23984
+ class UserOption < Identified
23985
+
23986
+ #
23987
+ # Returns the value of the `comment` attribute.
23988
+ #
23989
+ # @return [String]
23990
+ #
23991
+ def comment
23992
+ @comment
23993
+ end
23994
+
23995
+ #
23996
+ # Sets the value of the `comment` attribute.
23997
+ #
23998
+ # @param value [String]
23999
+ #
24000
+ def comment=(value)
24001
+ @comment = value
24002
+ end
24003
+
24004
+ #
24005
+ # Returns the value of the `content` attribute.
24006
+ #
24007
+ # @return [String]
24008
+ #
24009
+ def content
24010
+ @content
24011
+ end
24012
+
24013
+ #
24014
+ # Sets the value of the `content` attribute.
24015
+ #
24016
+ # @param value [String]
24017
+ #
24018
+ def content=(value)
24019
+ @content = value
24020
+ end
24021
+
24022
+ #
24023
+ # Returns the value of the `description` attribute.
24024
+ #
24025
+ # @return [String]
24026
+ #
24027
+ def description
24028
+ @description
24029
+ end
24030
+
24031
+ #
24032
+ # Sets the value of the `description` attribute.
24033
+ #
24034
+ # @param value [String]
24035
+ #
24036
+ def description=(value)
24037
+ @description = value
24038
+ end
24039
+
24040
+ #
24041
+ # Returns the value of the `id` attribute.
24042
+ #
24043
+ # @return [String]
24044
+ #
24045
+ def id
24046
+ @id
24047
+ end
24048
+
24049
+ #
24050
+ # Sets the value of the `id` attribute.
24051
+ #
24052
+ # @param value [String]
24053
+ #
24054
+ def id=(value)
24055
+ @id = value
24056
+ end
24057
+
24058
+ #
24059
+ # Returns the value of the `name` attribute.
24060
+ #
24061
+ # @return [String]
24062
+ #
24063
+ def name
24064
+ @name
24065
+ end
24066
+
24067
+ #
24068
+ # Sets the value of the `name` attribute.
24069
+ #
24070
+ # @param value [String]
24071
+ #
24072
+ def name=(value)
24073
+ @name = value
24074
+ end
24075
+
24076
+ #
24077
+ # Returns the value of the `user` attribute.
24078
+ #
24079
+ # @return [User]
24080
+ #
24081
+ def user
24082
+ @user
24083
+ end
24084
+
24085
+ #
24086
+ # Sets the value of the `user` attribute.
24087
+ #
24088
+ # @param value [User, Hash]
24089
+ #
24090
+ # The `value` parameter can be an instance of {OvirtSDK4::User} or a hash.
24091
+ # If it is a hash then a new instance will be created passing the hash as the
24092
+ # `opts` parameter to the constructor.
24093
+ #
24094
+ def user=(value)
24095
+ if value.is_a?(Hash)
24096
+ value = User.new(value)
24097
+ end
24098
+ @user = value
24099
+ end
24100
+
24101
+ #
24102
+ # Creates a new instance of the {UserOption} class.
24103
+ #
24104
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
24105
+ # should be symbols corresponding to the names of the attributes. The values of the hash
24106
+ # should be the values of the attributes.
24107
+ #
24108
+ # @option opts [String] :comment The value of attribute `comment`.
24109
+ #
24110
+ # @option opts [String] :content The value of attribute `content`.
24111
+ #
24112
+ # @option opts [String] :description The value of attribute `description`.
24113
+ #
24114
+ # @option opts [String] :id The value of attribute `id`.
24115
+ #
24116
+ # @option opts [String] :name The value of attribute `name`.
24117
+ #
24118
+ # @option opts [User, Hash] :user The value of attribute `user`.
24119
+ #
24120
+ #
24121
+ def initialize(opts = {})
24122
+ super(opts)
24123
+ self.content = opts[:content]
24124
+ self.user = opts[:user]
24125
+ end
24126
+
24127
+ #
24128
+ # Returns `true` if `self` and `other` have the same attributes and values.
24129
+ #
24130
+ def ==(other)
24131
+ super &&
24132
+ @content == other.content &&
24133
+ @user == other.user
24134
+ end
24135
+
24136
+ #
24137
+ # Generates a hash value for this object.
24138
+ #
24139
+ def hash
24140
+ super +
24141
+ @content.hash +
24142
+ @user.hash
24143
+ end
24144
+
24145
+ end
24146
+
24147
+ class Value < Struct
24148
+
24149
+ #
24150
+ # Returns the value of the `datum` attribute.
24151
+ #
24152
+ # @return [Float]
24153
+ #
24154
+ def datum
24155
+ @datum
24156
+ end
24157
+
24158
+ #
24159
+ # Sets the value of the `datum` attribute.
24160
+ #
24161
+ # @param value [Float]
24162
+ #
24163
+ def datum=(value)
24164
+ @datum = value
24165
+ end
24166
+
24167
+ #
24168
+ # Returns the value of the `detail` attribute.
24169
+ #
24170
+ # @return [String]
24171
+ #
24172
+ def detail
24173
+ @detail
24174
+ end
24175
+
24176
+ #
24177
+ # Sets the value of the `detail` attribute.
24178
+ #
24179
+ # @param value [String]
24180
+ #
24181
+ def detail=(value)
24182
+ @detail = value
24183
+ end
24184
+
24185
+ #
24186
+ # Creates a new instance of the {Value} class.
24187
+ #
24188
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
24189
+ # should be symbols corresponding to the names of the attributes. The values of the hash
24190
+ # should be the values of the attributes.
24191
+ #
24192
+ # @option opts [Float] :datum The value of attribute `datum`.
24193
+ #
24194
+ # @option opts [String] :detail The value of attribute `detail`.
24195
+ #
24196
+ #
24197
+ def initialize(opts = {})
24198
+ super(opts)
24199
+ self.datum = opts[:datum]
24200
+ self.detail = opts[:detail]
24201
+ end
24202
+
24203
+ #
24204
+ # Returns `true` if `self` and `other` have the same attributes and values.
24205
+ #
24206
+ def ==(other)
24207
+ super &&
24208
+ @datum == other.datum &&
24209
+ @detail == other.detail
24210
+ end
24211
+
24212
+ #
24213
+ # Generates a hash value for this object.
24214
+ #
24215
+ def hash
24216
+ super +
24217
+ @datum.hash +
24218
+ @detail.hash
24219
+ end
24220
+
24221
+ end
24222
+
24223
+ class VcpuPin < Struct
24224
+
24225
+ #
24226
+ # Returns the value of the `cpu_set` attribute.
24227
+ #
24228
+ # @return [String]
24229
+ #
24230
+ def cpu_set
24231
+ @cpu_set
24232
+ end
24233
+
24234
+ #
24235
+ # Sets the value of the `cpu_set` attribute.
24236
+ #
24237
+ # @param value [String]
24238
+ #
24239
+ def cpu_set=(value)
24240
+ @cpu_set = value
24241
+ end
24242
+
24243
+ #
24244
+ # Returns the value of the `vcpu` attribute.
24245
+ #
24246
+ # @return [Integer]
24247
+ #
24248
+ def vcpu
24249
+ @vcpu
24250
+ end
24251
+
24252
+ #
24253
+ # Sets the value of the `vcpu` attribute.
24254
+ #
24255
+ # @param value [Integer]
24256
+ #
24257
+ def vcpu=(value)
24258
+ @vcpu = value
24259
+ end
24260
+
24261
+ #
24262
+ # Creates a new instance of the {VcpuPin} class.
24263
+ #
24264
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
24265
+ # should be symbols corresponding to the names of the attributes. The values of the hash
24266
+ # should be the values of the attributes.
24267
+ #
24268
+ # @option opts [String] :cpu_set The value of attribute `cpu_set`.
24269
+ #
24270
+ # @option opts [Integer] :vcpu The value of attribute `vcpu`.
24271
+ #
24272
+ #
24273
+ def initialize(opts = {})
24274
+ super(opts)
24275
+ self.cpu_set = opts[:cpu_set]
24276
+ self.vcpu = opts[:vcpu]
24277
+ end
24278
+
24279
+ #
24280
+ # Returns `true` if `self` and `other` have the same attributes and values.
24281
+ #
24282
+ def ==(other)
24283
+ super &&
24284
+ @cpu_set == other.cpu_set &&
24285
+ @vcpu == other.vcpu
24286
+ end
24287
+
24288
+ #
24289
+ # Generates a hash value for this object.
24290
+ #
24291
+ def hash
24292
+ super +
24293
+ @cpu_set.hash +
24294
+ @vcpu.hash
24295
+ end
24296
+
24297
+ end
24298
+
24299
+ class Vendor < Identified
23640
24300
 
23641
24301
  #
23642
24302
  # Returns the value of the `comment` attribute.
@@ -24214,6 +24874,24 @@ module OvirtSDK4
24214
24874
  @numa_node_pins = list
24215
24875
  end
24216
24876
 
24877
+ #
24878
+ # Returns the value of the `numa_tune_mode` attribute.
24879
+ #
24880
+ # @return [NumaTuneMode]
24881
+ #
24882
+ def numa_tune_mode
24883
+ @numa_tune_mode
24884
+ end
24885
+
24886
+ #
24887
+ # Sets the value of the `numa_tune_mode` attribute.
24888
+ #
24889
+ # @param value [NumaTuneMode]
24890
+ #
24891
+ def numa_tune_mode=(value)
24892
+ @numa_tune_mode = value
24893
+ end
24894
+
24217
24895
  #
24218
24896
  # Returns the value of the `statistics` attribute.
24219
24897
  #
@@ -24292,6 +24970,8 @@ module OvirtSDK4
24292
24970
  #
24293
24971
  # @option opts [Array<NumaNodePin>, Array<Hash>] :numa_node_pins The values of attribute `numa_node_pins`.
24294
24972
  #
24973
+ # @option opts [NumaTuneMode] :numa_tune_mode The value of attribute `numa_tune_mode`.
24974
+ #
24295
24975
  # @option opts [Array<Statistic>, Array<Hash>] :statistics The values of attribute `statistics`.
24296
24976
  #
24297
24977
  # @option opts [Vm, Hash] :vm The value of attribute `vm`.
@@ -24300,6 +24980,7 @@ module OvirtSDK4
24300
24980
  def initialize(opts = {})
24301
24981
  super(opts)
24302
24982
  self.numa_node_pins = opts[:numa_node_pins]
24983
+ self.numa_tune_mode = opts[:numa_tune_mode]
24303
24984
  self.vm = opts[:vm]
24304
24985
  end
24305
24986
 
@@ -24309,6 +24990,7 @@ module OvirtSDK4
24309
24990
  def ==(other)
24310
24991
  super &&
24311
24992
  @numa_node_pins == other.numa_node_pins &&
24993
+ @numa_tune_mode == other.numa_tune_mode &&
24312
24994
  @vm == other.vm
24313
24995
  end
24314
24996
 
@@ -24318,6 +25000,7 @@ module OvirtSDK4
24318
25000
  def hash
24319
25001
  super +
24320
25002
  @numa_node_pins.hash +
25003
+ @numa_tune_mode.hash +
24321
25004
  @vm.hash
24322
25005
  end
24323
25006
 
@@ -24959,6 +25642,24 @@ module OvirtSDK4
24959
25642
  @migration_downtime = value
24960
25643
  end
24961
25644
 
25645
+ #
25646
+ # Returns the value of the `multi_queues_enabled` attribute.
25647
+ #
25648
+ # @return [Boolean]
25649
+ #
25650
+ def multi_queues_enabled
25651
+ @multi_queues_enabled
25652
+ end
25653
+
25654
+ #
25655
+ # Sets the value of the `multi_queues_enabled` attribute.
25656
+ #
25657
+ # @param value [Boolean]
25658
+ #
25659
+ def multi_queues_enabled=(value)
25660
+ @multi_queues_enabled = value
25661
+ end
25662
+
24962
25663
  #
24963
25664
  # Returns the value of the `name` attribute.
24964
25665
  #
@@ -25378,6 +26079,24 @@ module OvirtSDK4
25378
26079
  @virtio_scsi = value
25379
26080
  end
25380
26081
 
26082
+ #
26083
+ # Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
26084
+ #
26085
+ # @return [Boolean]
26086
+ #
26087
+ def virtio_scsi_multi_queues_enabled
26088
+ @virtio_scsi_multi_queues_enabled
26089
+ end
26090
+
26091
+ #
26092
+ # Sets the value of the `virtio_scsi_multi_queues_enabled` attribute.
26093
+ #
26094
+ # @param value [Boolean]
26095
+ #
26096
+ def virtio_scsi_multi_queues_enabled=(value)
26097
+ @virtio_scsi_multi_queues_enabled = value
26098
+ end
26099
+
25381
26100
  #
25382
26101
  # Creates a new instance of the {VmBase} class.
25383
26102
  #
@@ -25437,6 +26156,8 @@ module OvirtSDK4
25437
26156
  #
25438
26157
  # @option opts [Integer] :migration_downtime The value of attribute `migration_downtime`.
25439
26158
  #
26159
+ # @option opts [Boolean] :multi_queues_enabled The value of attribute `multi_queues_enabled`.
26160
+ #
25440
26161
  # @option opts [String] :name The value of attribute `name`.
25441
26162
  #
25442
26163
  # @option opts [String] :origin The value of attribute `origin`.
@@ -25475,6 +26196,8 @@ module OvirtSDK4
25475
26196
  #
25476
26197
  # @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
25477
26198
  #
26199
+ # @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
26200
+ #
25478
26201
  #
25479
26202
  def initialize(opts = {})
25480
26203
  super(opts)
@@ -25501,6 +26224,7 @@ module OvirtSDK4
25501
26224
  self.memory_policy = opts[:memory_policy]
25502
26225
  self.migration = opts[:migration]
25503
26226
  self.migration_downtime = opts[:migration_downtime]
26227
+ self.multi_queues_enabled = opts[:multi_queues_enabled]
25504
26228
  self.origin = opts[:origin]
25505
26229
  self.os = opts[:os]
25506
26230
  self.placement_policy = opts[:placement_policy]
@@ -25519,6 +26243,7 @@ module OvirtSDK4
25519
26243
  self.type = opts[:type]
25520
26244
  self.usb = opts[:usb]
25521
26245
  self.virtio_scsi = opts[:virtio_scsi]
26246
+ self.virtio_scsi_multi_queues_enabled = opts[:virtio_scsi_multi_queues_enabled]
25522
26247
  end
25523
26248
 
25524
26249
  #
@@ -25549,6 +26274,7 @@ module OvirtSDK4
25549
26274
  @memory_policy == other.memory_policy &&
25550
26275
  @migration == other.migration &&
25551
26276
  @migration_downtime == other.migration_downtime &&
26277
+ @multi_queues_enabled == other.multi_queues_enabled &&
25552
26278
  @origin == other.origin &&
25553
26279
  @os == other.os &&
25554
26280
  @placement_policy == other.placement_policy &&
@@ -25566,7 +26292,8 @@ module OvirtSDK4
25566
26292
  @tunnel_migration == other.tunnel_migration &&
25567
26293
  @type == other.type &&
25568
26294
  @usb == other.usb &&
25569
- @virtio_scsi == other.virtio_scsi
26295
+ @virtio_scsi == other.virtio_scsi &&
26296
+ @virtio_scsi_multi_queues_enabled == other.virtio_scsi_multi_queues_enabled
25570
26297
  end
25571
26298
 
25572
26299
  #
@@ -25597,6 +26324,7 @@ module OvirtSDK4
25597
26324
  @memory_policy.hash +
25598
26325
  @migration.hash +
25599
26326
  @migration_downtime.hash +
26327
+ @multi_queues_enabled.hash +
25600
26328
  @origin.hash +
25601
26329
  @os.hash +
25602
26330
  @placement_policy.hash +
@@ -25614,7 +26342,8 @@ module OvirtSDK4
25614
26342
  @tunnel_migration.hash +
25615
26343
  @type.hash +
25616
26344
  @usb.hash +
25617
- @virtio_scsi.hash
26345
+ @virtio_scsi.hash +
26346
+ @virtio_scsi_multi_queues_enabled.hash
25618
26347
  end
25619
26348
 
25620
26349
  end
@@ -27106,6 +27835,24 @@ module OvirtSDK4
27106
27835
 
27107
27836
  class Action < Identified
27108
27837
 
27838
+ #
27839
+ # Returns the value of the `activate` attribute.
27840
+ #
27841
+ # @return [Boolean]
27842
+ #
27843
+ def activate
27844
+ @activate
27845
+ end
27846
+
27847
+ #
27848
+ # Sets the value of the `activate` attribute.
27849
+ #
27850
+ # @param value [Boolean]
27851
+ #
27852
+ def activate=(value)
27853
+ @activate = value
27854
+ end
27855
+
27109
27856
  #
27110
27857
  # Returns the value of the `allow_partial_import` attribute.
27111
27858
  #
@@ -27192,6 +27939,24 @@ module OvirtSDK4
27192
27939
  @authorized_key = value
27193
27940
  end
27194
27941
 
27942
+ #
27943
+ # Returns the value of the `auto_pinning_policy` attribute.
27944
+ #
27945
+ # @return [AutoPinningPolicy]
27946
+ #
27947
+ def auto_pinning_policy
27948
+ @auto_pinning_policy
27949
+ end
27950
+
27951
+ #
27952
+ # Sets the value of the `auto_pinning_policy` attribute.
27953
+ #
27954
+ # @param value [AutoPinningPolicy]
27955
+ #
27956
+ def auto_pinning_policy=(value)
27957
+ @auto_pinning_policy = value
27958
+ end
27959
+
27195
27960
  #
27196
27961
  # Returns the value of the `bricks` attribute.
27197
27962
  #
@@ -27359,6 +28124,24 @@ module OvirtSDK4
27359
28124
  @comment = value
27360
28125
  end
27361
28126
 
28127
+ #
28128
+ # Returns the value of the `commit_on_success` attribute.
28129
+ #
28130
+ # @return [Boolean]
28131
+ #
28132
+ def commit_on_success
28133
+ @commit_on_success
28134
+ end
28135
+
28136
+ #
28137
+ # Sets the value of the `commit_on_success` attribute.
28138
+ #
28139
+ # @param value [Boolean]
28140
+ #
28141
+ def commit_on_success=(value)
28142
+ @commit_on_success = value
28143
+ end
28144
+
27362
28145
  #
27363
28146
  # Returns the value of the `connection` attribute.
27364
28147
  #
@@ -28025,6 +28808,24 @@ module OvirtSDK4
28025
28808
  @logical_units = list
28026
28809
  end
28027
28810
 
28811
+ #
28812
+ # Returns the value of the `maintenance_after_restart` attribute.
28813
+ #
28814
+ # @return [Boolean]
28815
+ #
28816
+ def maintenance_after_restart
28817
+ @maintenance_after_restart
28818
+ end
28819
+
28820
+ #
28821
+ # Sets the value of the `maintenance_after_restart` attribute.
28822
+ #
28823
+ # @param value [Boolean]
28824
+ #
28825
+ def maintenance_after_restart=(value)
28826
+ @maintenance_after_restart = value
28827
+ end
28828
+
28028
28829
  #
28029
28830
  # Returns the value of the `maintenance_enabled` attribute.
28030
28831
  #
@@ -28043,6 +28844,24 @@ module OvirtSDK4
28043
28844
  @maintenance_enabled = value
28044
28845
  end
28045
28846
 
28847
+ #
28848
+ # Returns the value of the `migrate_vms_in_affinity_closure` attribute.
28849
+ #
28850
+ # @return [Boolean]
28851
+ #
28852
+ def migrate_vms_in_affinity_closure
28853
+ @migrate_vms_in_affinity_closure
28854
+ end
28855
+
28856
+ #
28857
+ # Sets the value of the `migrate_vms_in_affinity_closure` attribute.
28858
+ #
28859
+ # @param value [Boolean]
28860
+ #
28861
+ def migrate_vms_in_affinity_closure=(value)
28862
+ @migrate_vms_in_affinity_closure = value
28863
+ end
28864
+
28046
28865
  #
28047
28866
  # Returns the value of the `modified_bonds` attribute.
28048
28867
  #
@@ -28139,6 +28958,24 @@ module OvirtSDK4
28139
28958
  @name = value
28140
28959
  end
28141
28960
 
28961
+ #
28962
+ # Returns the value of the `optimize_cpu_settings` attribute.
28963
+ #
28964
+ # @return [Boolean]
28965
+ #
28966
+ def optimize_cpu_settings
28967
+ @optimize_cpu_settings
28968
+ end
28969
+
28970
+ #
28971
+ # Sets the value of the `optimize_cpu_settings` attribute.
28972
+ #
28973
+ # @param value [Boolean]
28974
+ #
28975
+ def optimize_cpu_settings=(value)
28976
+ @optimize_cpu_settings = value
28977
+ end
28978
+
28142
28979
  #
28143
28980
  # Returns the value of the `option` attribute.
28144
28981
  #
@@ -28554,6 +29391,31 @@ module OvirtSDK4
28554
29391
  @snapshot = value
28555
29392
  end
28556
29393
 
29394
+ #
29395
+ # Returns the value of the `source_host` attribute.
29396
+ #
29397
+ # @return [Host]
29398
+ #
29399
+ def source_host
29400
+ @source_host
29401
+ end
29402
+
29403
+ #
29404
+ # Sets the value of the `source_host` attribute.
29405
+ #
29406
+ # @param value [Host, Hash]
29407
+ #
29408
+ # The `value` parameter can be an instance of {OvirtSDK4::Host} or a hash.
29409
+ # If it is a hash then a new instance will be created passing the hash as the
29410
+ # `opts` parameter to the constructor.
29411
+ #
29412
+ def source_host=(value)
29413
+ if value.is_a?(Hash)
29414
+ value = Host.new(value)
29415
+ end
29416
+ @source_host = value
29417
+ end
29418
+
28557
29419
  #
28558
29420
  # Returns the value of the `ssh` attribute.
28559
29421
  #
@@ -28760,6 +29622,24 @@ module OvirtSDK4
28760
29622
  @ticket = value
28761
29623
  end
28762
29624
 
29625
+ #
29626
+ # Returns the value of the `timeout` attribute.
29627
+ #
29628
+ # @return [Integer]
29629
+ #
29630
+ def timeout
29631
+ @timeout
29632
+ end
29633
+
29634
+ #
29635
+ # Sets the value of the `timeout` attribute.
29636
+ #
29637
+ # @param value [Integer]
29638
+ #
29639
+ def timeout=(value)
29640
+ @timeout = value
29641
+ end
29642
+
28763
29643
  #
28764
29644
  # Returns the value of the `undeploy_hosted_engine` attribute.
28765
29645
  #
@@ -28778,6 +29658,24 @@ module OvirtSDK4
28778
29658
  @undeploy_hosted_engine = value
28779
29659
  end
28780
29660
 
29661
+ #
29662
+ # Returns the value of the `upgrade_action` attribute.
29663
+ #
29664
+ # @return [ClusterUpgradeAction]
29665
+ #
29666
+ def upgrade_action
29667
+ @upgrade_action
29668
+ end
29669
+
29670
+ #
29671
+ # Sets the value of the `upgrade_action` attribute.
29672
+ #
29673
+ # @param value [ClusterUpgradeAction]
29674
+ #
29675
+ def upgrade_action=(value)
29676
+ @upgrade_action = value
29677
+ end
29678
+
28781
29679
  #
28782
29680
  # Returns the value of the `use_cloud_init` attribute.
28783
29681
  #
@@ -28796,6 +29694,42 @@ module OvirtSDK4
28796
29694
  @use_cloud_init = value
28797
29695
  end
28798
29696
 
29697
+ #
29698
+ # Returns the value of the `use_ignition` attribute.
29699
+ #
29700
+ # @return [Boolean]
29701
+ #
29702
+ def use_ignition
29703
+ @use_ignition
29704
+ end
29705
+
29706
+ #
29707
+ # Sets the value of the `use_ignition` attribute.
29708
+ #
29709
+ # @param value [Boolean]
29710
+ #
29711
+ def use_ignition=(value)
29712
+ @use_ignition = value
29713
+ end
29714
+
29715
+ #
29716
+ # Returns the value of the `use_initialization` attribute.
29717
+ #
29718
+ # @return [Boolean]
29719
+ #
29720
+ def use_initialization
29721
+ @use_initialization
29722
+ end
29723
+
29724
+ #
29725
+ # Sets the value of the `use_initialization` attribute.
29726
+ #
29727
+ # @param value [Boolean]
29728
+ #
29729
+ def use_initialization=(value)
29730
+ @use_initialization = value
29731
+ end
29732
+
28799
29733
  #
28800
29734
  # Returns the value of the `use_sysprep` attribute.
28801
29735
  #
@@ -28915,6 +29849,8 @@ module OvirtSDK4
28915
29849
  # should be symbols corresponding to the names of the attributes. The values of the hash
28916
29850
  # should be the values of the attributes.
28917
29851
  #
29852
+ # @option opts [Boolean] :activate The value of attribute `activate`.
29853
+ #
28918
29854
  # @option opts [Boolean] :allow_partial_import The value of attribute `allow_partial_import`.
28919
29855
  #
28920
29856
  # @option opts [Boolean] :async The value of attribute `async`.
@@ -28923,6 +29859,8 @@ module OvirtSDK4
28923
29859
  #
28924
29860
  # @option opts [AuthorizedKey, Hash] :authorized_key The value of attribute `authorized_key`.
28925
29861
  #
29862
+ # @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
29863
+ #
28926
29864
  # @option opts [Array<GlusterBrick>, Array<Hash>] :bricks The values of attribute `bricks`.
28927
29865
  #
28928
29866
  # @option opts [Array<Certificate>, Array<Hash>] :certificates The values of attribute `certificates`.
@@ -28939,6 +29877,8 @@ module OvirtSDK4
28939
29877
  #
28940
29878
  # @option opts [String] :comment The value of attribute `comment`.
28941
29879
  #
29880
+ # @option opts [Boolean] :commit_on_success The value of attribute `commit_on_success`.
29881
+ #
28942
29882
  # @option opts [StorageConnection, Hash] :connection The value of attribute `connection`.
28943
29883
  #
28944
29884
  # @option opts [Integer] :connectivity_timeout The value of attribute `connectivity_timeout`.
@@ -29001,8 +29941,12 @@ module OvirtSDK4
29001
29941
  #
29002
29942
  # @option opts [Array<LogicalUnit>, Array<Hash>] :logical_units The values of attribute `logical_units`.
29003
29943
  #
29944
+ # @option opts [Boolean] :maintenance_after_restart The value of attribute `maintenance_after_restart`.
29945
+ #
29004
29946
  # @option opts [Boolean] :maintenance_enabled The value of attribute `maintenance_enabled`.
29005
29947
  #
29948
+ # @option opts [Boolean] :migrate_vms_in_affinity_closure The value of attribute `migrate_vms_in_affinity_closure`.
29949
+ #
29006
29950
  # @option opts [Array<HostNic>, Array<Hash>] :modified_bonds The values of attribute `modified_bonds`.
29007
29951
  #
29008
29952
  # @option opts [Array<NetworkLabel>, Array<Hash>] :modified_labels The values of attribute `modified_labels`.
@@ -29011,6 +29955,8 @@ module OvirtSDK4
29011
29955
  #
29012
29956
  # @option opts [String] :name The value of attribute `name`.
29013
29957
  #
29958
+ # @option opts [Boolean] :optimize_cpu_settings The value of attribute `optimize_cpu_settings`.
29959
+ #
29014
29960
  # @option opts [Option, Hash] :option The value of attribute `option`.
29015
29961
  #
29016
29962
  # @option opts [Boolean] :pause The value of attribute `pause`.
@@ -29049,6 +29995,8 @@ module OvirtSDK4
29049
29995
  #
29050
29996
  # @option opts [Snapshot, Hash] :snapshot The value of attribute `snapshot`.
29051
29997
  #
29998
+ # @option opts [Host, Hash] :source_host The value of attribute `source_host`.
29999
+ #
29052
30000
  # @option opts [Ssh, Hash] :ssh The value of attribute `ssh`.
29053
30001
  #
29054
30002
  # @option opts [String] :status The value of attribute `status`.
@@ -29067,10 +30015,18 @@ module OvirtSDK4
29067
30015
  #
29068
30016
  # @option opts [Ticket, Hash] :ticket The value of attribute `ticket`.
29069
30017
  #
30018
+ # @option opts [Integer] :timeout The value of attribute `timeout`.
30019
+ #
29070
30020
  # @option opts [Boolean] :undeploy_hosted_engine The value of attribute `undeploy_hosted_engine`.
29071
30021
  #
30022
+ # @option opts [ClusterUpgradeAction] :upgrade_action The value of attribute `upgrade_action`.
30023
+ #
29072
30024
  # @option opts [Boolean] :use_cloud_init The value of attribute `use_cloud_init`.
29073
30025
  #
30026
+ # @option opts [Boolean] :use_ignition The value of attribute `use_ignition`.
30027
+ #
30028
+ # @option opts [Boolean] :use_initialization The value of attribute `use_initialization`.
30029
+ #
29074
30030
  # @option opts [Boolean] :use_sysprep The value of attribute `use_sysprep`.
29075
30031
  #
29076
30032
  # @option opts [HostNicVirtualFunctionsConfiguration, Hash] :virtual_functions_configuration The value of attribute `virtual_functions_configuration`.
@@ -29084,10 +30040,12 @@ module OvirtSDK4
29084
30040
  #
29085
30041
  def initialize(opts = {})
29086
30042
  super(opts)
30043
+ self.activate = opts[:activate]
29087
30044
  self.allow_partial_import = opts[:allow_partial_import]
29088
30045
  self.async = opts[:async]
29089
30046
  self.attachment = opts[:attachment]
29090
30047
  self.authorized_key = opts[:authorized_key]
30048
+ self.auto_pinning_policy = opts[:auto_pinning_policy]
29091
30049
  self.bricks = opts[:bricks]
29092
30050
  self.certificates = opts[:certificates]
29093
30051
  self.check_connectivity = opts[:check_connectivity]
@@ -29095,6 +30053,7 @@ module OvirtSDK4
29095
30053
  self.clone_permissions = opts[:clone_permissions]
29096
30054
  self.cluster = opts[:cluster]
29097
30055
  self.collapse_snapshots = opts[:collapse_snapshots]
30056
+ self.commit_on_success = opts[:commit_on_success]
29098
30057
  self.connection = opts[:connection]
29099
30058
  self.connectivity_timeout = opts[:connectivity_timeout]
29100
30059
  self.data_center = opts[:data_center]
@@ -29124,10 +30083,13 @@ module OvirtSDK4
29124
30083
  self.job = opts[:job]
29125
30084
  self.lease = opts[:lease]
29126
30085
  self.logical_units = opts[:logical_units]
30086
+ self.maintenance_after_restart = opts[:maintenance_after_restart]
29127
30087
  self.maintenance_enabled = opts[:maintenance_enabled]
30088
+ self.migrate_vms_in_affinity_closure = opts[:migrate_vms_in_affinity_closure]
29128
30089
  self.modified_bonds = opts[:modified_bonds]
29129
30090
  self.modified_labels = opts[:modified_labels]
29130
30091
  self.modified_network_attachments = opts[:modified_network_attachments]
30092
+ self.optimize_cpu_settings = opts[:optimize_cpu_settings]
29131
30093
  self.option = opts[:option]
29132
30094
  self.pause = opts[:pause]
29133
30095
  self.permission = opts[:permission]
@@ -29147,6 +30109,7 @@ module OvirtSDK4
29147
30109
  self.root_password = opts[:root_password]
29148
30110
  self.seal = opts[:seal]
29149
30111
  self.snapshot = opts[:snapshot]
30112
+ self.source_host = opts[:source_host]
29150
30113
  self.ssh = opts[:ssh]
29151
30114
  self.status = opts[:status]
29152
30115
  self.stop_gluster_service = opts[:stop_gluster_service]
@@ -29156,8 +30119,12 @@ module OvirtSDK4
29156
30119
  self.synchronized_network_attachments = opts[:synchronized_network_attachments]
29157
30120
  self.template = opts[:template]
29158
30121
  self.ticket = opts[:ticket]
30122
+ self.timeout = opts[:timeout]
29159
30123
  self.undeploy_hosted_engine = opts[:undeploy_hosted_engine]
30124
+ self.upgrade_action = opts[:upgrade_action]
29160
30125
  self.use_cloud_init = opts[:use_cloud_init]
30126
+ self.use_ignition = opts[:use_ignition]
30127
+ self.use_initialization = opts[:use_initialization]
29161
30128
  self.use_sysprep = opts[:use_sysprep]
29162
30129
  self.virtual_functions_configuration = opts[:virtual_functions_configuration]
29163
30130
  self.vm = opts[:vm]
@@ -29170,10 +30137,12 @@ module OvirtSDK4
29170
30137
  #
29171
30138
  def ==(other)
29172
30139
  super &&
30140
+ @activate == other.activate &&
29173
30141
  @allow_partial_import == other.allow_partial_import &&
29174
30142
  @async == other.async &&
29175
30143
  @attachment == other.attachment &&
29176
30144
  @authorized_key == other.authorized_key &&
30145
+ @auto_pinning_policy == other.auto_pinning_policy &&
29177
30146
  @bricks == other.bricks &&
29178
30147
  @certificates == other.certificates &&
29179
30148
  @check_connectivity == other.check_connectivity &&
@@ -29181,6 +30150,7 @@ module OvirtSDK4
29181
30150
  @clone_permissions == other.clone_permissions &&
29182
30151
  @cluster == other.cluster &&
29183
30152
  @collapse_snapshots == other.collapse_snapshots &&
30153
+ @commit_on_success == other.commit_on_success &&
29184
30154
  @connection == other.connection &&
29185
30155
  @connectivity_timeout == other.connectivity_timeout &&
29186
30156
  @data_center == other.data_center &&
@@ -29210,10 +30180,13 @@ module OvirtSDK4
29210
30180
  @job == other.job &&
29211
30181
  @lease == other.lease &&
29212
30182
  @logical_units == other.logical_units &&
30183
+ @maintenance_after_restart == other.maintenance_after_restart &&
29213
30184
  @maintenance_enabled == other.maintenance_enabled &&
30185
+ @migrate_vms_in_affinity_closure == other.migrate_vms_in_affinity_closure &&
29214
30186
  @modified_bonds == other.modified_bonds &&
29215
30187
  @modified_labels == other.modified_labels &&
29216
30188
  @modified_network_attachments == other.modified_network_attachments &&
30189
+ @optimize_cpu_settings == other.optimize_cpu_settings &&
29217
30190
  @option == other.option &&
29218
30191
  @pause == other.pause &&
29219
30192
  @permission == other.permission &&
@@ -29233,6 +30206,7 @@ module OvirtSDK4
29233
30206
  @root_password == other.root_password &&
29234
30207
  @seal == other.seal &&
29235
30208
  @snapshot == other.snapshot &&
30209
+ @source_host == other.source_host &&
29236
30210
  @ssh == other.ssh &&
29237
30211
  @status == other.status &&
29238
30212
  @stop_gluster_service == other.stop_gluster_service &&
@@ -29242,8 +30216,12 @@ module OvirtSDK4
29242
30216
  @synchronized_network_attachments == other.synchronized_network_attachments &&
29243
30217
  @template == other.template &&
29244
30218
  @ticket == other.ticket &&
30219
+ @timeout == other.timeout &&
29245
30220
  @undeploy_hosted_engine == other.undeploy_hosted_engine &&
30221
+ @upgrade_action == other.upgrade_action &&
29246
30222
  @use_cloud_init == other.use_cloud_init &&
30223
+ @use_ignition == other.use_ignition &&
30224
+ @use_initialization == other.use_initialization &&
29247
30225
  @use_sysprep == other.use_sysprep &&
29248
30226
  @virtual_functions_configuration == other.virtual_functions_configuration &&
29249
30227
  @vm == other.vm &&
@@ -29256,10 +30234,12 @@ module OvirtSDK4
29256
30234
  #
29257
30235
  def hash
29258
30236
  super +
30237
+ @activate.hash +
29259
30238
  @allow_partial_import.hash +
29260
30239
  @async.hash +
29261
30240
  @attachment.hash +
29262
30241
  @authorized_key.hash +
30242
+ @auto_pinning_policy.hash +
29263
30243
  @bricks.hash +
29264
30244
  @certificates.hash +
29265
30245
  @check_connectivity.hash +
@@ -29267,6 +30247,7 @@ module OvirtSDK4
29267
30247
  @clone_permissions.hash +
29268
30248
  @cluster.hash +
29269
30249
  @collapse_snapshots.hash +
30250
+ @commit_on_success.hash +
29270
30251
  @connection.hash +
29271
30252
  @connectivity_timeout.hash +
29272
30253
  @data_center.hash +
@@ -29296,10 +30277,13 @@ module OvirtSDK4
29296
30277
  @job.hash +
29297
30278
  @lease.hash +
29298
30279
  @logical_units.hash +
30280
+ @maintenance_after_restart.hash +
29299
30281
  @maintenance_enabled.hash +
30282
+ @migrate_vms_in_affinity_closure.hash +
29300
30283
  @modified_bonds.hash +
29301
30284
  @modified_labels.hash +
29302
30285
  @modified_network_attachments.hash +
30286
+ @optimize_cpu_settings.hash +
29303
30287
  @option.hash +
29304
30288
  @pause.hash +
29305
30289
  @permission.hash +
@@ -29319,6 +30303,7 @@ module OvirtSDK4
29319
30303
  @root_password.hash +
29320
30304
  @seal.hash +
29321
30305
  @snapshot.hash +
30306
+ @source_host.hash +
29322
30307
  @ssh.hash +
29323
30308
  @status.hash +
29324
30309
  @stop_gluster_service.hash +
@@ -29328,8 +30313,12 @@ module OvirtSDK4
29328
30313
  @synchronized_network_attachments.hash +
29329
30314
  @template.hash +
29330
30315
  @ticket.hash +
30316
+ @timeout.hash +
29331
30317
  @undeploy_hosted_engine.hash +
30318
+ @upgrade_action.hash +
29332
30319
  @use_cloud_init.hash +
30320
+ @use_ignition.hash +
30321
+ @use_initialization.hash +
29333
30322
  @use_sysprep.hash +
29334
30323
  @virtual_functions_configuration.hash +
29335
30324
  @vm.hash +
@@ -29420,6 +30409,32 @@ module OvirtSDK4
29420
30409
  @enforcing = value
29421
30410
  end
29422
30411
 
30412
+ #
30413
+ # Returns the value of the `host_labels` attribute.
30414
+ #
30415
+ # @return [Array<AffinityLabel>]
30416
+ #
30417
+ def host_labels
30418
+ @host_labels
30419
+ end
30420
+
30421
+ #
30422
+ # Sets the value of the `host_labels` attribute.
30423
+ #
30424
+ # @param list [Array<AffinityLabel>]
30425
+ #
30426
+ def host_labels=(list)
30427
+ if list.class == Array
30428
+ list = List.new(list)
30429
+ list.each_with_index do |value, index|
30430
+ if value.is_a?(Hash)
30431
+ list[index] = AffinityLabel.new(value)
30432
+ end
30433
+ end
30434
+ end
30435
+ @host_labels = list
30436
+ end
30437
+
29423
30438
  #
29424
30439
  # Returns the value of the `hosts` attribute.
29425
30440
  #
@@ -29525,6 +30540,50 @@ module OvirtSDK4
29525
30540
  @positive = value
29526
30541
  end
29527
30542
 
30543
+ #
30544
+ # Returns the value of the `priority` attribute.
30545
+ #
30546
+ # @return [Float]
30547
+ #
30548
+ def priority
30549
+ @priority
30550
+ end
30551
+
30552
+ #
30553
+ # Sets the value of the `priority` attribute.
30554
+ #
30555
+ # @param value [Float]
30556
+ #
30557
+ def priority=(value)
30558
+ @priority = value
30559
+ end
30560
+
30561
+ #
30562
+ # Returns the value of the `vm_labels` attribute.
30563
+ #
30564
+ # @return [Array<AffinityLabel>]
30565
+ #
30566
+ def vm_labels
30567
+ @vm_labels
30568
+ end
30569
+
30570
+ #
30571
+ # Sets the value of the `vm_labels` attribute.
30572
+ #
30573
+ # @param list [Array<AffinityLabel>]
30574
+ #
30575
+ def vm_labels=(list)
30576
+ if list.class == Array
30577
+ list = List.new(list)
30578
+ list.each_with_index do |value, index|
30579
+ if value.is_a?(Hash)
30580
+ list[index] = AffinityLabel.new(value)
30581
+ end
30582
+ end
30583
+ end
30584
+ @vm_labels = list
30585
+ end
30586
+
29528
30587
  #
29529
30588
  # Returns the value of the `vms` attribute.
29530
30589
  #
@@ -29591,6 +30650,8 @@ module OvirtSDK4
29591
30650
  #
29592
30651
  # @option opts [Boolean] :enforcing The value of attribute `enforcing`.
29593
30652
  #
30653
+ # @option opts [Array<AffinityLabel>, Array<Hash>] :host_labels The values of attribute `host_labels`.
30654
+ #
29594
30655
  # @option opts [Array<Host>, Array<Hash>] :hosts The values of attribute `hosts`.
29595
30656
  #
29596
30657
  # @option opts [AffinityRule, Hash] :hosts_rule The value of attribute `hosts_rule`.
@@ -29601,6 +30662,10 @@ module OvirtSDK4
29601
30662
  #
29602
30663
  # @option opts [Boolean] :positive The value of attribute `positive`.
29603
30664
  #
30665
+ # @option opts [Float] :priority The value of attribute `priority`.
30666
+ #
30667
+ # @option opts [Array<AffinityLabel>, Array<Hash>] :vm_labels The values of attribute `vm_labels`.
30668
+ #
29604
30669
  # @option opts [Array<Vm>, Array<Hash>] :vms The values of attribute `vms`.
29605
30670
  #
29606
30671
  # @option opts [AffinityRule, Hash] :vms_rule The value of attribute `vms_rule`.
@@ -29610,9 +30675,12 @@ module OvirtSDK4
29610
30675
  super(opts)
29611
30676
  self.cluster = opts[:cluster]
29612
30677
  self.enforcing = opts[:enforcing]
30678
+ self.host_labels = opts[:host_labels]
29613
30679
  self.hosts = opts[:hosts]
29614
30680
  self.hosts_rule = opts[:hosts_rule]
29615
30681
  self.positive = opts[:positive]
30682
+ self.priority = opts[:priority]
30683
+ self.vm_labels = opts[:vm_labels]
29616
30684
  self.vms = opts[:vms]
29617
30685
  self.vms_rule = opts[:vms_rule]
29618
30686
  end
@@ -29624,9 +30692,12 @@ module OvirtSDK4
29624
30692
  super &&
29625
30693
  @cluster == other.cluster &&
29626
30694
  @enforcing == other.enforcing &&
30695
+ @host_labels == other.host_labels &&
29627
30696
  @hosts == other.hosts &&
29628
30697
  @hosts_rule == other.hosts_rule &&
29629
30698
  @positive == other.positive &&
30699
+ @priority == other.priority &&
30700
+ @vm_labels == other.vm_labels &&
29630
30701
  @vms == other.vms &&
29631
30702
  @vms_rule == other.vms_rule
29632
30703
  end
@@ -29638,9 +30709,12 @@ module OvirtSDK4
29638
30709
  super +
29639
30710
  @cluster.hash +
29640
30711
  @enforcing.hash +
30712
+ @host_labels.hash +
29641
30713
  @hosts.hash +
29642
30714
  @hosts_rule.hash +
29643
30715
  @positive.hash +
30716
+ @priority.hash +
30717
+ @vm_labels.hash +
29644
30718
  @vms.hash +
29645
30719
  @vms_rule.hash
29646
30720
  end
@@ -29685,6 +30759,24 @@ module OvirtSDK4
29685
30759
  @description = value
29686
30760
  end
29687
30761
 
30762
+ #
30763
+ # Returns the value of the `has_implicit_affinity_group` attribute.
30764
+ #
30765
+ # @return [Boolean]
30766
+ #
30767
+ def has_implicit_affinity_group
30768
+ @has_implicit_affinity_group
30769
+ end
30770
+
30771
+ #
30772
+ # Sets the value of the `has_implicit_affinity_group` attribute.
30773
+ #
30774
+ # @param value [Boolean]
30775
+ #
30776
+ def has_implicit_affinity_group=(value)
30777
+ @has_implicit_affinity_group = value
30778
+ end
30779
+
29688
30780
  #
29689
30781
  # Returns the value of the `hosts` attribute.
29690
30782
  #
@@ -29802,6 +30894,8 @@ module OvirtSDK4
29802
30894
  #
29803
30895
  # @option opts [String] :description The value of attribute `description`.
29804
30896
  #
30897
+ # @option opts [Boolean] :has_implicit_affinity_group The value of attribute `has_implicit_affinity_group`.
30898
+ #
29805
30899
  # @option opts [Array<Host>, Array<Hash>] :hosts The values of attribute `hosts`.
29806
30900
  #
29807
30901
  # @option opts [String] :id The value of attribute `id`.
@@ -29815,6 +30909,7 @@ module OvirtSDK4
29815
30909
  #
29816
30910
  def initialize(opts = {})
29817
30911
  super(opts)
30912
+ self.has_implicit_affinity_group = opts[:has_implicit_affinity_group]
29818
30913
  self.hosts = opts[:hosts]
29819
30914
  self.read_only = opts[:read_only]
29820
30915
  self.vms = opts[:vms]
@@ -29825,6 +30920,7 @@ module OvirtSDK4
29825
30920
  #
29826
30921
  def ==(other)
29827
30922
  super &&
30923
+ @has_implicit_affinity_group == other.has_implicit_affinity_group &&
29828
30924
  @hosts == other.hosts &&
29829
30925
  @read_only == other.read_only &&
29830
30926
  @vms == other.vms
@@ -29835,6 +30931,7 @@ module OvirtSDK4
29835
30931
  #
29836
30932
  def hash
29837
30933
  super +
30934
+ @has_implicit_affinity_group.hash +
29838
30935
  @hosts.hash +
29839
30936
  @read_only.hash +
29840
30937
  @vms.hash
@@ -30500,7 +31597,300 @@ module OvirtSDK4
30500
31597
 
30501
31598
  end
30502
31599
 
30503
- class Balance < Identified
31600
+ class Backup < Identified
31601
+
31602
+ #
31603
+ # Returns the value of the `comment` attribute.
31604
+ #
31605
+ # @return [String]
31606
+ #
31607
+ def comment
31608
+ @comment
31609
+ end
31610
+
31611
+ #
31612
+ # Sets the value of the `comment` attribute.
31613
+ #
31614
+ # @param value [String]
31615
+ #
31616
+ def comment=(value)
31617
+ @comment = value
31618
+ end
31619
+
31620
+ #
31621
+ # Returns the value of the `creation_date` attribute.
31622
+ #
31623
+ # @return [DateTime]
31624
+ #
31625
+ def creation_date
31626
+ @creation_date
31627
+ end
31628
+
31629
+ #
31630
+ # Sets the value of the `creation_date` attribute.
31631
+ #
31632
+ # @param value [DateTime]
31633
+ #
31634
+ def creation_date=(value)
31635
+ @creation_date = value
31636
+ end
31637
+
31638
+ #
31639
+ # Returns the value of the `description` attribute.
31640
+ #
31641
+ # @return [String]
31642
+ #
31643
+ def description
31644
+ @description
31645
+ end
31646
+
31647
+ #
31648
+ # Sets the value of the `description` attribute.
31649
+ #
31650
+ # @param value [String]
31651
+ #
31652
+ def description=(value)
31653
+ @description = value
31654
+ end
31655
+
31656
+ #
31657
+ # Returns the value of the `disks` attribute.
31658
+ #
31659
+ # @return [Array<Disk>]
31660
+ #
31661
+ def disks
31662
+ @disks
31663
+ end
31664
+
31665
+ #
31666
+ # Sets the value of the `disks` attribute.
31667
+ #
31668
+ # @param list [Array<Disk>]
31669
+ #
31670
+ def disks=(list)
31671
+ if list.class == Array
31672
+ list = List.new(list)
31673
+ list.each_with_index do |value, index|
31674
+ if value.is_a?(Hash)
31675
+ list[index] = Disk.new(value)
31676
+ end
31677
+ end
31678
+ end
31679
+ @disks = list
31680
+ end
31681
+
31682
+ #
31683
+ # Returns the value of the `from_checkpoint_id` attribute.
31684
+ #
31685
+ # @return [String]
31686
+ #
31687
+ def from_checkpoint_id
31688
+ @from_checkpoint_id
31689
+ end
31690
+
31691
+ #
31692
+ # Sets the value of the `from_checkpoint_id` attribute.
31693
+ #
31694
+ # @param value [String]
31695
+ #
31696
+ def from_checkpoint_id=(value)
31697
+ @from_checkpoint_id = value
31698
+ end
31699
+
31700
+ #
31701
+ # Returns the value of the `host` attribute.
31702
+ #
31703
+ # @return [Host]
31704
+ #
31705
+ def host
31706
+ @host
31707
+ end
31708
+
31709
+ #
31710
+ # Sets the value of the `host` attribute.
31711
+ #
31712
+ # @param value [Host, Hash]
31713
+ #
31714
+ # The `value` parameter can be an instance of {OvirtSDK4::Host} or a hash.
31715
+ # If it is a hash then a new instance will be created passing the hash as the
31716
+ # `opts` parameter to the constructor.
31717
+ #
31718
+ def host=(value)
31719
+ if value.is_a?(Hash)
31720
+ value = Host.new(value)
31721
+ end
31722
+ @host = value
31723
+ end
31724
+
31725
+ #
31726
+ # Returns the value of the `id` attribute.
31727
+ #
31728
+ # @return [String]
31729
+ #
31730
+ def id
31731
+ @id
31732
+ end
31733
+
31734
+ #
31735
+ # Sets the value of the `id` attribute.
31736
+ #
31737
+ # @param value [String]
31738
+ #
31739
+ def id=(value)
31740
+ @id = value
31741
+ end
31742
+
31743
+ #
31744
+ # Returns the value of the `name` attribute.
31745
+ #
31746
+ # @return [String]
31747
+ #
31748
+ def name
31749
+ @name
31750
+ end
31751
+
31752
+ #
31753
+ # Sets the value of the `name` attribute.
31754
+ #
31755
+ # @param value [String]
31756
+ #
31757
+ def name=(value)
31758
+ @name = value
31759
+ end
31760
+
31761
+ #
31762
+ # Returns the value of the `phase` attribute.
31763
+ #
31764
+ # @return [BackupPhase]
31765
+ #
31766
+ def phase
31767
+ @phase
31768
+ end
31769
+
31770
+ #
31771
+ # Sets the value of the `phase` attribute.
31772
+ #
31773
+ # @param value [BackupPhase]
31774
+ #
31775
+ def phase=(value)
31776
+ @phase = value
31777
+ end
31778
+
31779
+ #
31780
+ # Returns the value of the `to_checkpoint_id` attribute.
31781
+ #
31782
+ # @return [String]
31783
+ #
31784
+ def to_checkpoint_id
31785
+ @to_checkpoint_id
31786
+ end
31787
+
31788
+ #
31789
+ # Sets the value of the `to_checkpoint_id` attribute.
31790
+ #
31791
+ # @param value [String]
31792
+ #
31793
+ def to_checkpoint_id=(value)
31794
+ @to_checkpoint_id = value
31795
+ end
31796
+
31797
+ #
31798
+ # Returns the value of the `vm` attribute.
31799
+ #
31800
+ # @return [Vm]
31801
+ #
31802
+ def vm
31803
+ @vm
31804
+ end
31805
+
31806
+ #
31807
+ # Sets the value of the `vm` attribute.
31808
+ #
31809
+ # @param value [Vm, Hash]
31810
+ #
31811
+ # The `value` parameter can be an instance of {OvirtSDK4::Vm} or a hash.
31812
+ # If it is a hash then a new instance will be created passing the hash as the
31813
+ # `opts` parameter to the constructor.
31814
+ #
31815
+ def vm=(value)
31816
+ if value.is_a?(Hash)
31817
+ value = Vm.new(value)
31818
+ end
31819
+ @vm = value
31820
+ end
31821
+
31822
+ #
31823
+ # Creates a new instance of the {Backup} class.
31824
+ #
31825
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
31826
+ # should be symbols corresponding to the names of the attributes. The values of the hash
31827
+ # should be the values of the attributes.
31828
+ #
31829
+ # @option opts [String] :comment The value of attribute `comment`.
31830
+ #
31831
+ # @option opts [DateTime] :creation_date The value of attribute `creation_date`.
31832
+ #
31833
+ # @option opts [String] :description The value of attribute `description`.
31834
+ #
31835
+ # @option opts [Array<Disk>, Array<Hash>] :disks The values of attribute `disks`.
31836
+ #
31837
+ # @option opts [String] :from_checkpoint_id The value of attribute `from_checkpoint_id`.
31838
+ #
31839
+ # @option opts [Host, Hash] :host The value of attribute `host`.
31840
+ #
31841
+ # @option opts [String] :id The value of attribute `id`.
31842
+ #
31843
+ # @option opts [String] :name The value of attribute `name`.
31844
+ #
31845
+ # @option opts [BackupPhase] :phase The value of attribute `phase`.
31846
+ #
31847
+ # @option opts [String] :to_checkpoint_id The value of attribute `to_checkpoint_id`.
31848
+ #
31849
+ # @option opts [Vm, Hash] :vm The value of attribute `vm`.
31850
+ #
31851
+ #
31852
+ def initialize(opts = {})
31853
+ super(opts)
31854
+ self.creation_date = opts[:creation_date]
31855
+ self.disks = opts[:disks]
31856
+ self.from_checkpoint_id = opts[:from_checkpoint_id]
31857
+ self.host = opts[:host]
31858
+ self.phase = opts[:phase]
31859
+ self.to_checkpoint_id = opts[:to_checkpoint_id]
31860
+ self.vm = opts[:vm]
31861
+ end
31862
+
31863
+ #
31864
+ # Returns `true` if `self` and `other` have the same attributes and values.
31865
+ #
31866
+ def ==(other)
31867
+ super &&
31868
+ @creation_date == other.creation_date &&
31869
+ @disks == other.disks &&
31870
+ @from_checkpoint_id == other.from_checkpoint_id &&
31871
+ @host == other.host &&
31872
+ @phase == other.phase &&
31873
+ @to_checkpoint_id == other.to_checkpoint_id &&
31874
+ @vm == other.vm
31875
+ end
31876
+
31877
+ #
31878
+ # Generates a hash value for this object.
31879
+ #
31880
+ def hash
31881
+ super +
31882
+ @creation_date.hash +
31883
+ @disks.hash +
31884
+ @from_checkpoint_id.hash +
31885
+ @host.hash +
31886
+ @phase.hash +
31887
+ @to_checkpoint_id.hash +
31888
+ @vm.hash
31889
+ end
31890
+
31891
+ end
31892
+
31893
+ class Balance < Identified
30504
31894
 
30505
31895
  #
30506
31896
  # Returns the value of the `comment` attribute.
@@ -31070,6 +32460,223 @@ module OvirtSDK4
31070
32460
 
31071
32461
  end
31072
32462
 
32463
+ class Checkpoint < Identified
32464
+
32465
+ #
32466
+ # Returns the value of the `comment` attribute.
32467
+ #
32468
+ # @return [String]
32469
+ #
32470
+ def comment
32471
+ @comment
32472
+ end
32473
+
32474
+ #
32475
+ # Sets the value of the `comment` attribute.
32476
+ #
32477
+ # @param value [String]
32478
+ #
32479
+ def comment=(value)
32480
+ @comment = value
32481
+ end
32482
+
32483
+ #
32484
+ # Returns the value of the `creation_date` attribute.
32485
+ #
32486
+ # @return [DateTime]
32487
+ #
32488
+ def creation_date
32489
+ @creation_date
32490
+ end
32491
+
32492
+ #
32493
+ # Sets the value of the `creation_date` attribute.
32494
+ #
32495
+ # @param value [DateTime]
32496
+ #
32497
+ def creation_date=(value)
32498
+ @creation_date = value
32499
+ end
32500
+
32501
+ #
32502
+ # Returns the value of the `description` attribute.
32503
+ #
32504
+ # @return [String]
32505
+ #
32506
+ def description
32507
+ @description
32508
+ end
32509
+
32510
+ #
32511
+ # Sets the value of the `description` attribute.
32512
+ #
32513
+ # @param value [String]
32514
+ #
32515
+ def description=(value)
32516
+ @description = value
32517
+ end
32518
+
32519
+ #
32520
+ # Returns the value of the `disks` attribute.
32521
+ #
32522
+ # @return [Array<Disk>]
32523
+ #
32524
+ def disks
32525
+ @disks
32526
+ end
32527
+
32528
+ #
32529
+ # Sets the value of the `disks` attribute.
32530
+ #
32531
+ # @param list [Array<Disk>]
32532
+ #
32533
+ def disks=(list)
32534
+ if list.class == Array
32535
+ list = List.new(list)
32536
+ list.each_with_index do |value, index|
32537
+ if value.is_a?(Hash)
32538
+ list[index] = Disk.new(value)
32539
+ end
32540
+ end
32541
+ end
32542
+ @disks = list
32543
+ end
32544
+
32545
+ #
32546
+ # Returns the value of the `id` attribute.
32547
+ #
32548
+ # @return [String]
32549
+ #
32550
+ def id
32551
+ @id
32552
+ end
32553
+
32554
+ #
32555
+ # Sets the value of the `id` attribute.
32556
+ #
32557
+ # @param value [String]
32558
+ #
32559
+ def id=(value)
32560
+ @id = value
32561
+ end
32562
+
32563
+ #
32564
+ # Returns the value of the `name` attribute.
32565
+ #
32566
+ # @return [String]
32567
+ #
32568
+ def name
32569
+ @name
32570
+ end
32571
+
32572
+ #
32573
+ # Sets the value of the `name` attribute.
32574
+ #
32575
+ # @param value [String]
32576
+ #
32577
+ def name=(value)
32578
+ @name = value
32579
+ end
32580
+
32581
+ #
32582
+ # Returns the value of the `parent_id` attribute.
32583
+ #
32584
+ # @return [String]
32585
+ #
32586
+ def parent_id
32587
+ @parent_id
32588
+ end
32589
+
32590
+ #
32591
+ # Sets the value of the `parent_id` attribute.
32592
+ #
32593
+ # @param value [String]
32594
+ #
32595
+ def parent_id=(value)
32596
+ @parent_id = value
32597
+ end
32598
+
32599
+ #
32600
+ # Returns the value of the `vm` attribute.
32601
+ #
32602
+ # @return [Vm]
32603
+ #
32604
+ def vm
32605
+ @vm
32606
+ end
32607
+
32608
+ #
32609
+ # Sets the value of the `vm` attribute.
32610
+ #
32611
+ # @param value [Vm, Hash]
32612
+ #
32613
+ # The `value` parameter can be an instance of {OvirtSDK4::Vm} or a hash.
32614
+ # If it is a hash then a new instance will be created passing the hash as the
32615
+ # `opts` parameter to the constructor.
32616
+ #
32617
+ def vm=(value)
32618
+ if value.is_a?(Hash)
32619
+ value = Vm.new(value)
32620
+ end
32621
+ @vm = value
32622
+ end
32623
+
32624
+ #
32625
+ # Creates a new instance of the {Checkpoint} class.
32626
+ #
32627
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
32628
+ # should be symbols corresponding to the names of the attributes. The values of the hash
32629
+ # should be the values of the attributes.
32630
+ #
32631
+ # @option opts [String] :comment The value of attribute `comment`.
32632
+ #
32633
+ # @option opts [DateTime] :creation_date The value of attribute `creation_date`.
32634
+ #
32635
+ # @option opts [String] :description The value of attribute `description`.
32636
+ #
32637
+ # @option opts [Array<Disk>, Array<Hash>] :disks The values of attribute `disks`.
32638
+ #
32639
+ # @option opts [String] :id The value of attribute `id`.
32640
+ #
32641
+ # @option opts [String] :name The value of attribute `name`.
32642
+ #
32643
+ # @option opts [String] :parent_id The value of attribute `parent_id`.
32644
+ #
32645
+ # @option opts [Vm, Hash] :vm The value of attribute `vm`.
32646
+ #
32647
+ #
32648
+ def initialize(opts = {})
32649
+ super(opts)
32650
+ self.creation_date = opts[:creation_date]
32651
+ self.disks = opts[:disks]
32652
+ self.parent_id = opts[:parent_id]
32653
+ self.vm = opts[:vm]
32654
+ end
32655
+
32656
+ #
32657
+ # Returns `true` if `self` and `other` have the same attributes and values.
32658
+ #
32659
+ def ==(other)
32660
+ super &&
32661
+ @creation_date == other.creation_date &&
32662
+ @disks == other.disks &&
32663
+ @parent_id == other.parent_id &&
32664
+ @vm == other.vm
32665
+ end
32666
+
32667
+ #
32668
+ # Generates a hash value for this object.
32669
+ #
32670
+ def hash
32671
+ super +
32672
+ @creation_date.hash +
32673
+ @disks.hash +
32674
+ @parent_id.hash +
32675
+ @vm.hash
32676
+ end
32677
+
32678
+ end
32679
+
31073
32680
  class Cluster < Identified
31074
32681
 
31075
32682
  #
@@ -31116,6 +32723,24 @@ module OvirtSDK4
31116
32723
  @ballooning_enabled = value
31117
32724
  end
31118
32725
 
32726
+ #
32727
+ # Returns the value of the `bios_type` attribute.
32728
+ #
32729
+ # @return [BiosType]
32730
+ #
32731
+ def bios_type
32732
+ @bios_type
32733
+ end
32734
+
32735
+ #
32736
+ # Sets the value of the `bios_type` attribute.
32737
+ #
32738
+ # @param value [BiosType]
32739
+ #
32740
+ def bios_type=(value)
32741
+ @bios_type = value
32742
+ end
32743
+
31119
32744
  #
31120
32745
  # Returns the value of the `comment` attribute.
31121
32746
  #
@@ -31381,6 +33006,24 @@ module OvirtSDK4
31381
33006
  @fencing_policy = value
31382
33007
  end
31383
33008
 
33009
+ #
33010
+ # Returns the value of the `fips_mode` attribute.
33011
+ #
33012
+ # @return [FipsMode]
33013
+ #
33014
+ def fips_mode
33015
+ @fips_mode
33016
+ end
33017
+
33018
+ #
33019
+ # Sets the value of the `fips_mode` attribute.
33020
+ #
33021
+ # @param value [FipsMode]
33022
+ #
33023
+ def fips_mode=(value)
33024
+ @fips_mode = value
33025
+ end
33026
+
31384
33027
  #
31385
33028
  # Returns the value of the `firewall_type` attribute.
31386
33029
  #
@@ -31548,6 +33191,42 @@ module OvirtSDK4
31548
33191
  @ksm = value
31549
33192
  end
31550
33193
 
33194
+ #
33195
+ # Returns the value of the `log_max_memory_used_threshold` attribute.
33196
+ #
33197
+ # @return [Integer]
33198
+ #
33199
+ def log_max_memory_used_threshold
33200
+ @log_max_memory_used_threshold
33201
+ end
33202
+
33203
+ #
33204
+ # Sets the value of the `log_max_memory_used_threshold` attribute.
33205
+ #
33206
+ # @param value [Integer]
33207
+ #
33208
+ def log_max_memory_used_threshold=(value)
33209
+ @log_max_memory_used_threshold = value
33210
+ end
33211
+
33212
+ #
33213
+ # Returns the value of the `log_max_memory_used_threshold_type` attribute.
33214
+ #
33215
+ # @return [LogMaxMemoryUsedThresholdType]
33216
+ #
33217
+ def log_max_memory_used_threshold_type
33218
+ @log_max_memory_used_threshold_type
33219
+ end
33220
+
33221
+ #
33222
+ # Sets the value of the `log_max_memory_used_threshold_type` attribute.
33223
+ #
33224
+ # @param value [LogMaxMemoryUsedThresholdType]
33225
+ #
33226
+ def log_max_memory_used_threshold_type=(value)
33227
+ @log_max_memory_used_threshold_type = value
33228
+ end
33229
+
31551
33230
  #
31552
33231
  # Returns the value of the `mac_pool` attribute.
31553
33232
  #
@@ -31989,6 +33668,24 @@ module OvirtSDK4
31989
33668
  @virt_service = value
31990
33669
  end
31991
33670
 
33671
+ #
33672
+ # Returns the value of the `vnc_encryption` attribute.
33673
+ #
33674
+ # @return [Boolean]
33675
+ #
33676
+ def vnc_encryption
33677
+ @vnc_encryption
33678
+ end
33679
+
33680
+ #
33681
+ # Sets the value of the `vnc_encryption` attribute.
33682
+ #
33683
+ # @param value [Boolean]
33684
+ #
33685
+ def vnc_encryption=(value)
33686
+ @vnc_encryption = value
33687
+ end
33688
+
31992
33689
  #
31993
33690
  # Creates a new instance of the {Cluster} class.
31994
33691
  #
@@ -32000,6 +33697,8 @@ module OvirtSDK4
32000
33697
  #
32001
33698
  # @option opts [Boolean] :ballooning_enabled The value of attribute `ballooning_enabled`.
32002
33699
  #
33700
+ # @option opts [BiosType] :bios_type The value of attribute `bios_type`.
33701
+ #
32003
33702
  # @option opts [String] :comment The value of attribute `comment`.
32004
33703
  #
32005
33704
  # @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
@@ -32022,6 +33721,8 @@ module OvirtSDK4
32022
33721
  #
32023
33722
  # @option opts [FencingPolicy, Hash] :fencing_policy The value of attribute `fencing_policy`.
32024
33723
  #
33724
+ # @option opts [FipsMode] :fips_mode The value of attribute `fips_mode`.
33725
+ #
32025
33726
  # @option opts [FirewallType] :firewall_type The value of attribute `firewall_type`.
32026
33727
  #
32027
33728
  # @option opts [Array<GlusterHook>, Array<Hash>] :gluster_hooks The values of attribute `gluster_hooks`.
@@ -32038,6 +33739,10 @@ module OvirtSDK4
32038
33739
  #
32039
33740
  # @option opts [Ksm, Hash] :ksm The value of attribute `ksm`.
32040
33741
  #
33742
+ # @option opts [Integer] :log_max_memory_used_threshold The value of attribute `log_max_memory_used_threshold`.
33743
+ #
33744
+ # @option opts [LogMaxMemoryUsedThresholdType] :log_max_memory_used_threshold_type The value of attribute `log_max_memory_used_threshold_type`.
33745
+ #
32041
33746
  # @option opts [MacPool, Hash] :mac_pool The value of attribute `mac_pool`.
32042
33747
  #
32043
33748
  # @option opts [Boolean] :maintenance_reason_required The value of attribute `maintenance_reason_required`.
@@ -32078,11 +33783,14 @@ module OvirtSDK4
32078
33783
  #
32079
33784
  # @option opts [Boolean] :virt_service The value of attribute `virt_service`.
32080
33785
  #
33786
+ # @option opts [Boolean] :vnc_encryption The value of attribute `vnc_encryption`.
33787
+ #
32081
33788
  #
32082
33789
  def initialize(opts = {})
32083
33790
  super(opts)
32084
33791
  self.affinity_groups = opts[:affinity_groups]
32085
33792
  self.ballooning_enabled = opts[:ballooning_enabled]
33793
+ self.bios_type = opts[:bios_type]
32086
33794
  self.cpu = opts[:cpu]
32087
33795
  self.cpu_profiles = opts[:cpu_profiles]
32088
33796
  self.custom_scheduling_policy_properties = opts[:custom_scheduling_policy_properties]
@@ -32092,6 +33800,7 @@ module OvirtSDK4
32092
33800
  self.error_handling = opts[:error_handling]
32093
33801
  self.external_network_providers = opts[:external_network_providers]
32094
33802
  self.fencing_policy = opts[:fencing_policy]
33803
+ self.fips_mode = opts[:fips_mode]
32095
33804
  self.firewall_type = opts[:firewall_type]
32096
33805
  self.gluster_hooks = opts[:gluster_hooks]
32097
33806
  self.gluster_service = opts[:gluster_service]
@@ -32099,6 +33808,8 @@ module OvirtSDK4
32099
33808
  self.gluster_volumes = opts[:gluster_volumes]
32100
33809
  self.ha_reservation = opts[:ha_reservation]
32101
33810
  self.ksm = opts[:ksm]
33811
+ self.log_max_memory_used_threshold = opts[:log_max_memory_used_threshold]
33812
+ self.log_max_memory_used_threshold_type = opts[:log_max_memory_used_threshold_type]
32102
33813
  self.mac_pool = opts[:mac_pool]
32103
33814
  self.maintenance_reason_required = opts[:maintenance_reason_required]
32104
33815
  self.management_network = opts[:management_network]
@@ -32118,6 +33829,7 @@ module OvirtSDK4
32118
33829
  self.tunnel_migration = opts[:tunnel_migration]
32119
33830
  self.version = opts[:version]
32120
33831
  self.virt_service = opts[:virt_service]
33832
+ self.vnc_encryption = opts[:vnc_encryption]
32121
33833
  end
32122
33834
 
32123
33835
  #
@@ -32127,6 +33839,7 @@ module OvirtSDK4
32127
33839
  super &&
32128
33840
  @affinity_groups == other.affinity_groups &&
32129
33841
  @ballooning_enabled == other.ballooning_enabled &&
33842
+ @bios_type == other.bios_type &&
32130
33843
  @cpu == other.cpu &&
32131
33844
  @cpu_profiles == other.cpu_profiles &&
32132
33845
  @custom_scheduling_policy_properties == other.custom_scheduling_policy_properties &&
@@ -32136,6 +33849,7 @@ module OvirtSDK4
32136
33849
  @error_handling == other.error_handling &&
32137
33850
  @external_network_providers == other.external_network_providers &&
32138
33851
  @fencing_policy == other.fencing_policy &&
33852
+ @fips_mode == other.fips_mode &&
32139
33853
  @firewall_type == other.firewall_type &&
32140
33854
  @gluster_hooks == other.gluster_hooks &&
32141
33855
  @gluster_service == other.gluster_service &&
@@ -32143,6 +33857,8 @@ module OvirtSDK4
32143
33857
  @gluster_volumes == other.gluster_volumes &&
32144
33858
  @ha_reservation == other.ha_reservation &&
32145
33859
  @ksm == other.ksm &&
33860
+ @log_max_memory_used_threshold == other.log_max_memory_used_threshold &&
33861
+ @log_max_memory_used_threshold_type == other.log_max_memory_used_threshold_type &&
32146
33862
  @mac_pool == other.mac_pool &&
32147
33863
  @maintenance_reason_required == other.maintenance_reason_required &&
32148
33864
  @management_network == other.management_network &&
@@ -32161,7 +33877,8 @@ module OvirtSDK4
32161
33877
  @trusted_service == other.trusted_service &&
32162
33878
  @tunnel_migration == other.tunnel_migration &&
32163
33879
  @version == other.version &&
32164
- @virt_service == other.virt_service
33880
+ @virt_service == other.virt_service &&
33881
+ @vnc_encryption == other.vnc_encryption
32165
33882
  end
32166
33883
 
32167
33884
  #
@@ -32171,6 +33888,7 @@ module OvirtSDK4
32171
33888
  super +
32172
33889
  @affinity_groups.hash +
32173
33890
  @ballooning_enabled.hash +
33891
+ @bios_type.hash +
32174
33892
  @cpu.hash +
32175
33893
  @cpu_profiles.hash +
32176
33894
  @custom_scheduling_policy_properties.hash +
@@ -32180,6 +33898,7 @@ module OvirtSDK4
32180
33898
  @error_handling.hash +
32181
33899
  @external_network_providers.hash +
32182
33900
  @fencing_policy.hash +
33901
+ @fips_mode.hash +
32183
33902
  @firewall_type.hash +
32184
33903
  @gluster_hooks.hash +
32185
33904
  @gluster_service.hash +
@@ -32187,6 +33906,8 @@ module OvirtSDK4
32187
33906
  @gluster_volumes.hash +
32188
33907
  @ha_reservation.hash +
32189
33908
  @ksm.hash +
33909
+ @log_max_memory_used_threshold.hash +
33910
+ @log_max_memory_used_threshold_type.hash +
32190
33911
  @mac_pool.hash +
32191
33912
  @maintenance_reason_required.hash +
32192
33913
  @management_network.hash +
@@ -32205,7 +33926,8 @@ module OvirtSDK4
32205
33926
  @trusted_service.hash +
32206
33927
  @tunnel_migration.hash +
32207
33928
  @version.hash +
32208
- @virt_service.hash
33929
+ @virt_service.hash +
33930
+ @vnc_encryption.hash
32209
33931
  end
32210
33932
 
32211
33933
  end
@@ -33551,6 +35273,42 @@ module OvirtSDK4
33551
35273
  @alias_ = value
33552
35274
  end
33553
35275
 
35276
+ #
35277
+ # Returns the value of the `backup` attribute.
35278
+ #
35279
+ # @return [DiskBackup]
35280
+ #
35281
+ def backup
35282
+ @backup
35283
+ end
35284
+
35285
+ #
35286
+ # Sets the value of the `backup` attribute.
35287
+ #
35288
+ # @param value [DiskBackup]
35289
+ #
35290
+ def backup=(value)
35291
+ @backup = value
35292
+ end
35293
+
35294
+ #
35295
+ # Returns the value of the `backup_mode` attribute.
35296
+ #
35297
+ # @return [DiskBackupMode]
35298
+ #
35299
+ def backup_mode
35300
+ @backup_mode
35301
+ end
35302
+
35303
+ #
35304
+ # Sets the value of the `backup_mode` attribute.
35305
+ #
35306
+ # @param value [DiskBackupMode]
35307
+ #
35308
+ def backup_mode=(value)
35309
+ @backup_mode = value
35310
+ end
35311
+
33554
35312
  #
33555
35313
  # Returns the value of the `bootable` attribute.
33556
35314
  #
@@ -33648,6 +35406,50 @@ module OvirtSDK4
33648
35406
  @disk_profile = value
33649
35407
  end
33650
35408
 
35409
+ #
35410
+ # Returns the value of the `disk_snapshots` attribute.
35411
+ #
35412
+ # @return [Array<DiskSnapshot>]
35413
+ #
35414
+ def disk_snapshots
35415
+ @disk_snapshots
35416
+ end
35417
+
35418
+ #
35419
+ # Sets the value of the `disk_snapshots` attribute.
35420
+ #
35421
+ # @param list [Array<DiskSnapshot>]
35422
+ #
35423
+ def disk_snapshots=(list)
35424
+ if list.class == Array
35425
+ list = List.new(list)
35426
+ list.each_with_index do |value, index|
35427
+ if value.is_a?(Hash)
35428
+ list[index] = DiskSnapshot.new(value)
35429
+ end
35430
+ end
35431
+ end
35432
+ @disk_snapshots = list
35433
+ end
35434
+
35435
+ #
35436
+ # Returns the value of the `external_disk` attribute.
35437
+ #
35438
+ # @return [String]
35439
+ #
35440
+ def external_disk
35441
+ @external_disk
35442
+ end
35443
+
35444
+ #
35445
+ # Sets the value of the `external_disk` attribute.
35446
+ #
35447
+ # @param value [String]
35448
+ #
35449
+ def external_disk=(value)
35450
+ @external_disk = value
35451
+ end
35452
+
33651
35453
  #
33652
35454
  # Returns the value of the `format` attribute.
33653
35455
  #
@@ -34307,6 +36109,10 @@ module OvirtSDK4
34307
36109
  #
34308
36110
  # @option opts [String] :alias_ The value of attribute `alias_`.
34309
36111
  #
36112
+ # @option opts [DiskBackup] :backup The value of attribute `backup`.
36113
+ #
36114
+ # @option opts [DiskBackupMode] :backup_mode The value of attribute `backup_mode`.
36115
+ #
34310
36116
  # @option opts [Boolean] :bootable The value of attribute `bootable`.
34311
36117
  #
34312
36118
  # @option opts [String] :comment The value of attribute `comment`.
@@ -34317,6 +36123,10 @@ module OvirtSDK4
34317
36123
  #
34318
36124
  # @option opts [DiskProfile, Hash] :disk_profile The value of attribute `disk_profile`.
34319
36125
  #
36126
+ # @option opts [Array<DiskSnapshot>, Array<Hash>] :disk_snapshots The values of attribute `disk_snapshots`.
36127
+ #
36128
+ # @option opts [String] :external_disk The value of attribute `external_disk`.
36129
+ #
34320
36130
  # @option opts [DiskFormat] :format The value of attribute `format`.
34321
36131
  #
34322
36132
  # @option opts [String] :id The value of attribute `id`.
@@ -34385,9 +36195,13 @@ module OvirtSDK4
34385
36195
  self.active = opts[:active]
34386
36196
  self.actual_size = opts[:actual_size]
34387
36197
  self.alias_ = opts[:alias_]
36198
+ self.backup = opts[:backup]
36199
+ self.backup_mode = opts[:backup_mode]
34388
36200
  self.bootable = opts[:bootable]
34389
36201
  self.content_type = opts[:content_type]
34390
36202
  self.disk_profile = opts[:disk_profile]
36203
+ self.disk_snapshots = opts[:disk_snapshots]
36204
+ self.external_disk = opts[:external_disk]
34391
36205
  self.format = opts[:format]
34392
36206
  self.image_id = opts[:image_id]
34393
36207
  self.initial_size = opts[:initial_size]
@@ -34423,9 +36237,13 @@ module OvirtSDK4
34423
36237
  @active == other.active &&
34424
36238
  @actual_size == other.actual_size &&
34425
36239
  @alias_ == other.alias_ &&
36240
+ @backup == other.backup &&
36241
+ @backup_mode == other.backup_mode &&
34426
36242
  @bootable == other.bootable &&
34427
36243
  @content_type == other.content_type &&
34428
36244
  @disk_profile == other.disk_profile &&
36245
+ @disk_snapshots == other.disk_snapshots &&
36246
+ @external_disk == other.external_disk &&
34429
36247
  @format == other.format &&
34430
36248
  @image_id == other.image_id &&
34431
36249
  @initial_size == other.initial_size &&
@@ -34461,9 +36279,13 @@ module OvirtSDK4
34461
36279
  @active.hash +
34462
36280
  @actual_size.hash +
34463
36281
  @alias_.hash +
36282
+ @backup.hash +
36283
+ @backup_mode.hash +
34464
36284
  @bootable.hash +
34465
36285
  @content_type.hash +
34466
36286
  @disk_profile.hash +
36287
+ @disk_snapshots.hash +
36288
+ @external_disk.hash +
34467
36289
  @format.hash +
34468
36290
  @image_id.hash +
34469
36291
  @initial_size.hash +
@@ -35111,6 +36933,42 @@ module OvirtSDK4
35111
36933
  @alias_ = value
35112
36934
  end
35113
36935
 
36936
+ #
36937
+ # Returns the value of the `backup` attribute.
36938
+ #
36939
+ # @return [DiskBackup]
36940
+ #
36941
+ def backup
36942
+ @backup
36943
+ end
36944
+
36945
+ #
36946
+ # Sets the value of the `backup` attribute.
36947
+ #
36948
+ # @param value [DiskBackup]
36949
+ #
36950
+ def backup=(value)
36951
+ @backup = value
36952
+ end
36953
+
36954
+ #
36955
+ # Returns the value of the `backup_mode` attribute.
36956
+ #
36957
+ # @return [DiskBackupMode]
36958
+ #
36959
+ def backup_mode
36960
+ @backup_mode
36961
+ end
36962
+
36963
+ #
36964
+ # Sets the value of the `backup_mode` attribute.
36965
+ #
36966
+ # @param value [DiskBackupMode]
36967
+ #
36968
+ def backup_mode=(value)
36969
+ @backup_mode = value
36970
+ end
36971
+
35114
36972
  #
35115
36973
  # Returns the value of the `bootable` attribute.
35116
36974
  #
@@ -35233,6 +37091,50 @@ module OvirtSDK4
35233
37091
  @disk_profile = value
35234
37092
  end
35235
37093
 
37094
+ #
37095
+ # Returns the value of the `disk_snapshots` attribute.
37096
+ #
37097
+ # @return [Array<DiskSnapshot>]
37098
+ #
37099
+ def disk_snapshots
37100
+ @disk_snapshots
37101
+ end
37102
+
37103
+ #
37104
+ # Sets the value of the `disk_snapshots` attribute.
37105
+ #
37106
+ # @param list [Array<DiskSnapshot>]
37107
+ #
37108
+ def disk_snapshots=(list)
37109
+ if list.class == Array
37110
+ list = List.new(list)
37111
+ list.each_with_index do |value, index|
37112
+ if value.is_a?(Hash)
37113
+ list[index] = DiskSnapshot.new(value)
37114
+ end
37115
+ end
37116
+ end
37117
+ @disk_snapshots = list
37118
+ end
37119
+
37120
+ #
37121
+ # Returns the value of the `external_disk` attribute.
37122
+ #
37123
+ # @return [String]
37124
+ #
37125
+ def external_disk
37126
+ @external_disk
37127
+ end
37128
+
37129
+ #
37130
+ # Sets the value of the `external_disk` attribute.
37131
+ #
37132
+ # @param value [String]
37133
+ #
37134
+ def external_disk=(value)
37135
+ @external_disk = value
37136
+ end
37137
+
35236
37138
  #
35237
37139
  # Returns the value of the `format` attribute.
35238
37140
  #
@@ -35434,6 +37336,31 @@ module OvirtSDK4
35434
37336
  @openstack_volume_type = value
35435
37337
  end
35436
37338
 
37339
+ #
37340
+ # Returns the value of the `parent` attribute.
37341
+ #
37342
+ # @return [DiskSnapshot]
37343
+ #
37344
+ def parent
37345
+ @parent
37346
+ end
37347
+
37348
+ #
37349
+ # Sets the value of the `parent` attribute.
37350
+ #
37351
+ # @param value [DiskSnapshot, Hash]
37352
+ #
37353
+ # The `value` parameter can be an instance of {OvirtSDK4::DiskSnapshot} or a hash.
37354
+ # If it is a hash then a new instance will be created passing the hash as the
37355
+ # `opts` parameter to the constructor.
37356
+ #
37357
+ def parent=(value)
37358
+ if value.is_a?(Hash)
37359
+ value = DiskSnapshot.new(value)
37360
+ end
37361
+ @parent = value
37362
+ end
37363
+
35437
37364
  #
35438
37365
  # Returns the value of the `permissions` attribute.
35439
37366
  #
@@ -35892,6 +37819,10 @@ module OvirtSDK4
35892
37819
  #
35893
37820
  # @option opts [String] :alias_ The value of attribute `alias_`.
35894
37821
  #
37822
+ # @option opts [DiskBackup] :backup The value of attribute `backup`.
37823
+ #
37824
+ # @option opts [DiskBackupMode] :backup_mode The value of attribute `backup_mode`.
37825
+ #
35895
37826
  # @option opts [Boolean] :bootable The value of attribute `bootable`.
35896
37827
  #
35897
37828
  # @option opts [String] :comment The value of attribute `comment`.
@@ -35904,6 +37835,10 @@ module OvirtSDK4
35904
37835
  #
35905
37836
  # @option opts [DiskProfile, Hash] :disk_profile The value of attribute `disk_profile`.
35906
37837
  #
37838
+ # @option opts [Array<DiskSnapshot>, Array<Hash>] :disk_snapshots The values of attribute `disk_snapshots`.
37839
+ #
37840
+ # @option opts [String] :external_disk The value of attribute `external_disk`.
37841
+ #
35907
37842
  # @option opts [DiskFormat] :format The value of attribute `format`.
35908
37843
  #
35909
37844
  # @option opts [String] :id The value of attribute `id`.
@@ -35924,6 +37859,8 @@ module OvirtSDK4
35924
37859
  #
35925
37860
  # @option opts [OpenStackVolumeType, Hash] :openstack_volume_type The value of attribute `openstack_volume_type`.
35926
37861
  #
37862
+ # @option opts [DiskSnapshot, Hash] :parent The value of attribute `parent`.
37863
+ #
35927
37864
  # @option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.
35928
37865
  #
35929
37866
  # @option opts [Boolean] :propagate_errors The value of attribute `propagate_errors`.
@@ -35970,6 +37907,7 @@ module OvirtSDK4
35970
37907
  def initialize(opts = {})
35971
37908
  super(opts)
35972
37909
  self.disk = opts[:disk]
37910
+ self.parent = opts[:parent]
35973
37911
  end
35974
37912
 
35975
37913
  #
@@ -35977,7 +37915,8 @@ module OvirtSDK4
35977
37915
  #
35978
37916
  def ==(other)
35979
37917
  super &&
35980
- @disk == other.disk
37918
+ @disk == other.disk &&
37919
+ @parent == other.parent
35981
37920
  end
35982
37921
 
35983
37922
  #
@@ -35985,7 +37924,8 @@ module OvirtSDK4
35985
37924
  #
35986
37925
  def hash
35987
37926
  super +
35988
- @disk.hash
37927
+ @disk.hash +
37928
+ @parent.hash
35989
37929
  end
35990
37930
 
35991
37931
  end
@@ -36431,6 +38371,24 @@ module OvirtSDK4
36431
38371
  @index = value
36432
38372
  end
36433
38373
 
38374
+ #
38375
+ # Returns the value of the `log_on_host` attribute.
38376
+ #
38377
+ # @return [Boolean]
38378
+ #
38379
+ def log_on_host
38380
+ @log_on_host
38381
+ end
38382
+
38383
+ #
38384
+ # Sets the value of the `log_on_host` attribute.
38385
+ #
38386
+ # @param value [Boolean]
38387
+ #
38388
+ def log_on_host=(value)
38389
+ @log_on_host = value
38390
+ end
38391
+
36434
38392
  #
36435
38393
  # Returns the value of the `name` attribute.
36436
38394
  #
@@ -36634,6 +38592,8 @@ module OvirtSDK4
36634
38592
  #
36635
38593
  # @option opts [Integer] :index The value of attribute `index`.
36636
38594
  #
38595
+ # @option opts [Boolean] :log_on_host The value of attribute `log_on_host`.
38596
+ #
36637
38597
  # @option opts [String] :name The value of attribute `name`.
36638
38598
  #
36639
38599
  # @option opts [String] :origin The value of attribute `origin`.
@@ -36662,6 +38622,7 @@ module OvirtSDK4
36662
38622
  self.flood_rate = opts[:flood_rate]
36663
38623
  self.host = opts[:host]
36664
38624
  self.index = opts[:index]
38625
+ self.log_on_host = opts[:log_on_host]
36665
38626
  self.origin = opts[:origin]
36666
38627
  self.severity = opts[:severity]
36667
38628
  self.storage_domain = opts[:storage_domain]
@@ -36685,6 +38646,7 @@ module OvirtSDK4
36685
38646
  @flood_rate == other.flood_rate &&
36686
38647
  @host == other.host &&
36687
38648
  @index == other.index &&
38649
+ @log_on_host == other.log_on_host &&
36688
38650
  @origin == other.origin &&
36689
38651
  @severity == other.severity &&
36690
38652
  @storage_domain == other.storage_domain &&
@@ -36708,6 +38670,7 @@ module OvirtSDK4
36708
38670
  @flood_rate.hash +
36709
38671
  @host.hash +
36710
38672
  @index.hash +
38673
+ @log_on_host.hash +
36711
38674
  @origin.hash +
36712
38675
  @severity.hash +
36713
38676
  @storage_domain.hash +
@@ -36719,6 +38682,215 @@ module OvirtSDK4
36719
38682
 
36720
38683
  end
36721
38684
 
38685
+ class EventSubscription < Identified
38686
+
38687
+ #
38688
+ # Returns the value of the `address` attribute.
38689
+ #
38690
+ # @return [String]
38691
+ #
38692
+ def address
38693
+ @address
38694
+ end
38695
+
38696
+ #
38697
+ # Sets the value of the `address` attribute.
38698
+ #
38699
+ # @param value [String]
38700
+ #
38701
+ def address=(value)
38702
+ @address = value
38703
+ end
38704
+
38705
+ #
38706
+ # Returns the value of the `comment` attribute.
38707
+ #
38708
+ # @return [String]
38709
+ #
38710
+ def comment
38711
+ @comment
38712
+ end
38713
+
38714
+ #
38715
+ # Sets the value of the `comment` attribute.
38716
+ #
38717
+ # @param value [String]
38718
+ #
38719
+ def comment=(value)
38720
+ @comment = value
38721
+ end
38722
+
38723
+ #
38724
+ # Returns the value of the `description` attribute.
38725
+ #
38726
+ # @return [String]
38727
+ #
38728
+ def description
38729
+ @description
38730
+ end
38731
+
38732
+ #
38733
+ # Sets the value of the `description` attribute.
38734
+ #
38735
+ # @param value [String]
38736
+ #
38737
+ def description=(value)
38738
+ @description = value
38739
+ end
38740
+
38741
+ #
38742
+ # Returns the value of the `event` attribute.
38743
+ #
38744
+ # @return [NotifiableEvent]
38745
+ #
38746
+ def event
38747
+ @event
38748
+ end
38749
+
38750
+ #
38751
+ # Sets the value of the `event` attribute.
38752
+ #
38753
+ # @param value [NotifiableEvent]
38754
+ #
38755
+ def event=(value)
38756
+ @event = value
38757
+ end
38758
+
38759
+ #
38760
+ # Returns the value of the `id` attribute.
38761
+ #
38762
+ # @return [String]
38763
+ #
38764
+ def id
38765
+ @id
38766
+ end
38767
+
38768
+ #
38769
+ # Sets the value of the `id` attribute.
38770
+ #
38771
+ # @param value [String]
38772
+ #
38773
+ def id=(value)
38774
+ @id = value
38775
+ end
38776
+
38777
+ #
38778
+ # Returns the value of the `name` attribute.
38779
+ #
38780
+ # @return [String]
38781
+ #
38782
+ def name
38783
+ @name
38784
+ end
38785
+
38786
+ #
38787
+ # Sets the value of the `name` attribute.
38788
+ #
38789
+ # @param value [String]
38790
+ #
38791
+ def name=(value)
38792
+ @name = value
38793
+ end
38794
+
38795
+ #
38796
+ # Returns the value of the `notification_method` attribute.
38797
+ #
38798
+ # @return [NotificationMethod]
38799
+ #
38800
+ def notification_method
38801
+ @notification_method
38802
+ end
38803
+
38804
+ #
38805
+ # Sets the value of the `notification_method` attribute.
38806
+ #
38807
+ # @param value [NotificationMethod]
38808
+ #
38809
+ def notification_method=(value)
38810
+ @notification_method = value
38811
+ end
38812
+
38813
+ #
38814
+ # Returns the value of the `user` attribute.
38815
+ #
38816
+ # @return [User]
38817
+ #
38818
+ def user
38819
+ @user
38820
+ end
38821
+
38822
+ #
38823
+ # Sets the value of the `user` attribute.
38824
+ #
38825
+ # @param value [User, Hash]
38826
+ #
38827
+ # The `value` parameter can be an instance of {OvirtSDK4::User} or a hash.
38828
+ # If it is a hash then a new instance will be created passing the hash as the
38829
+ # `opts` parameter to the constructor.
38830
+ #
38831
+ def user=(value)
38832
+ if value.is_a?(Hash)
38833
+ value = User.new(value)
38834
+ end
38835
+ @user = value
38836
+ end
38837
+
38838
+ #
38839
+ # Creates a new instance of the {EventSubscription} class.
38840
+ #
38841
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
38842
+ # should be symbols corresponding to the names of the attributes. The values of the hash
38843
+ # should be the values of the attributes.
38844
+ #
38845
+ # @option opts [String] :address The value of attribute `address`.
38846
+ #
38847
+ # @option opts [String] :comment The value of attribute `comment`.
38848
+ #
38849
+ # @option opts [String] :description The value of attribute `description`.
38850
+ #
38851
+ # @option opts [NotifiableEvent] :event The value of attribute `event`.
38852
+ #
38853
+ # @option opts [String] :id The value of attribute `id`.
38854
+ #
38855
+ # @option opts [String] :name The value of attribute `name`.
38856
+ #
38857
+ # @option opts [NotificationMethod] :notification_method The value of attribute `notification_method`.
38858
+ #
38859
+ # @option opts [User, Hash] :user The value of attribute `user`.
38860
+ #
38861
+ #
38862
+ def initialize(opts = {})
38863
+ super(opts)
38864
+ self.address = opts[:address]
38865
+ self.event = opts[:event]
38866
+ self.notification_method = opts[:notification_method]
38867
+ self.user = opts[:user]
38868
+ end
38869
+
38870
+ #
38871
+ # Returns `true` if `self` and `other` have the same attributes and values.
38872
+ #
38873
+ def ==(other)
38874
+ super &&
38875
+ @address == other.address &&
38876
+ @event == other.event &&
38877
+ @notification_method == other.notification_method &&
38878
+ @user == other.user
38879
+ end
38880
+
38881
+ #
38882
+ # Generates a hash value for this object.
38883
+ #
38884
+ def hash
38885
+ super +
38886
+ @address.hash +
38887
+ @event.hash +
38888
+ @notification_method.hash +
38889
+ @user.hash
38890
+ end
38891
+
38892
+ end
38893
+
36722
38894
  class ExternalComputeResource < Identified
36723
38895
 
36724
38896
  #
@@ -41385,7 +43557,7 @@ module OvirtSDK4
41385
43557
  #
41386
43558
  # Returns the value of the `devices` attribute.
41387
43559
  #
41388
- # @return [Array<Device>]
43560
+ # @return [Array<HostDevice>]
41389
43561
  #
41390
43562
  def devices
41391
43563
  @devices
@@ -41394,14 +43566,14 @@ module OvirtSDK4
41394
43566
  #
41395
43567
  # Sets the value of the `devices` attribute.
41396
43568
  #
41397
- # @param list [Array<Device>]
43569
+ # @param list [Array<HostDevice>]
41398
43570
  #
41399
43571
  def devices=(list)
41400
43572
  if list.class == Array
41401
43573
  list = List.new(list)
41402
43574
  list.each_with_index do |value, index|
41403
43575
  if value.is_a?(Hash)
41404
- list[index] = Device.new(value)
43576
+ list[index] = HostDevice.new(value)
41405
43577
  end
41406
43578
  end
41407
43579
  end
@@ -41795,6 +43967,24 @@ module OvirtSDK4
41795
43967
  @network_attachments = list
41796
43968
  end
41797
43969
 
43970
+ #
43971
+ # Returns the value of the `network_operation_in_progress` attribute.
43972
+ #
43973
+ # @return [Boolean]
43974
+ #
43975
+ def network_operation_in_progress
43976
+ @network_operation_in_progress
43977
+ end
43978
+
43979
+ #
43980
+ # Sets the value of the `network_operation_in_progress` attribute.
43981
+ #
43982
+ # @param value [Boolean]
43983
+ #
43984
+ def network_operation_in_progress=(value)
43985
+ @network_operation_in_progress = value
43986
+ end
43987
+
41798
43988
  #
41799
43989
  # Returns the value of the `nics` attribute.
41800
43990
  #
@@ -41995,6 +44185,24 @@ module OvirtSDK4
41995
44185
  @protocol = value
41996
44186
  end
41997
44187
 
44188
+ #
44189
+ # Returns the value of the `reinstallation_required` attribute.
44190
+ #
44191
+ # @return [Boolean]
44192
+ #
44193
+ def reinstallation_required
44194
+ @reinstallation_required
44195
+ end
44196
+
44197
+ #
44198
+ # Sets the value of the `reinstallation_required` attribute.
44199
+ #
44200
+ # @param value [Boolean]
44201
+ #
44202
+ def reinstallation_required=(value)
44203
+ @reinstallation_required = value
44204
+ end
44205
+
41998
44206
  #
41999
44207
  # Returns the value of the `root_password` attribute.
42000
44208
  #
@@ -42365,6 +44573,24 @@ module OvirtSDK4
42365
44573
  @version = value
42366
44574
  end
42367
44575
 
44576
+ #
44577
+ # Returns the value of the `vgpu_placement` attribute.
44578
+ #
44579
+ # @return [VgpuPlacement]
44580
+ #
44581
+ def vgpu_placement
44582
+ @vgpu_placement
44583
+ end
44584
+
44585
+ #
44586
+ # Sets the value of the `vgpu_placement` attribute.
44587
+ #
44588
+ # @param value [VgpuPlacement]
44589
+ #
44590
+ def vgpu_placement=(value)
44591
+ @vgpu_placement = value
44592
+ end
44593
+
42368
44594
  #
42369
44595
  # Creates a new instance of the {Host} class.
42370
44596
  #
@@ -42392,7 +44618,7 @@ module OvirtSDK4
42392
44618
  #
42393
44619
  # @option opts [HostDevicePassthrough, Hash] :device_passthrough The value of attribute `device_passthrough`.
42394
44620
  #
42395
- # @option opts [Array<Device>, Array<Hash>] :devices The values of attribute `devices`.
44621
+ # @option opts [Array<HostDevice>, Array<Hash>] :devices The values of attribute `devices`.
42396
44622
  #
42397
44623
  # @option opts [Display, Hash] :display The value of attribute `display`.
42398
44624
  #
@@ -42428,6 +44654,8 @@ module OvirtSDK4
42428
44654
  #
42429
44655
  # @option opts [Array<NetworkAttachment>, Array<Hash>] :network_attachments The values of attribute `network_attachments`.
42430
44656
  #
44657
+ # @option opts [Boolean] :network_operation_in_progress The value of attribute `network_operation_in_progress`.
44658
+ #
42431
44659
  # @option opts [Array<HostNic>, Array<Hash>] :nics The values of attribute `nics`.
42432
44660
  #
42433
44661
  # @option opts [Array<NumaNode>, Array<Hash>] :numa_nodes The values of attribute `numa_nodes`.
@@ -42446,6 +44674,8 @@ module OvirtSDK4
42446
44674
  #
42447
44675
  # @option opts [HostProtocol] :protocol The value of attribute `protocol`.
42448
44676
  #
44677
+ # @option opts [Boolean] :reinstallation_required The value of attribute `reinstallation_required`.
44678
+ #
42449
44679
  # @option opts [String] :root_password The value of attribute `root_password`.
42450
44680
  #
42451
44681
  # @option opts [SeLinux, Hash] :se_linux The value of attribute `se_linux`.
@@ -42478,6 +44708,8 @@ module OvirtSDK4
42478
44708
  #
42479
44709
  # @option opts [Version, Hash] :version The value of attribute `version`.
42480
44710
  #
44711
+ # @option opts [VgpuPlacement] :vgpu_placement The value of attribute `vgpu_placement`.
44712
+ #
42481
44713
  #
42482
44714
  def initialize(opts = {})
42483
44715
  super(opts)
@@ -42505,6 +44737,7 @@ module OvirtSDK4
42505
44737
  self.max_scheduling_memory = opts[:max_scheduling_memory]
42506
44738
  self.memory = opts[:memory]
42507
44739
  self.network_attachments = opts[:network_attachments]
44740
+ self.network_operation_in_progress = opts[:network_operation_in_progress]
42508
44741
  self.nics = opts[:nics]
42509
44742
  self.numa_nodes = opts[:numa_nodes]
42510
44743
  self.numa_supported = opts[:numa_supported]
@@ -42514,6 +44747,7 @@ module OvirtSDK4
42514
44747
  self.port = opts[:port]
42515
44748
  self.power_management = opts[:power_management]
42516
44749
  self.protocol = opts[:protocol]
44750
+ self.reinstallation_required = opts[:reinstallation_required]
42517
44751
  self.root_password = opts[:root_password]
42518
44752
  self.se_linux = opts[:se_linux]
42519
44753
  self.spm = opts[:spm]
@@ -42530,6 +44764,7 @@ module OvirtSDK4
42530
44764
  self.unmanaged_networks = opts[:unmanaged_networks]
42531
44765
  self.update_available = opts[:update_available]
42532
44766
  self.version = opts[:version]
44767
+ self.vgpu_placement = opts[:vgpu_placement]
42533
44768
  end
42534
44769
 
42535
44770
  #
@@ -42561,6 +44796,7 @@ module OvirtSDK4
42561
44796
  @max_scheduling_memory == other.max_scheduling_memory &&
42562
44797
  @memory == other.memory &&
42563
44798
  @network_attachments == other.network_attachments &&
44799
+ @network_operation_in_progress == other.network_operation_in_progress &&
42564
44800
  @nics == other.nics &&
42565
44801
  @numa_nodes == other.numa_nodes &&
42566
44802
  @numa_supported == other.numa_supported &&
@@ -42570,6 +44806,7 @@ module OvirtSDK4
42570
44806
  @port == other.port &&
42571
44807
  @power_management == other.power_management &&
42572
44808
  @protocol == other.protocol &&
44809
+ @reinstallation_required == other.reinstallation_required &&
42573
44810
  @root_password == other.root_password &&
42574
44811
  @se_linux == other.se_linux &&
42575
44812
  @spm == other.spm &&
@@ -42585,7 +44822,8 @@ module OvirtSDK4
42585
44822
  @type == other.type &&
42586
44823
  @unmanaged_networks == other.unmanaged_networks &&
42587
44824
  @update_available == other.update_available &&
42588
- @version == other.version
44825
+ @version == other.version &&
44826
+ @vgpu_placement == other.vgpu_placement
42589
44827
  end
42590
44828
 
42591
44829
  #
@@ -42617,6 +44855,7 @@ module OvirtSDK4
42617
44855
  @max_scheduling_memory.hash +
42618
44856
  @memory.hash +
42619
44857
  @network_attachments.hash +
44858
+ @network_operation_in_progress.hash +
42620
44859
  @nics.hash +
42621
44860
  @numa_nodes.hash +
42622
44861
  @numa_supported.hash +
@@ -42626,6 +44865,7 @@ module OvirtSDK4
42626
44865
  @port.hash +
42627
44866
  @power_management.hash +
42628
44867
  @protocol.hash +
44868
+ @reinstallation_required.hash +
42629
44869
  @root_password.hash +
42630
44870
  @se_linux.hash +
42631
44871
  @spm.hash +
@@ -42641,7 +44881,8 @@ module OvirtSDK4
42641
44881
  @type.hash +
42642
44882
  @unmanaged_networks.hash +
42643
44883
  @update_available.hash +
42644
- @version.hash
44884
+ @version.hash +
44885
+ @vgpu_placement.hash
42645
44886
  end
42646
44887
 
42647
44888
  end
@@ -42781,6 +45022,32 @@ module OvirtSDK4
42781
45022
  @iommu_group = value
42782
45023
  end
42783
45024
 
45025
+ #
45026
+ # Returns the value of the `m_dev_types` attribute.
45027
+ #
45028
+ # @return [Array<MDevType>]
45029
+ #
45030
+ def m_dev_types
45031
+ @m_dev_types
45032
+ end
45033
+
45034
+ #
45035
+ # Sets the value of the `m_dev_types` attribute.
45036
+ #
45037
+ # @param list [Array<MDevType>]
45038
+ #
45039
+ def m_dev_types=(list)
45040
+ if list.class == Array
45041
+ list = List.new(list)
45042
+ list.each_with_index do |value, index|
45043
+ if value.is_a?(Hash)
45044
+ list[index] = MDevType.new(value)
45045
+ end
45046
+ end
45047
+ end
45048
+ @m_dev_types = list
45049
+ end
45050
+
42784
45051
  #
42785
45052
  # Returns the value of the `name` attribute.
42786
45053
  #
@@ -42981,6 +45248,8 @@ module OvirtSDK4
42981
45248
  #
42982
45249
  # @option opts [Integer] :iommu_group The value of attribute `iommu_group`.
42983
45250
  #
45251
+ # @option opts [Array<MDevType>, Array<Hash>] :m_dev_types The values of attribute `m_dev_types`.
45252
+ #
42984
45253
  # @option opts [String] :name The value of attribute `name`.
42985
45254
  #
42986
45255
  # @option opts [HostDevice, Hash] :parent_device The value of attribute `parent_device`.
@@ -43004,6 +45273,7 @@ module OvirtSDK4
43004
45273
  self.driver = opts[:driver]
43005
45274
  self.host = opts[:host]
43006
45275
  self.iommu_group = opts[:iommu_group]
45276
+ self.m_dev_types = opts[:m_dev_types]
43007
45277
  self.parent_device = opts[:parent_device]
43008
45278
  self.physical_function = opts[:physical_function]
43009
45279
  self.placeholder = opts[:placeholder]
@@ -43022,6 +45292,7 @@ module OvirtSDK4
43022
45292
  @driver == other.driver &&
43023
45293
  @host == other.host &&
43024
45294
  @iommu_group == other.iommu_group &&
45295
+ @m_dev_types == other.m_dev_types &&
43025
45296
  @parent_device == other.parent_device &&
43026
45297
  @physical_function == other.physical_function &&
43027
45298
  @placeholder == other.placeholder &&
@@ -43040,6 +45311,7 @@ module OvirtSDK4
43040
45311
  @driver.hash +
43041
45312
  @host.hash +
43042
45313
  @iommu_group.hash +
45314
+ @m_dev_types.hash +
43043
45315
  @parent_device.hash +
43044
45316
  @physical_function.hash +
43045
45317
  @placeholder.hash +
@@ -43863,6 +46135,58 @@ module OvirtSDK4
43863
46135
  @description = value
43864
46136
  end
43865
46137
 
46138
+ #
46139
+ # Returns the value of the `driver_options` attribute.
46140
+ #
46141
+ # @return [Array<Property>]
46142
+ #
46143
+ def driver_options
46144
+ @driver_options
46145
+ end
46146
+
46147
+ #
46148
+ # Sets the value of the `driver_options` attribute.
46149
+ #
46150
+ # @param list [Array<Property>]
46151
+ #
46152
+ def driver_options=(list)
46153
+ if list.class == Array
46154
+ list = List.new(list)
46155
+ list.each_with_index do |value, index|
46156
+ if value.is_a?(Hash)
46157
+ list[index] = Property.new(value)
46158
+ end
46159
+ end
46160
+ end
46161
+ @driver_options = list
46162
+ end
46163
+
46164
+ #
46165
+ # Returns the value of the `driver_sensitive_options` attribute.
46166
+ #
46167
+ # @return [Array<Property>]
46168
+ #
46169
+ def driver_sensitive_options
46170
+ @driver_sensitive_options
46171
+ end
46172
+
46173
+ #
46174
+ # Sets the value of the `driver_sensitive_options` attribute.
46175
+ #
46176
+ # @param list [Array<Property>]
46177
+ #
46178
+ def driver_sensitive_options=(list)
46179
+ if list.class == Array
46180
+ list = List.new(list)
46181
+ list.each_with_index do |value, index|
46182
+ if value.is_a?(Hash)
46183
+ list[index] = Property.new(value)
46184
+ end
46185
+ end
46186
+ end
46187
+ @driver_sensitive_options = list
46188
+ end
46189
+
43866
46190
  #
43867
46191
  # Returns the value of the `host` attribute.
43868
46192
  #
@@ -44222,6 +46546,10 @@ module OvirtSDK4
44222
46546
  #
44223
46547
  # @option opts [String] :description The value of attribute `description`.
44224
46548
  #
46549
+ # @option opts [Array<Property>, Array<Hash>] :driver_options The values of attribute `driver_options`.
46550
+ #
46551
+ # @option opts [Array<Property>, Array<Hash>] :driver_sensitive_options The values of attribute `driver_sensitive_options`.
46552
+ #
44225
46553
  # @option opts [Host, Hash] :host The value of attribute `host`.
44226
46554
  #
44227
46555
  # @option opts [String] :id The value of attribute `id`.
@@ -44262,6 +46590,8 @@ module OvirtSDK4
44262
46590
  def initialize(opts = {})
44263
46591
  super(opts)
44264
46592
  self.address = opts[:address]
46593
+ self.driver_options = opts[:driver_options]
46594
+ self.driver_sensitive_options = opts[:driver_sensitive_options]
44265
46595
  self.host = opts[:host]
44266
46596
  self.logical_units = opts[:logical_units]
44267
46597
  self.mount_options = opts[:mount_options]
@@ -44286,6 +46616,8 @@ module OvirtSDK4
44286
46616
  def ==(other)
44287
46617
  super &&
44288
46618
  @address == other.address &&
46619
+ @driver_options == other.driver_options &&
46620
+ @driver_sensitive_options == other.driver_sensitive_options &&
44289
46621
  @host == other.host &&
44290
46622
  @logical_units == other.logical_units &&
44291
46623
  @mount_options == other.mount_options &&
@@ -44310,6 +46642,8 @@ module OvirtSDK4
44310
46642
  def hash
44311
46643
  super +
44312
46644
  @address.hash +
46645
+ @driver_options.hash +
46646
+ @driver_sensitive_options.hash +
44313
46647
  @host.hash +
44314
46648
  @logical_units.hash +
44315
46649
  @mount_options.hash +
@@ -46430,6 +48764,24 @@ module OvirtSDK4
46430
48764
  @migration_downtime = value
46431
48765
  end
46432
48766
 
48767
+ #
48768
+ # Returns the value of the `multi_queues_enabled` attribute.
48769
+ #
48770
+ # @return [Boolean]
48771
+ #
48772
+ def multi_queues_enabled
48773
+ @multi_queues_enabled
48774
+ end
48775
+
48776
+ #
48777
+ # Sets the value of the `multi_queues_enabled` attribute.
48778
+ #
48779
+ # @param value [Boolean]
48780
+ #
48781
+ def multi_queues_enabled=(value)
48782
+ @multi_queues_enabled = value
48783
+ end
48784
+
46433
48785
  #
46434
48786
  # Returns the value of the `name` attribute.
46435
48787
  #
@@ -46970,6 +49322,24 @@ module OvirtSDK4
46970
49322
  @virtio_scsi = value
46971
49323
  end
46972
49324
 
49325
+ #
49326
+ # Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
49327
+ #
49328
+ # @return [Boolean]
49329
+ #
49330
+ def virtio_scsi_multi_queues_enabled
49331
+ @virtio_scsi_multi_queues_enabled
49332
+ end
49333
+
49334
+ #
49335
+ # Sets the value of the `virtio_scsi_multi_queues_enabled` attribute.
49336
+ #
49337
+ # @param value [Boolean]
49338
+ #
49339
+ def virtio_scsi_multi_queues_enabled=(value)
49340
+ @virtio_scsi_multi_queues_enabled = value
49341
+ end
49342
+
46973
49343
  #
46974
49344
  # Returns the value of the `vm` attribute.
46975
49345
  #
@@ -47086,6 +49456,8 @@ module OvirtSDK4
47086
49456
  #
47087
49457
  # @option opts [Integer] :migration_downtime The value of attribute `migration_downtime`.
47088
49458
  #
49459
+ # @option opts [Boolean] :multi_queues_enabled The value of attribute `multi_queues_enabled`.
49460
+ #
47089
49461
  # @option opts [String] :name The value of attribute `name`.
47090
49462
  #
47091
49463
  # @option opts [Array<Nic>, Array<Hash>] :nics The values of attribute `nics`.
@@ -47134,6 +49506,8 @@ module OvirtSDK4
47134
49506
  #
47135
49507
  # @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
47136
49508
  #
49509
+ # @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
49510
+ #
47137
49511
  # @option opts [Vm, Hash] :vm The value of attribute `vm`.
47138
49512
  #
47139
49513
  # @option opts [Array<Watchdog>, Array<Hash>] :watchdogs The values of attribute `watchdogs`.
@@ -48141,6 +50515,24 @@ module OvirtSDK4
48141
50515
  @migration_downtime = value
48142
50516
  end
48143
50517
 
50518
+ #
50519
+ # Returns the value of the `multi_queues_enabled` attribute.
50520
+ #
50521
+ # @return [Boolean]
50522
+ #
50523
+ def multi_queues_enabled
50524
+ @multi_queues_enabled
50525
+ end
50526
+
50527
+ #
50528
+ # Sets the value of the `multi_queues_enabled` attribute.
50529
+ #
50530
+ # @param value [Boolean]
50531
+ #
50532
+ def multi_queues_enabled=(value)
50533
+ @multi_queues_enabled = value
50534
+ end
50535
+
48144
50536
  #
48145
50537
  # Returns the value of the `name` attribute.
48146
50538
  #
@@ -49006,6 +51398,24 @@ module OvirtSDK4
49006
51398
  @virtio_scsi = value
49007
51399
  end
49008
51400
 
51401
+ #
51402
+ # Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
51403
+ #
51404
+ # @return [Boolean]
51405
+ #
51406
+ def virtio_scsi_multi_queues_enabled
51407
+ @virtio_scsi_multi_queues_enabled
51408
+ end
51409
+
51410
+ #
51411
+ # Sets the value of the `virtio_scsi_multi_queues_enabled` attribute.
51412
+ #
51413
+ # @param value [Boolean]
51414
+ #
51415
+ def virtio_scsi_multi_queues_enabled=(value)
51416
+ @virtio_scsi_multi_queues_enabled = value
51417
+ end
51418
+
49009
51419
  #
49010
51420
  # Returns the value of the `vm_pool` attribute.
49011
51421
  #
@@ -49146,6 +51556,8 @@ module OvirtSDK4
49146
51556
  #
49147
51557
  # @option opts [Integer] :migration_downtime The value of attribute `migration_downtime`.
49148
51558
  #
51559
+ # @option opts [Boolean] :multi_queues_enabled The value of attribute `multi_queues_enabled`.
51560
+ #
49149
51561
  # @option opts [String] :name The value of attribute `name`.
49150
51562
  #
49151
51563
  # @option opts [Boolean] :next_run_configuration_exists The value of attribute `next_run_configuration_exists`.
@@ -49224,6 +51636,8 @@ module OvirtSDK4
49224
51636
  #
49225
51637
  # @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
49226
51638
  #
51639
+ # @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
51640
+ #
49227
51641
  # @option opts [VmPool, Hash] :vm_pool The value of attribute `vm_pool`.
49228
51642
  #
49229
51643
  # @option opts [Array<Watchdog>, Array<Hash>] :watchdogs The values of attribute `watchdogs`.
@@ -51433,6 +53847,24 @@ module OvirtSDK4
51433
53847
  @migration_downtime = value
51434
53848
  end
51435
53849
 
53850
+ #
53851
+ # Returns the value of the `multi_queues_enabled` attribute.
53852
+ #
53853
+ # @return [Boolean]
53854
+ #
53855
+ def multi_queues_enabled
53856
+ @multi_queues_enabled
53857
+ end
53858
+
53859
+ #
53860
+ # Sets the value of the `multi_queues_enabled` attribute.
53861
+ #
53862
+ # @param value [Boolean]
53863
+ #
53864
+ def multi_queues_enabled=(value)
53865
+ @multi_queues_enabled = value
53866
+ end
53867
+
51436
53868
  #
51437
53869
  # Returns the value of the `name` attribute.
51438
53870
  #
@@ -51973,6 +54405,24 @@ module OvirtSDK4
51973
54405
  @virtio_scsi = value
51974
54406
  end
51975
54407
 
54408
+ #
54409
+ # Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
54410
+ #
54411
+ # @return [Boolean]
54412
+ #
54413
+ def virtio_scsi_multi_queues_enabled
54414
+ @virtio_scsi_multi_queues_enabled
54415
+ end
54416
+
54417
+ #
54418
+ # Sets the value of the `virtio_scsi_multi_queues_enabled` attribute.
54419
+ #
54420
+ # @param value [Boolean]
54421
+ #
54422
+ def virtio_scsi_multi_queues_enabled=(value)
54423
+ @virtio_scsi_multi_queues_enabled = value
54424
+ end
54425
+
51976
54426
  #
51977
54427
  # Returns the value of the `vm` attribute.
51978
54428
  #
@@ -52089,6 +54539,8 @@ module OvirtSDK4
52089
54539
  #
52090
54540
  # @option opts [Integer] :migration_downtime The value of attribute `migration_downtime`.
52091
54541
  #
54542
+ # @option opts [Boolean] :multi_queues_enabled The value of attribute `multi_queues_enabled`.
54543
+ #
52092
54544
  # @option opts [String] :name The value of attribute `name`.
52093
54545
  #
52094
54546
  # @option opts [Array<Nic>, Array<Hash>] :nics The values of attribute `nics`.
@@ -52137,6 +54589,8 @@ module OvirtSDK4
52137
54589
  #
52138
54590
  # @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
52139
54591
  #
54592
+ # @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
54593
+ #
52140
54594
  # @option opts [Vm, Hash] :vm The value of attribute `vm`.
52141
54595
  #
52142
54596
  # @option opts [Array<Watchdog>, Array<Hash>] :watchdogs The values of attribute `watchdogs`.
@@ -52709,6 +55163,42 @@ module OvirtSDK4
52709
55163
  @plugin_type = value
52710
55164
  end
52711
55165
 
55166
+ #
55167
+ # Returns the value of the `project_domain_name` attribute.
55168
+ #
55169
+ # @return [String]
55170
+ #
55171
+ def project_domain_name
55172
+ @project_domain_name
55173
+ end
55174
+
55175
+ #
55176
+ # Sets the value of the `project_domain_name` attribute.
55177
+ #
55178
+ # @param value [String]
55179
+ #
55180
+ def project_domain_name=(value)
55181
+ @project_domain_name = value
55182
+ end
55183
+
55184
+ #
55185
+ # Returns the value of the `project_name` attribute.
55186
+ #
55187
+ # @return [String]
55188
+ #
55189
+ def project_name
55190
+ @project_name
55191
+ end
55192
+
55193
+ #
55194
+ # Sets the value of the `project_name` attribute.
55195
+ #
55196
+ # @param value [String]
55197
+ #
55198
+ def project_name=(value)
55199
+ @project_name = value
55200
+ end
55201
+
52712
55202
  #
52713
55203
  # Returns the value of the `properties` attribute.
52714
55204
  #
@@ -52869,6 +55359,24 @@ module OvirtSDK4
52869
55359
  @url = value
52870
55360
  end
52871
55361
 
55362
+ #
55363
+ # Returns the value of the `user_domain_name` attribute.
55364
+ #
55365
+ # @return [String]
55366
+ #
55367
+ def user_domain_name
55368
+ @user_domain_name
55369
+ end
55370
+
55371
+ #
55372
+ # Sets the value of the `user_domain_name` attribute.
55373
+ #
55374
+ # @param value [String]
55375
+ #
55376
+ def user_domain_name=(value)
55377
+ @user_domain_name = value
55378
+ end
55379
+
52872
55380
  #
52873
55381
  # Returns the value of the `username` attribute.
52874
55382
  #
@@ -52918,6 +55426,10 @@ module OvirtSDK4
52918
55426
  #
52919
55427
  # @option opts [NetworkPluginType] :plugin_type The value of attribute `plugin_type`.
52920
55428
  #
55429
+ # @option opts [String] :project_domain_name The value of attribute `project_domain_name`.
55430
+ #
55431
+ # @option opts [String] :project_name The value of attribute `project_name`.
55432
+ #
52921
55433
  # @option opts [Array<Property>, Array<Hash>] :properties The values of attribute `properties`.
52922
55434
  #
52923
55435
  # @option opts [Boolean] :read_only The value of attribute `read_only`.
@@ -52934,6 +55446,8 @@ module OvirtSDK4
52934
55446
  #
52935
55447
  # @option opts [String] :url The value of attribute `url`.
52936
55448
  #
55449
+ # @option opts [String] :user_domain_name The value of attribute `user_domain_name`.
55450
+ #
52937
55451
  # @option opts [String] :username The value of attribute `username`.
52938
55452
  #
52939
55453
  #
@@ -52945,10 +55459,13 @@ module OvirtSDK4
52945
55459
  self.external_plugin_type = opts[:external_plugin_type]
52946
55460
  self.networks = opts[:networks]
52947
55461
  self.plugin_type = opts[:plugin_type]
55462
+ self.project_domain_name = opts[:project_domain_name]
55463
+ self.project_name = opts[:project_name]
52948
55464
  self.read_only = opts[:read_only]
52949
55465
  self.subnets = opts[:subnets]
52950
55466
  self.type = opts[:type]
52951
55467
  self.unmanaged = opts[:unmanaged]
55468
+ self.user_domain_name = opts[:user_domain_name]
52952
55469
  end
52953
55470
 
52954
55471
  #
@@ -52962,10 +55479,13 @@ module OvirtSDK4
52962
55479
  @external_plugin_type == other.external_plugin_type &&
52963
55480
  @networks == other.networks &&
52964
55481
  @plugin_type == other.plugin_type &&
55482
+ @project_domain_name == other.project_domain_name &&
55483
+ @project_name == other.project_name &&
52965
55484
  @read_only == other.read_only &&
52966
55485
  @subnets == other.subnets &&
52967
55486
  @type == other.type &&
52968
- @unmanaged == other.unmanaged
55487
+ @unmanaged == other.unmanaged &&
55488
+ @user_domain_name == other.user_domain_name
52969
55489
  end
52970
55490
 
52971
55491
  #
@@ -52979,10 +55499,13 @@ module OvirtSDK4
52979
55499
  @external_plugin_type.hash +
52980
55500
  @networks.hash +
52981
55501
  @plugin_type.hash +
55502
+ @project_domain_name.hash +
55503
+ @project_name.hash +
52982
55504
  @read_only.hash +
52983
55505
  @subnets.hash +
52984
55506
  @type.hash +
52985
- @unmanaged.hash
55507
+ @unmanaged.hash +
55508
+ @user_domain_name.hash
52986
55509
  end
52987
55510
 
52988
55511
  end
@@ -53413,6 +55936,32 @@ module OvirtSDK4
53413
55936
  @disk_attachments = list
53414
55937
  end
53415
55938
 
55939
+ #
55940
+ # Returns the value of the `disks` attribute.
55941
+ #
55942
+ # @return [Array<Disk>]
55943
+ #
55944
+ def disks
55945
+ @disks
55946
+ end
55947
+
55948
+ #
55949
+ # Sets the value of the `disks` attribute.
55950
+ #
55951
+ # @param list [Array<Disk>]
55952
+ #
55953
+ def disks=(list)
55954
+ if list.class == Array
55955
+ list = List.new(list)
55956
+ list.each_with_index do |value, index|
55957
+ if value.is_a?(Hash)
55958
+ list[index] = Disk.new(value)
55959
+ end
55960
+ end
55961
+ end
55962
+ @disks = list
55963
+ end
55964
+
53416
55965
  #
53417
55966
  # Returns the value of the `display` attribute.
53418
55967
  #
@@ -53957,6 +56506,24 @@ module OvirtSDK4
53957
56506
  @migration_downtime = value
53958
56507
  end
53959
56508
 
56509
+ #
56510
+ # Returns the value of the `multi_queues_enabled` attribute.
56511
+ #
56512
+ # @return [Boolean]
56513
+ #
56514
+ def multi_queues_enabled
56515
+ @multi_queues_enabled
56516
+ end
56517
+
56518
+ #
56519
+ # Sets the value of the `multi_queues_enabled` attribute.
56520
+ #
56521
+ # @param value [Boolean]
56522
+ #
56523
+ def multi_queues_enabled=(value)
56524
+ @multi_queues_enabled = value
56525
+ end
56526
+
53960
56527
  #
53961
56528
  # Returns the value of the `name` attribute.
53962
56529
  #
@@ -54876,6 +57443,24 @@ module OvirtSDK4
54876
57443
  @virtio_scsi = value
54877
57444
  end
54878
57445
 
57446
+ #
57447
+ # Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
57448
+ #
57449
+ # @return [Boolean]
57450
+ #
57451
+ def virtio_scsi_multi_queues_enabled
57452
+ @virtio_scsi_multi_queues_enabled
57453
+ end
57454
+
57455
+ #
57456
+ # Sets the value of the `virtio_scsi_multi_queues_enabled` attribute.
57457
+ #
57458
+ # @param value [Boolean]
57459
+ #
57460
+ def virtio_scsi_multi_queues_enabled=(value)
57461
+ @virtio_scsi_multi_queues_enabled = value
57462
+ end
57463
+
54879
57464
  #
54880
57465
  # Returns the value of the `vm` attribute.
54881
57466
  #
@@ -54997,6 +57582,8 @@ module OvirtSDK4
54997
57582
  #
54998
57583
  # @option opts [Array<DiskAttachment>, Array<Hash>] :disk_attachments The values of attribute `disk_attachments`.
54999
57584
  #
57585
+ # @option opts [Array<Disk>, Array<Hash>] :disks The values of attribute `disks`.
57586
+ #
55000
57587
  # @option opts [Display, Hash] :display The value of attribute `display`.
55001
57588
  #
55002
57589
  # @option opts [Domain, Hash] :domain The value of attribute `domain`.
@@ -55043,6 +57630,8 @@ module OvirtSDK4
55043
57630
  #
55044
57631
  # @option opts [Integer] :migration_downtime The value of attribute `migration_downtime`.
55045
57632
  #
57633
+ # @option opts [Boolean] :multi_queues_enabled The value of attribute `multi_queues_enabled`.
57634
+ #
55046
57635
  # @option opts [String] :name The value of attribute `name`.
55047
57636
  #
55048
57637
  # @option opts [Boolean] :next_run_configuration_exists The value of attribute `next_run_configuration_exists`.
@@ -55127,6 +57716,8 @@ module OvirtSDK4
55127
57716
  #
55128
57717
  # @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
55129
57718
  #
57719
+ # @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
57720
+ #
55130
57721
  # @option opts [Vm, Hash] :vm The value of attribute `vm`.
55131
57722
  #
55132
57723
  # @option opts [VmPool, Hash] :vm_pool The value of attribute `vm_pool`.
@@ -55137,6 +57728,7 @@ module OvirtSDK4
55137
57728
  def initialize(opts = {})
55138
57729
  super(opts)
55139
57730
  self.date = opts[:date]
57731
+ self.disks = opts[:disks]
55140
57732
  self.persist_memorystate = opts[:persist_memorystate]
55141
57733
  self.snapshot_status = opts[:snapshot_status]
55142
57734
  self.snapshot_type = opts[:snapshot_type]
@@ -55149,6 +57741,7 @@ module OvirtSDK4
55149
57741
  def ==(other)
55150
57742
  super &&
55151
57743
  @date == other.date &&
57744
+ @disks == other.disks &&
55152
57745
  @persist_memorystate == other.persist_memorystate &&
55153
57746
  @snapshot_status == other.snapshot_status &&
55154
57747
  @snapshot_type == other.snapshot_type &&
@@ -55161,6 +57754,7 @@ module OvirtSDK4
55161
57754
  def hash
55162
57755
  super +
55163
57756
  @date.hash +
57757
+ @disks.hash +
55164
57758
  @persist_memorystate.hash +
55165
57759
  @snapshot_status.hash +
55166
57760
  @snapshot_type.hash +
@@ -55188,6 +57782,27 @@ module OvirtSDK4
55188
57782
  UNKNOWN = 'unknown'.freeze
55189
57783
  end
55190
57784
 
57785
+ module AutoPinningPolicy
57786
+ ADJUST = 'adjust'.freeze
57787
+ DISABLED = 'disabled'.freeze
57788
+ EXISTING = 'existing'.freeze
57789
+ end
57790
+
57791
+ module BackupPhase
57792
+ FINALIZING = 'finalizing'.freeze
57793
+ INITIALIZING = 'initializing'.freeze
57794
+ READY = 'ready'.freeze
57795
+ STARTING = 'starting'.freeze
57796
+ end
57797
+
57798
+ module BiosType
57799
+ CLUSTER_DEFAULT = 'cluster_default'.freeze
57800
+ I440FX_SEA_BIOS = 'i440fx_sea_bios'.freeze
57801
+ Q35_OVMF = 'q35_ovmf'.freeze
57802
+ Q35_SEA_BIOS = 'q35_sea_bios'.freeze
57803
+ Q35_SECURE_BOOT = 'q35_secure_boot'.freeze
57804
+ end
57805
+
55191
57806
  module BootDevice
55192
57807
  CDROM = 'cdrom'.freeze
55193
57808
  HD = 'hd'.freeze
@@ -55198,9 +57813,20 @@ module OvirtSDK4
55198
57813
  AUTOCONF = 'autoconf'.freeze
55199
57814
  DHCP = 'dhcp'.freeze
55200
57815
  NONE = 'none'.freeze
57816
+ POLY_DHCP_AUTOCONF = 'poly_dhcp_autoconf'.freeze
55201
57817
  STATIC = 'static'.freeze
55202
57818
  end
55203
57819
 
57820
+ module CloudInitNetworkProtocol
57821
+ ENI = 'eni'.freeze
57822
+ OPENSTACK_METADATA = 'openstack_metadata'.freeze
57823
+ end
57824
+
57825
+ module ClusterUpgradeAction
57826
+ FINISH = 'finish'.freeze
57827
+ START = 'start'.freeze
57828
+ end
57829
+
55204
57830
  module ConfigurationType
55205
57831
  OVA = 'ova'.freeze
55206
57832
  OVF = 'ovf'.freeze
@@ -55228,8 +57854,22 @@ module OvirtSDK4
55228
57854
  UP = 'up'.freeze
55229
57855
  end
55230
57856
 
57857
+ module DiskBackup
57858
+ INCREMENTAL = 'incremental'.freeze
57859
+ NONE = 'none'.freeze
57860
+ end
57861
+
57862
+ module DiskBackupMode
57863
+ FULL = 'full'.freeze
57864
+ INCREMENTAL = 'incremental'.freeze
57865
+ end
57866
+
55231
57867
  module DiskContentType
55232
57868
  DATA = 'data'.freeze
57869
+ HOSTED_ENGINE = 'hosted_engine'.freeze
57870
+ HOSTED_ENGINE_CONFIGURATION = 'hosted_engine_configuration'.freeze
57871
+ HOSTED_ENGINE_METADATA = 'hosted_engine_metadata'.freeze
57872
+ HOSTED_ENGINE_SANLOCK = 'hosted_engine_sanlock'.freeze
55233
57873
  ISO = 'iso'.freeze
55234
57874
  MEMORY_DUMP_VOLUME = 'memory_dump_volume'.freeze
55235
57875
  MEMORY_METADATA_VOLUME = 'memory_metadata_volume'.freeze
@@ -55243,6 +57883,7 @@ module OvirtSDK4
55243
57883
 
55244
57884
  module DiskInterface
55245
57885
  IDE = 'ide'.freeze
57886
+ SATA = 'sata'.freeze
55246
57887
  SPAPR_VSCSI = 'spapr_vscsi'.freeze
55247
57888
  VIRTIO = 'virtio'.freeze
55248
57889
  VIRTIO_SCSI = 'virtio_scsi'.freeze
@@ -55258,6 +57899,7 @@ module OvirtSDK4
55258
57899
  CINDER = 'cinder'.freeze
55259
57900
  IMAGE = 'image'.freeze
55260
57901
  LUN = 'lun'.freeze
57902
+ MANAGED_BLOCK_STORAGE = 'managed_block_storage'.freeze
55261
57903
  end
55262
57904
 
55263
57905
  module DiskType
@@ -55305,6 +57947,12 @@ module OvirtSDK4
55305
57947
  STOP = 'stop'.freeze
55306
57948
  end
55307
57949
 
57950
+ module FipsMode
57951
+ DISABLED = 'disabled'.freeze
57952
+ ENABLED = 'enabled'.freeze
57953
+ UNDEFINED = 'undefined'.freeze
57954
+ end
57955
+
55308
57956
  module FirewallType
55309
57957
  FIREWALLD = 'firewalld'.freeze
55310
57958
  IPTABLES = 'iptables'.freeze
@@ -55410,8 +58058,12 @@ module OvirtSDK4
55410
58058
 
55411
58059
  module ImageTransferPhase
55412
58060
  CANCELLED = 'cancelled'.freeze
58061
+ CANCELLED_SYSTEM = 'cancelled_system'.freeze
58062
+ CANCELLED_USER = 'cancelled_user'.freeze
58063
+ FINALIZING_CLEANUP = 'finalizing_cleanup'.freeze
55413
58064
  FINALIZING_FAILURE = 'finalizing_failure'.freeze
55414
58065
  FINALIZING_SUCCESS = 'finalizing_success'.freeze
58066
+ FINISHED_CLEANUP = 'finished_cleanup'.freeze
55415
58067
  FINISHED_FAILURE = 'finished_failure'.freeze
55416
58068
  FINISHED_SUCCESS = 'finished_success'.freeze
55417
58069
  INITIALIZING = 'initializing'.freeze
@@ -55422,6 +58074,12 @@ module OvirtSDK4
55422
58074
  UNKNOWN = 'unknown'.freeze
55423
58075
  end
55424
58076
 
58077
+ module ImageTransferTimeoutPolicy
58078
+ CANCEL = 'cancel'.freeze
58079
+ LEGACY = 'legacy'.freeze
58080
+ PAUSE = 'pause'.freeze
58081
+ end
58082
+
55425
58083
  module InheritableBoolean
55426
58084
  FALSE = 'false'.freeze
55427
58085
  INHERIT = 'inherit'.freeze
@@ -55447,6 +58105,11 @@ module OvirtSDK4
55447
58105
  UNKNOWN = 'unknown'.freeze
55448
58106
  end
55449
58107
 
58108
+ module LogMaxMemoryUsedThresholdType
58109
+ ABSOLUTE_VALUE_IN_MB = 'absolute_value_in_mb'.freeze
58110
+ PERCENTAGE = 'percentage'.freeze
58111
+ end
58112
+
55450
58113
  module LogSeverity
55451
58114
  ALERT = 'alert'.freeze
55452
58115
  ERROR = 'error'.freeze
@@ -55499,6 +58162,7 @@ module OvirtSDK4
55499
58162
  AUTO = 'auto'.freeze
55500
58163
  V3 = 'v3'.freeze
55501
58164
  V4 = 'v4'.freeze
58165
+ V4_0 = 'v4_0'.freeze
55502
58166
  V4_1 = 'v4_1'.freeze
55503
58167
  V4_2 = 'v4_2'.freeze
55504
58168
  end
@@ -55517,6 +58181,169 @@ module OvirtSDK4
55517
58181
  UP = 'up'.freeze
55518
58182
  end
55519
58183
 
58184
+ module NotifiableEvent
58185
+ CLUSTER_ALERT_HA_RESERVATION = 'cluster_alert_ha_reservation'.freeze
58186
+ CLUSTER_ALERT_HA_RESERVATION_DOWN = 'cluster_alert_ha_reservation_down'.freeze
58187
+ DWH_ERROR = 'dwh_error'.freeze
58188
+ DWH_STOPPED = 'dwh_stopped'.freeze
58189
+ ENGINE_BACKUP_COMPLETED = 'engine_backup_completed'.freeze
58190
+ ENGINE_BACKUP_FAILED = 'engine_backup_failed'.freeze
58191
+ ENGINE_BACKUP_STARTED = 'engine_backup_started'.freeze
58192
+ ENGINE_CA_CERTIFICATION_HAS_EXPIRED = 'engine_ca_certification_has_expired'.freeze
58193
+ ENGINE_CA_CERTIFICATION_IS_ABOUT_TO_EXPIRE = 'engine_ca_certification_is_about_to_expire'.freeze
58194
+ ENGINE_CERTIFICATION_HAS_EXPIRED = 'engine_certification_has_expired'.freeze
58195
+ ENGINE_CERTIFICATION_IS_ABOUT_TO_EXPIRE = 'engine_certification_is_about_to_expire'.freeze
58196
+ ENGINE_STOP = 'engine_stop'.freeze
58197
+ GLUSTER_BRICK_STATUS_CHANGED = 'gluster_brick_status_changed'.freeze
58198
+ GLUSTER_HOOK_ADD_FAILED = 'gluster_hook_add_failed'.freeze
58199
+ GLUSTER_HOOK_ADDED = 'gluster_hook_added'.freeze
58200
+ GLUSTER_HOOK_CONFLICT_DETECTED = 'gluster_hook_conflict_detected'.freeze
58201
+ GLUSTER_HOOK_DETECTED_DELETE = 'gluster_hook_detected_delete'.freeze
58202
+ GLUSTER_HOOK_DETECTED_NEW = 'gluster_hook_detected_new'.freeze
58203
+ GLUSTER_HOOK_DISABLE = 'gluster_hook_disable'.freeze
58204
+ GLUSTER_HOOK_DISABLE_FAILED = 'gluster_hook_disable_failed'.freeze
58205
+ GLUSTER_HOOK_ENABLE = 'gluster_hook_enable'.freeze
58206
+ GLUSTER_HOOK_ENABLE_FAILED = 'gluster_hook_enable_failed'.freeze
58207
+ GLUSTER_HOOK_REMOVE_FAILED = 'gluster_hook_remove_failed'.freeze
58208
+ GLUSTER_HOOK_REMOVED = 'gluster_hook_removed'.freeze
58209
+ GLUSTER_SERVER_ADD_FAILED = 'gluster_server_add_failed'.freeze
58210
+ GLUSTER_SERVER_REMOVE = 'gluster_server_remove'.freeze
58211
+ GLUSTER_SERVER_REMOVE_FAILED = 'gluster_server_remove_failed'.freeze
58212
+ GLUSTER_SERVICE_RESTART_FAILED = 'gluster_service_restart_failed'.freeze
58213
+ GLUSTER_SERVICE_RESTARTED = 'gluster_service_restarted'.freeze
58214
+ GLUSTER_SERVICE_START_FAILED = 'gluster_service_start_failed'.freeze
58215
+ GLUSTER_SERVICE_STARTED = 'gluster_service_started'.freeze
58216
+ GLUSTER_SERVICE_STOP_FAILED = 'gluster_service_stop_failed'.freeze
58217
+ GLUSTER_SERVICE_STOPPED = 'gluster_service_stopped'.freeze
58218
+ GLUSTER_VOLUME_ADD_BRICK = 'gluster_volume_add_brick'.freeze
58219
+ GLUSTER_VOLUME_ADD_BRICK_FAILED = 'gluster_volume_add_brick_failed'.freeze
58220
+ GLUSTER_VOLUME_ALL_SNAPSHOTS_DELETE_FAILED = 'gluster_volume_all_snapshots_delete_failed'.freeze
58221
+ GLUSTER_VOLUME_ALL_SNAPSHOTS_DELETED = 'gluster_volume_all_snapshots_deleted'.freeze
58222
+ GLUSTER_VOLUME_BRICK_REPLACED = 'gluster_volume_brick_replaced'.freeze
58223
+ GLUSTER_VOLUME_CONFIRMED_SPACE_LOW = 'gluster_volume_confirmed_space_low'.freeze
58224
+ GLUSTER_VOLUME_CREATE = 'gluster_volume_create'.freeze
58225
+ GLUSTER_VOLUME_CREATE_FAILED = 'gluster_volume_create_failed'.freeze
58226
+ GLUSTER_VOLUME_DELETE = 'gluster_volume_delete'.freeze
58227
+ GLUSTER_VOLUME_DELETE_FAILED = 'gluster_volume_delete_failed'.freeze
58228
+ GLUSTER_VOLUME_MIGRATE_BRICK_DATA_FINISHED = 'gluster_volume_migrate_brick_data_finished'.freeze
58229
+ GLUSTER_VOLUME_OPTION_ADDED = 'gluster_volume_option_added'.freeze
58230
+ GLUSTER_VOLUME_OPTION_MODIFIED = 'gluster_volume_option_modified'.freeze
58231
+ GLUSTER_VOLUME_OPTION_SET_FAILED = 'gluster_volume_option_set_failed'.freeze
58232
+ GLUSTER_VOLUME_OPTIONS_RESET = 'gluster_volume_options_reset'.freeze
58233
+ GLUSTER_VOLUME_OPTIONS_RESET_ALL = 'gluster_volume_options_reset_all'.freeze
58234
+ GLUSTER_VOLUME_OPTIONS_RESET_FAILED = 'gluster_volume_options_reset_failed'.freeze
58235
+ GLUSTER_VOLUME_PROFILE_START = 'gluster_volume_profile_start'.freeze
58236
+ GLUSTER_VOLUME_PROFILE_START_FAILED = 'gluster_volume_profile_start_failed'.freeze
58237
+ GLUSTER_VOLUME_PROFILE_STOP = 'gluster_volume_profile_stop'.freeze
58238
+ GLUSTER_VOLUME_PROFILE_STOP_FAILED = 'gluster_volume_profile_stop_failed'.freeze
58239
+ GLUSTER_VOLUME_REBALANCE_FINISHED = 'gluster_volume_rebalance_finished'.freeze
58240
+ GLUSTER_VOLUME_REBALANCE_NOT_FOUND_FROM_CLI = 'gluster_volume_rebalance_not_found_from_cli'.freeze
58241
+ GLUSTER_VOLUME_REBALANCE_START = 'gluster_volume_rebalance_start'.freeze
58242
+ GLUSTER_VOLUME_REBALANCE_START_DETECTED_FROM_CLI = 'gluster_volume_rebalance_start_detected_from_cli'.freeze
58243
+ GLUSTER_VOLUME_REBALANCE_START_FAILED = 'gluster_volume_rebalance_start_failed'.freeze
58244
+ GLUSTER_VOLUME_REBALANCE_STOP = 'gluster_volume_rebalance_stop'.freeze
58245
+ GLUSTER_VOLUME_REBALANCE_STOP_FAILED = 'gluster_volume_rebalance_stop_failed'.freeze
58246
+ GLUSTER_VOLUME_REMOVE_BRICKS = 'gluster_volume_remove_bricks'.freeze
58247
+ GLUSTER_VOLUME_REMOVE_BRICKS_FAILED = 'gluster_volume_remove_bricks_failed'.freeze
58248
+ GLUSTER_VOLUME_REMOVE_BRICKS_STOP = 'gluster_volume_remove_bricks_stop'.freeze
58249
+ GLUSTER_VOLUME_REMOVE_BRICKS_STOP_FAILED = 'gluster_volume_remove_bricks_stop_failed'.freeze
58250
+ GLUSTER_VOLUME_REPLACE_BRICK_FAILED = 'gluster_volume_replace_brick_failed'.freeze
58251
+ GLUSTER_VOLUME_REPLACE_BRICK_START = 'gluster_volume_replace_brick_start'.freeze
58252
+ GLUSTER_VOLUME_REPLACE_BRICK_START_FAILED = 'gluster_volume_replace_brick_start_failed'.freeze
58253
+ GLUSTER_VOLUME_SNAPSHOT_ACTIVATE_FAILED = 'gluster_volume_snapshot_activate_failed'.freeze
58254
+ GLUSTER_VOLUME_SNAPSHOT_ACTIVATED = 'gluster_volume_snapshot_activated'.freeze
58255
+ GLUSTER_VOLUME_SNAPSHOT_CREATE_FAILED = 'gluster_volume_snapshot_create_failed'.freeze
58256
+ GLUSTER_VOLUME_SNAPSHOT_CREATED = 'gluster_volume_snapshot_created'.freeze
58257
+ GLUSTER_VOLUME_SNAPSHOT_DEACTIVATE_FAILED = 'gluster_volume_snapshot_deactivate_failed'.freeze
58258
+ GLUSTER_VOLUME_SNAPSHOT_DEACTIVATED = 'gluster_volume_snapshot_deactivated'.freeze
58259
+ GLUSTER_VOLUME_SNAPSHOT_DELETE_FAILED = 'gluster_volume_snapshot_delete_failed'.freeze
58260
+ GLUSTER_VOLUME_SNAPSHOT_DELETED = 'gluster_volume_snapshot_deleted'.freeze
58261
+ GLUSTER_VOLUME_SNAPSHOT_RESTORE_FAILED = 'gluster_volume_snapshot_restore_failed'.freeze
58262
+ GLUSTER_VOLUME_SNAPSHOT_RESTORED = 'gluster_volume_snapshot_restored'.freeze
58263
+ GLUSTER_VOLUME_START = 'gluster_volume_start'.freeze
58264
+ GLUSTER_VOLUME_START_FAILED = 'gluster_volume_start_failed'.freeze
58265
+ GLUSTER_VOLUME_STOP = 'gluster_volume_stop'.freeze
58266
+ GLUSTER_VOLUME_STOP_FAILED = 'gluster_volume_stop_failed'.freeze
58267
+ HA_VM_FAILED = 'ha_vm_failed'.freeze
58268
+ HA_VM_RESTART_FAILED = 'ha_vm_restart_failed'.freeze
58269
+ HOST_ACTIVATE_FAILED = 'host_activate_failed'.freeze
58270
+ HOST_ACTIVATE_MANUAL_HA = 'host_activate_manual_ha'.freeze
58271
+ HOST_APPROVE_FAILED = 'host_approve_failed'.freeze
58272
+ HOST_BOND_SLAVE_STATE_DOWN = 'host_bond_slave_state_down'.freeze
58273
+ HOST_CERTIFICATE_HAS_INVALID_SAN = 'host_certificate_has_invalid_san'.freeze
58274
+ HOST_CERTIFICATION_HAS_EXPIRED = 'host_certification_has_expired'.freeze
58275
+ HOST_CERTIFICATION_IS_ABOUT_TO_EXPIRE = 'host_certification_is_about_to_expire'.freeze
58276
+ HOST_FAILURE = 'host_failure'.freeze
58277
+ HOST_HIGH_CPU_USE = 'host_high_cpu_use'.freeze
58278
+ HOST_HIGH_MEM_USE = 'host_high_mem_use'.freeze
58279
+ HOST_HIGH_SWAP_USE = 'host_high_swap_use'.freeze
58280
+ HOST_INITIATED_RUN_VM_FAILED = 'host_initiated_run_vm_failed'.freeze
58281
+ HOST_INSTALL_FAILED = 'host_install_failed'.freeze
58282
+ HOST_INTERFACE_HIGH_NETWORK_USE = 'host_interface_high_network_use'.freeze
58283
+ HOST_INTERFACE_STATE_DOWN = 'host_interface_state_down'.freeze
58284
+ HOST_LOW_MEM = 'host_low_mem'.freeze
58285
+ HOST_LOW_SWAP = 'host_low_swap'.freeze
58286
+ HOST_RECOVER_FAILED = 'host_recover_failed'.freeze
58287
+ HOST_SET_NONOPERATIONAL = 'host_set_nonoperational'.freeze
58288
+ HOST_SET_NONOPERATIONAL_DOMAIN = 'host_set_nonoperational_domain'.freeze
58289
+ HOST_SET_NONOPERATIONAL_IFACE_DOWN = 'host_set_nonoperational_iface_down'.freeze
58290
+ HOST_SLOW_STORAGE_RESPONSE_TIME = 'host_slow_storage_response_time'.freeze
58291
+ HOST_TIME_DRIFT_ALERT = 'host_time_drift_alert'.freeze
58292
+ HOST_UNTRUSTED = 'host_untrusted'.freeze
58293
+ HOST_UPDATES_ARE_AVAILABLE = 'host_updates_are_available'.freeze
58294
+ HOST_UPDATES_ARE_AVAILABLE_WITH_PACKAGES = 'host_updates_are_available_with_packages'.freeze
58295
+ IMPORTEXPORT_IMPORT_TEMPLATE_FROM_TRUSTED_TO_UNTRUSTED = 'importexport_import_template_from_trusted_to_untrusted'.freeze
58296
+ IMPORTEXPORT_IMPORT_TEMPLATE_FROM_UNTRUSTED_TO_TRUSTED = 'importexport_import_template_from_untrusted_to_trusted'.freeze
58297
+ IMPORTEXPORT_IMPORT_VM_FROM_TRUSTED_TO_UNTRUSTED = 'importexport_import_vm_from_trusted_to_untrusted'.freeze
58298
+ IMPORTEXPORT_IMPORT_VM_FROM_UNTRUSTED_TO_TRUSTED = 'importexport_import_vm_from_untrusted_to_trusted'.freeze
58299
+ IRS_CONFIRMED_DISK_SPACE_LOW = 'irs_confirmed_disk_space_low'.freeze
58300
+ IRS_DISK_SPACE_LOW = 'irs_disk_space_low'.freeze
58301
+ IRS_DISK_SPACE_LOW_ERROR = 'irs_disk_space_low_error'.freeze
58302
+ IRS_FAILURE = 'irs_failure'.freeze
58303
+ MAC_ADDRESS_IS_EXTERNAL = 'mac_address_is_external'.freeze
58304
+ NETWORK_UPDATE_DISPLAY_FOR_CLUSTER_WITH_ACTIVE_VM = 'network_update_display_for_cluster_with_active_vm'.freeze
58305
+ NETWORK_UPDATE_DISPLAY_FOR_HOST_WITH_ACTIVE_VM = 'network_update_display_for_host_with_active_vm'.freeze
58306
+ NUMBER_OF_LVS_ON_STORAGE_DOMAIN_EXCEEDED_THRESHOLD = 'number_of_lvs_on_storage_domain_exceeded_threshold'.freeze
58307
+ REMOVE_GLUSTER_VOLUME_BRICKS_NOT_FOUND_FROM_CLI = 'remove_gluster_volume_bricks_not_found_from_cli'.freeze
58308
+ START_REMOVING_GLUSTER_VOLUME_BRICKS = 'start_removing_gluster_volume_bricks'.freeze
58309
+ START_REMOVING_GLUSTER_VOLUME_BRICKS_DETECTED_FROM_CLI = 'start_removing_gluster_volume_bricks_detected_from_cli'.freeze
58310
+ START_REMOVING_GLUSTER_VOLUME_BRICKS_FAILED = 'start_removing_gluster_volume_bricks_failed'.freeze
58311
+ SYSTEM_CHANGE_STORAGE_POOL_STATUS_NO_HOST_FOR_SPM = 'system_change_storage_pool_status_no_host_for_spm'.freeze
58312
+ SYSTEM_DEACTIVATED_STORAGE_DOMAIN = 'system_deactivated_storage_domain'.freeze
58313
+ USER_ADD_VM_FROM_TRUSTED_TO_UNTRUSTED = 'user_add_vm_from_trusted_to_untrusted'.freeze
58314
+ USER_ADD_VM_FROM_UNTRUSTED_TO_TRUSTED = 'user_add_vm_from_untrusted_to_trusted'.freeze
58315
+ USER_ADD_VM_TEMPLATE_FROM_TRUSTED_TO_UNTRUSTED = 'user_add_vm_template_from_trusted_to_untrusted'.freeze
58316
+ USER_ADD_VM_TEMPLATE_FROM_UNTRUSTED_TO_TRUSTED = 'user_add_vm_template_from_untrusted_to_trusted'.freeze
58317
+ USER_HOST_MAINTENANCE = 'user_host_maintenance'.freeze
58318
+ USER_HOST_MAINTENANCE_MANUAL_HA = 'user_host_maintenance_manual_ha'.freeze
58319
+ USER_HOST_MAINTENANCE_MIGRATION_FAILED = 'user_host_maintenance_migration_failed'.freeze
58320
+ USER_UPDATE_VM_FROM_TRUSTED_TO_UNTRUSTED = 'user_update_vm_from_trusted_to_untrusted'.freeze
58321
+ USER_UPDATE_VM_FROM_UNTRUSTED_TO_TRUSTED = 'user_update_vm_from_untrusted_to_trusted'.freeze
58322
+ USER_UPDATE_VM_TEMPLATE_FROM_TRUSTED_TO_UNTRUSTED = 'user_update_vm_template_from_trusted_to_untrusted'.freeze
58323
+ USER_UPDATE_VM_TEMPLATE_FROM_UNTRUSTED_TO_TRUSTED = 'user_update_vm_template_from_untrusted_to_trusted'.freeze
58324
+ VM_CONSOLE_CONNECTED = 'vm_console_connected'.freeze
58325
+ VM_CONSOLE_DISCONNECTED = 'vm_console_disconnected'.freeze
58326
+ VM_DOWN_ERROR = 'vm_down_error'.freeze
58327
+ VM_FAILURE = 'vm_failure'.freeze
58328
+ VM_MIGRATION_FAILED = 'vm_migration_failed'.freeze
58329
+ VM_MIGRATION_START = 'vm_migration_start'.freeze
58330
+ VM_MIGRATION_TO_SERVER_FAILED = 'vm_migration_to_server_failed'.freeze
58331
+ VM_NOT_RESPONDING = 'vm_not_responding'.freeze
58332
+ VM_PAUSED = 'vm_paused'.freeze
58333
+ VM_PAUSED_EIO = 'vm_paused_eio'.freeze
58334
+ VM_PAUSED_ENOSPC = 'vm_paused_enospc'.freeze
58335
+ VM_PAUSED_EPERM = 'vm_paused_eperm'.freeze
58336
+ VM_PAUSED_ERROR = 'vm_paused_error'.freeze
58337
+ VM_RECOVERED_FROM_PAUSE_ERROR = 'vm_recovered_from_pause_error'.freeze
58338
+ VM_SET_TICKET = 'vm_set_ticket'.freeze
58339
+ VM_STATUS_RESTORED = 'vm_status_restored'.freeze
58340
+ end
58341
+
58342
+ module NotificationMethod
58343
+ SMTP = 'smtp'.freeze
58344
+ SNMP = 'snmp'.freeze
58345
+ end
58346
+
55520
58347
  module NumaTuneMode
55521
58348
  INTERLEAVE = 'interleave'.freeze
55522
58349
  PREFERRED = 'preferred'.freeze
@@ -55619,6 +58446,7 @@ module OvirtSDK4
55619
58446
  end
55620
58447
 
55621
58448
  module ScsiGenericIO
58449
+ DISABLED = 'disabled'.freeze
55622
58450
  FILTERED = 'filtered'.freeze
55623
58451
  UNFILTERED = 'unfiltered'.freeze
55624
58452
  end
@@ -55632,6 +58460,7 @@ module OvirtSDK4
55632
58460
  module SerialNumberPolicy
55633
58461
  CUSTOM = 'custom'.freeze
55634
58462
  HOST = 'host'.freeze
58463
+ NONE = 'none'.freeze
55635
58464
  VM = 'vm'.freeze
55636
58465
  end
55637
58466
 
@@ -55713,6 +58542,7 @@ module OvirtSDK4
55713
58542
  EXPORT = 'export'.freeze
55714
58543
  IMAGE = 'image'.freeze
55715
58544
  ISO = 'iso'.freeze
58545
+ MANAGED_BLOCK_STORAGE = 'managed_block_storage'.freeze
55716
58546
  VOLUME = 'volume'.freeze
55717
58547
  end
55718
58548
 
@@ -55721,6 +58551,7 @@ module OvirtSDK4
55721
58551
  V2 = 'v2'.freeze
55722
58552
  V3 = 'v3'.freeze
55723
58553
  V4 = 'v4'.freeze
58554
+ V5 = 'v5'.freeze
55724
58555
  end
55725
58556
 
55726
58557
  module StorageType
@@ -55730,6 +58561,7 @@ module OvirtSDK4
55730
58561
  GLUSTERFS = 'glusterfs'.freeze
55731
58562
  ISCSI = 'iscsi'.freeze
55732
58563
  LOCALFS = 'localfs'.freeze
58564
+ MANAGED_BLOCK_STORAGE = 'managed_block_storage'.freeze
55733
58565
  NFS = 'nfs'.freeze
55734
58566
  POSIXFS = 'posixfs'.freeze
55735
58567
  end
@@ -55761,6 +58593,11 @@ module OvirtSDK4
55761
58593
  STRING = 'string'.freeze
55762
58594
  end
55763
58595
 
58596
+ module VgpuPlacement
58597
+ CONSOLIDATED = 'consolidated'.freeze
58598
+ SEPARATED = 'separated'.freeze
58599
+ end
58600
+
55764
58601
  module VmAffinity
55765
58602
  MIGRATABLE = 'migratable'.freeze
55766
58603
  PINNED = 'pinned'.freeze