ovirt-engine-sdk 4.2.5 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.adoc +37 -0
- data/lib/ovirtsdk4/readers.rb +194 -4
- data/lib/ovirtsdk4/services.rb +613 -63
- data/lib/ovirtsdk4/types.rb +717 -39
- data/lib/ovirtsdk4/version.rb +1 -1
- data/lib/ovirtsdk4/writers.rb +54 -2
- metadata +6 -6
data/lib/ovirtsdk4/types.rb
CHANGED
@@ -494,6 +494,9 @@ module OvirtSDK4
|
|
494
494
|
class AuthorizedKey < Identified
|
495
495
|
end
|
496
496
|
|
497
|
+
class Backup < Identified
|
498
|
+
end
|
499
|
+
|
497
500
|
class Balance < Identified
|
498
501
|
end
|
499
502
|
|
@@ -1373,6 +1376,24 @@ module OvirtSDK4
|
|
1373
1376
|
@boot_menu = value
|
1374
1377
|
end
|
1375
1378
|
|
1379
|
+
#
|
1380
|
+
# Returns the value of the `type` attribute.
|
1381
|
+
#
|
1382
|
+
# @return [BiosType]
|
1383
|
+
#
|
1384
|
+
def type
|
1385
|
+
@type
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
#
|
1389
|
+
# Sets the value of the `type` attribute.
|
1390
|
+
#
|
1391
|
+
# @param value [BiosType]
|
1392
|
+
#
|
1393
|
+
def type=(value)
|
1394
|
+
@type = value
|
1395
|
+
end
|
1396
|
+
|
1376
1397
|
#
|
1377
1398
|
# Creates a new instance of the {Bios} class.
|
1378
1399
|
#
|
@@ -1382,10 +1403,13 @@ module OvirtSDK4
|
|
1382
1403
|
#
|
1383
1404
|
# @option opts [BootMenu, Hash] :boot_menu The value of attribute `boot_menu`.
|
1384
1405
|
#
|
1406
|
+
# @option opts [BiosType] :type The value of attribute `type`.
|
1407
|
+
#
|
1385
1408
|
#
|
1386
1409
|
def initialize(opts = {})
|
1387
1410
|
super(opts)
|
1388
1411
|
self.boot_menu = opts[:boot_menu]
|
1412
|
+
self.type = opts[:type]
|
1389
1413
|
end
|
1390
1414
|
|
1391
1415
|
#
|
@@ -1393,7 +1417,8 @@ module OvirtSDK4
|
|
1393
1417
|
#
|
1394
1418
|
def ==(other)
|
1395
1419
|
super &&
|
1396
|
-
@boot_menu == other.boot_menu
|
1420
|
+
@boot_menu == other.boot_menu &&
|
1421
|
+
@type == other.type
|
1397
1422
|
end
|
1398
1423
|
|
1399
1424
|
#
|
@@ -1401,7 +1426,8 @@ module OvirtSDK4
|
|
1401
1426
|
#
|
1402
1427
|
def hash
|
1403
1428
|
super +
|
1404
|
-
@boot_menu.hash
|
1429
|
+
@boot_menu.hash +
|
1430
|
+
@type.hash
|
1405
1431
|
end
|
1406
1432
|
|
1407
1433
|
end
|
@@ -5401,6 +5427,31 @@ module OvirtSDK4
|
|
5401
5427
|
@active = value
|
5402
5428
|
end
|
5403
5429
|
|
5430
|
+
#
|
5431
|
+
# Returns the value of the `backup` attribute.
|
5432
|
+
#
|
5433
|
+
# @return [Backup]
|
5434
|
+
#
|
5435
|
+
def backup
|
5436
|
+
@backup
|
5437
|
+
end
|
5438
|
+
|
5439
|
+
#
|
5440
|
+
# Sets the value of the `backup` attribute.
|
5441
|
+
#
|
5442
|
+
# @param value [Backup, Hash]
|
5443
|
+
#
|
5444
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Backup} or a hash.
|
5445
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
5446
|
+
# `opts` parameter to the constructor.
|
5447
|
+
#
|
5448
|
+
def backup=(value)
|
5449
|
+
if value.is_a?(Hash)
|
5450
|
+
value = Backup.new(value)
|
5451
|
+
end
|
5452
|
+
@backup = value
|
5453
|
+
end
|
5454
|
+
|
5404
5455
|
#
|
5405
5456
|
# Returns the value of the `comment` attribute.
|
5406
5457
|
#
|
@@ -5480,6 +5531,24 @@ module OvirtSDK4
|
|
5480
5531
|
@disk = value
|
5481
5532
|
end
|
5482
5533
|
|
5534
|
+
#
|
5535
|
+
# Returns the value of the `format` attribute.
|
5536
|
+
#
|
5537
|
+
# @return [DiskFormat]
|
5538
|
+
#
|
5539
|
+
def format
|
5540
|
+
@format
|
5541
|
+
end
|
5542
|
+
|
5543
|
+
#
|
5544
|
+
# Sets the value of the `format` attribute.
|
5545
|
+
#
|
5546
|
+
# @param value [DiskFormat]
|
5547
|
+
#
|
5548
|
+
def format=(value)
|
5549
|
+
@format = value
|
5550
|
+
end
|
5551
|
+
|
5483
5552
|
#
|
5484
5553
|
# Returns the value of the `host` attribute.
|
5485
5554
|
#
|
@@ -5708,6 +5777,8 @@ module OvirtSDK4
|
|
5708
5777
|
#
|
5709
5778
|
# @option opts [Boolean] :active The value of attribute `active`.
|
5710
5779
|
#
|
5780
|
+
# @option opts [Backup, Hash] :backup The value of attribute `backup`.
|
5781
|
+
#
|
5711
5782
|
# @option opts [String] :comment The value of attribute `comment`.
|
5712
5783
|
#
|
5713
5784
|
# @option opts [String] :description The value of attribute `description`.
|
@@ -5716,6 +5787,8 @@ module OvirtSDK4
|
|
5716
5787
|
#
|
5717
5788
|
# @option opts [Disk, Hash] :disk The value of attribute `disk`.
|
5718
5789
|
#
|
5790
|
+
# @option opts [DiskFormat] :format The value of attribute `format`.
|
5791
|
+
#
|
5719
5792
|
# @option opts [Host, Hash] :host The value of attribute `host`.
|
5720
5793
|
#
|
5721
5794
|
# @option opts [String] :id The value of attribute `id`.
|
@@ -5742,8 +5815,10 @@ module OvirtSDK4
|
|
5742
5815
|
def initialize(opts = {})
|
5743
5816
|
super(opts)
|
5744
5817
|
self.active = opts[:active]
|
5818
|
+
self.backup = opts[:backup]
|
5745
5819
|
self.direction = opts[:direction]
|
5746
5820
|
self.disk = opts[:disk]
|
5821
|
+
self.format = opts[:format]
|
5747
5822
|
self.host = opts[:host]
|
5748
5823
|
self.image = opts[:image]
|
5749
5824
|
self.inactivity_timeout = opts[:inactivity_timeout]
|
@@ -5761,8 +5836,10 @@ module OvirtSDK4
|
|
5761
5836
|
def ==(other)
|
5762
5837
|
super &&
|
5763
5838
|
@active == other.active &&
|
5839
|
+
@backup == other.backup &&
|
5764
5840
|
@direction == other.direction &&
|
5765
5841
|
@disk == other.disk &&
|
5842
|
+
@format == other.format &&
|
5766
5843
|
@host == other.host &&
|
5767
5844
|
@image == other.image &&
|
5768
5845
|
@inactivity_timeout == other.inactivity_timeout &&
|
@@ -5780,8 +5857,10 @@ module OvirtSDK4
|
|
5780
5857
|
def hash
|
5781
5858
|
super +
|
5782
5859
|
@active.hash +
|
5860
|
+
@backup.hash +
|
5783
5861
|
@direction.hash +
|
5784
5862
|
@disk.hash +
|
5863
|
+
@format.hash +
|
5785
5864
|
@host.hash +
|
5786
5865
|
@image.hash +
|
5787
5866
|
@inactivity_timeout.hash +
|
@@ -5858,6 +5937,24 @@ module OvirtSDK4
|
|
5858
5937
|
@cloud_init = value
|
5859
5938
|
end
|
5860
5939
|
|
5940
|
+
#
|
5941
|
+
# Returns the value of the `cloud_init_network_protocol` attribute.
|
5942
|
+
#
|
5943
|
+
# @return [CloudInitNetworkProtocol]
|
5944
|
+
#
|
5945
|
+
def cloud_init_network_protocol
|
5946
|
+
@cloud_init_network_protocol
|
5947
|
+
end
|
5948
|
+
|
5949
|
+
#
|
5950
|
+
# Sets the value of the `cloud_init_network_protocol` attribute.
|
5951
|
+
#
|
5952
|
+
# @param value [CloudInitNetworkProtocol]
|
5953
|
+
#
|
5954
|
+
def cloud_init_network_protocol=(value)
|
5955
|
+
@cloud_init_network_protocol = value
|
5956
|
+
end
|
5957
|
+
|
5861
5958
|
#
|
5862
5959
|
# Returns the value of the `configuration` attribute.
|
5863
5960
|
#
|
@@ -6210,6 +6307,8 @@ module OvirtSDK4
|
|
6210
6307
|
#
|
6211
6308
|
# @option opts [CloudInit, Hash] :cloud_init The value of attribute `cloud_init`.
|
6212
6309
|
#
|
6310
|
+
# @option opts [CloudInitNetworkProtocol] :cloud_init_network_protocol The value of attribute `cloud_init_network_protocol`.
|
6311
|
+
#
|
6213
6312
|
# @option opts [Configuration, Hash] :configuration The value of attribute `configuration`.
|
6214
6313
|
#
|
6215
6314
|
# @option opts [String] :custom_script The value of attribute `custom_script`.
|
@@ -6252,6 +6351,7 @@ module OvirtSDK4
|
|
6252
6351
|
self.active_directory_ou = opts[:active_directory_ou]
|
6253
6352
|
self.authorized_ssh_keys = opts[:authorized_ssh_keys]
|
6254
6353
|
self.cloud_init = opts[:cloud_init]
|
6354
|
+
self.cloud_init_network_protocol = opts[:cloud_init_network_protocol]
|
6255
6355
|
self.configuration = opts[:configuration]
|
6256
6356
|
self.custom_script = opts[:custom_script]
|
6257
6357
|
self.dns_search = opts[:dns_search]
|
@@ -6280,6 +6380,7 @@ module OvirtSDK4
|
|
6280
6380
|
@active_directory_ou == other.active_directory_ou &&
|
6281
6381
|
@authorized_ssh_keys == other.authorized_ssh_keys &&
|
6282
6382
|
@cloud_init == other.cloud_init &&
|
6383
|
+
@cloud_init_network_protocol == other.cloud_init_network_protocol &&
|
6283
6384
|
@configuration == other.configuration &&
|
6284
6385
|
@custom_script == other.custom_script &&
|
6285
6386
|
@dns_search == other.dns_search &&
|
@@ -6308,6 +6409,7 @@ module OvirtSDK4
|
|
6308
6409
|
@active_directory_ou.hash +
|
6309
6410
|
@authorized_ssh_keys.hash +
|
6310
6411
|
@cloud_init.hash +
|
6412
|
+
@cloud_init_network_protocol.hash +
|
6311
6413
|
@configuration.hash +
|
6312
6414
|
@custom_script.hash +
|
6313
6415
|
@dns_search.hash +
|
@@ -21048,6 +21150,24 @@ module OvirtSDK4
|
|
21048
21150
|
@backup = value
|
21049
21151
|
end
|
21050
21152
|
|
21153
|
+
#
|
21154
|
+
# Returns the value of the `block_size` attribute.
|
21155
|
+
#
|
21156
|
+
# @return [Integer]
|
21157
|
+
#
|
21158
|
+
def block_size
|
21159
|
+
@block_size
|
21160
|
+
end
|
21161
|
+
|
21162
|
+
#
|
21163
|
+
# Sets the value of the `block_size` attribute.
|
21164
|
+
#
|
21165
|
+
# @param value [Integer]
|
21166
|
+
#
|
21167
|
+
def block_size=(value)
|
21168
|
+
@block_size = value
|
21169
|
+
end
|
21170
|
+
|
21051
21171
|
#
|
21052
21172
|
# Returns the value of the `comment` attribute.
|
21053
21173
|
#
|
@@ -21718,6 +21838,8 @@ module OvirtSDK4
|
|
21718
21838
|
#
|
21719
21839
|
# @option opts [Boolean] :backup The value of attribute `backup`.
|
21720
21840
|
#
|
21841
|
+
# @option opts [Integer] :block_size The value of attribute `block_size`.
|
21842
|
+
#
|
21721
21843
|
# @option opts [String] :comment The value of attribute `comment`.
|
21722
21844
|
#
|
21723
21845
|
# @option opts [Integer] :committed The value of attribute `committed`.
|
@@ -21785,6 +21907,7 @@ module OvirtSDK4
|
|
21785
21907
|
super(opts)
|
21786
21908
|
self.available = opts[:available]
|
21787
21909
|
self.backup = opts[:backup]
|
21910
|
+
self.block_size = opts[:block_size]
|
21788
21911
|
self.committed = opts[:committed]
|
21789
21912
|
self.critical_space_action_blocker = opts[:critical_space_action_blocker]
|
21790
21913
|
self.data_center = opts[:data_center]
|
@@ -21821,6 +21944,7 @@ module OvirtSDK4
|
|
21821
21944
|
super &&
|
21822
21945
|
@available == other.available &&
|
21823
21946
|
@backup == other.backup &&
|
21947
|
+
@block_size == other.block_size &&
|
21824
21948
|
@committed == other.committed &&
|
21825
21949
|
@critical_space_action_blocker == other.critical_space_action_blocker &&
|
21826
21950
|
@data_center == other.data_center &&
|
@@ -21857,6 +21981,7 @@ module OvirtSDK4
|
|
21857
21981
|
super +
|
21858
21982
|
@available.hash +
|
21859
21983
|
@backup.hash +
|
21984
|
+
@block_size.hash +
|
21860
21985
|
@committed.hash +
|
21861
21986
|
@critical_space_action_blocker.hash +
|
21862
21987
|
@data_center.hash +
|
@@ -27159,6 +27284,24 @@ module OvirtSDK4
|
|
27159
27284
|
|
27160
27285
|
class Action < Identified
|
27161
27286
|
|
27287
|
+
#
|
27288
|
+
# Returns the value of the `activate` attribute.
|
27289
|
+
#
|
27290
|
+
# @return [Boolean]
|
27291
|
+
#
|
27292
|
+
def activate
|
27293
|
+
@activate
|
27294
|
+
end
|
27295
|
+
|
27296
|
+
#
|
27297
|
+
# Sets the value of the `activate` attribute.
|
27298
|
+
#
|
27299
|
+
# @param value [Boolean]
|
27300
|
+
#
|
27301
|
+
def activate=(value)
|
27302
|
+
@activate = value
|
27303
|
+
end
|
27304
|
+
|
27162
27305
|
#
|
27163
27306
|
# Returns the value of the `allow_partial_import` attribute.
|
27164
27307
|
#
|
@@ -27412,6 +27555,24 @@ module OvirtSDK4
|
|
27412
27555
|
@comment = value
|
27413
27556
|
end
|
27414
27557
|
|
27558
|
+
#
|
27559
|
+
# Returns the value of the `commit_on_success` attribute.
|
27560
|
+
#
|
27561
|
+
# @return [Boolean]
|
27562
|
+
#
|
27563
|
+
def commit_on_success
|
27564
|
+
@commit_on_success
|
27565
|
+
end
|
27566
|
+
|
27567
|
+
#
|
27568
|
+
# Sets the value of the `commit_on_success` attribute.
|
27569
|
+
#
|
27570
|
+
# @param value [Boolean]
|
27571
|
+
#
|
27572
|
+
def commit_on_success=(value)
|
27573
|
+
@commit_on_success = value
|
27574
|
+
end
|
27575
|
+
|
27415
27576
|
#
|
27416
27577
|
# Returns the value of the `connection` attribute.
|
27417
27578
|
#
|
@@ -28968,6 +29129,8 @@ module OvirtSDK4
|
|
28968
29129
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
28969
29130
|
# should be the values of the attributes.
|
28970
29131
|
#
|
29132
|
+
# @option opts [Boolean] :activate The value of attribute `activate`.
|
29133
|
+
#
|
28971
29134
|
# @option opts [Boolean] :allow_partial_import The value of attribute `allow_partial_import`.
|
28972
29135
|
#
|
28973
29136
|
# @option opts [Boolean] :async The value of attribute `async`.
|
@@ -28992,6 +29155,8 @@ module OvirtSDK4
|
|
28992
29155
|
#
|
28993
29156
|
# @option opts [String] :comment The value of attribute `comment`.
|
28994
29157
|
#
|
29158
|
+
# @option opts [Boolean] :commit_on_success The value of attribute `commit_on_success`.
|
29159
|
+
#
|
28995
29160
|
# @option opts [StorageConnection, Hash] :connection The value of attribute `connection`.
|
28996
29161
|
#
|
28997
29162
|
# @option opts [Integer] :connectivity_timeout The value of attribute `connectivity_timeout`.
|
@@ -29137,6 +29302,7 @@ module OvirtSDK4
|
|
29137
29302
|
#
|
29138
29303
|
def initialize(opts = {})
|
29139
29304
|
super(opts)
|
29305
|
+
self.activate = opts[:activate]
|
29140
29306
|
self.allow_partial_import = opts[:allow_partial_import]
|
29141
29307
|
self.async = opts[:async]
|
29142
29308
|
self.attachment = opts[:attachment]
|
@@ -29148,6 +29314,7 @@ module OvirtSDK4
|
|
29148
29314
|
self.clone_permissions = opts[:clone_permissions]
|
29149
29315
|
self.cluster = opts[:cluster]
|
29150
29316
|
self.collapse_snapshots = opts[:collapse_snapshots]
|
29317
|
+
self.commit_on_success = opts[:commit_on_success]
|
29151
29318
|
self.connection = opts[:connection]
|
29152
29319
|
self.connectivity_timeout = opts[:connectivity_timeout]
|
29153
29320
|
self.data_center = opts[:data_center]
|
@@ -29223,6 +29390,7 @@ module OvirtSDK4
|
|
29223
29390
|
#
|
29224
29391
|
def ==(other)
|
29225
29392
|
super &&
|
29393
|
+
@activate == other.activate &&
|
29226
29394
|
@allow_partial_import == other.allow_partial_import &&
|
29227
29395
|
@async == other.async &&
|
29228
29396
|
@attachment == other.attachment &&
|
@@ -29234,6 +29402,7 @@ module OvirtSDK4
|
|
29234
29402
|
@clone_permissions == other.clone_permissions &&
|
29235
29403
|
@cluster == other.cluster &&
|
29236
29404
|
@collapse_snapshots == other.collapse_snapshots &&
|
29405
|
+
@commit_on_success == other.commit_on_success &&
|
29237
29406
|
@connection == other.connection &&
|
29238
29407
|
@connectivity_timeout == other.connectivity_timeout &&
|
29239
29408
|
@data_center == other.data_center &&
|
@@ -29309,6 +29478,7 @@ module OvirtSDK4
|
|
29309
29478
|
#
|
29310
29479
|
def hash
|
29311
29480
|
super +
|
29481
|
+
@activate.hash +
|
29312
29482
|
@allow_partial_import.hash +
|
29313
29483
|
@async.hash +
|
29314
29484
|
@attachment.hash +
|
@@ -29320,6 +29490,7 @@ module OvirtSDK4
|
|
29320
29490
|
@clone_permissions.hash +
|
29321
29491
|
@cluster.hash +
|
29322
29492
|
@collapse_snapshots.hash +
|
29493
|
+
@commit_on_success.hash +
|
29323
29494
|
@connection.hash +
|
29324
29495
|
@connectivity_timeout.hash +
|
29325
29496
|
@data_center.hash +
|
@@ -30553,7 +30724,7 @@ module OvirtSDK4
|
|
30553
30724
|
|
30554
30725
|
end
|
30555
30726
|
|
30556
|
-
class
|
30727
|
+
class Backup < Identified
|
30557
30728
|
|
30558
30729
|
#
|
30559
30730
|
# Returns the value of the `comment` attribute.
|
@@ -30573,6 +30744,24 @@ module OvirtSDK4
|
|
30573
30744
|
@comment = value
|
30574
30745
|
end
|
30575
30746
|
|
30747
|
+
#
|
30748
|
+
# Returns the value of the `creation_date` attribute.
|
30749
|
+
#
|
30750
|
+
# @return [DateTime]
|
30751
|
+
#
|
30752
|
+
def creation_date
|
30753
|
+
@creation_date
|
30754
|
+
end
|
30755
|
+
|
30756
|
+
#
|
30757
|
+
# Sets the value of the `creation_date` attribute.
|
30758
|
+
#
|
30759
|
+
# @param value [DateTime]
|
30760
|
+
#
|
30761
|
+
def creation_date=(value)
|
30762
|
+
@creation_date = value
|
30763
|
+
end
|
30764
|
+
|
30576
30765
|
#
|
30577
30766
|
# Returns the value of the `description` attribute.
|
30578
30767
|
#
|
@@ -30591,6 +30780,50 @@ module OvirtSDK4
|
|
30591
30780
|
@description = value
|
30592
30781
|
end
|
30593
30782
|
|
30783
|
+
#
|
30784
|
+
# Returns the value of the `disks` attribute.
|
30785
|
+
#
|
30786
|
+
# @return [Array<Disk>]
|
30787
|
+
#
|
30788
|
+
def disks
|
30789
|
+
@disks
|
30790
|
+
end
|
30791
|
+
|
30792
|
+
#
|
30793
|
+
# Sets the value of the `disks` attribute.
|
30794
|
+
#
|
30795
|
+
# @param list [Array<Disk>]
|
30796
|
+
#
|
30797
|
+
def disks=(list)
|
30798
|
+
if list.class == Array
|
30799
|
+
list = List.new(list)
|
30800
|
+
list.each_with_index do |value, index|
|
30801
|
+
if value.is_a?(Hash)
|
30802
|
+
list[index] = Disk.new(value)
|
30803
|
+
end
|
30804
|
+
end
|
30805
|
+
end
|
30806
|
+
@disks = list
|
30807
|
+
end
|
30808
|
+
|
30809
|
+
#
|
30810
|
+
# Returns the value of the `from_checkpoint_id` attribute.
|
30811
|
+
#
|
30812
|
+
# @return [String]
|
30813
|
+
#
|
30814
|
+
def from_checkpoint_id
|
30815
|
+
@from_checkpoint_id
|
30816
|
+
end
|
30817
|
+
|
30818
|
+
#
|
30819
|
+
# Sets the value of the `from_checkpoint_id` attribute.
|
30820
|
+
#
|
30821
|
+
# @param value [String]
|
30822
|
+
#
|
30823
|
+
def from_checkpoint_id=(value)
|
30824
|
+
@from_checkpoint_id = value
|
30825
|
+
end
|
30826
|
+
|
30594
30827
|
#
|
30595
30828
|
# Returns the value of the `id` attribute.
|
30596
30829
|
#
|
@@ -30628,57 +30861,68 @@ module OvirtSDK4
|
|
30628
30861
|
end
|
30629
30862
|
|
30630
30863
|
#
|
30631
|
-
# Returns the value of the `
|
30864
|
+
# Returns the value of the `phase` attribute.
|
30632
30865
|
#
|
30633
|
-
# @return [
|
30866
|
+
# @return [BackupPhase]
|
30634
30867
|
#
|
30635
|
-
def
|
30636
|
-
@
|
30868
|
+
def phase
|
30869
|
+
@phase
|
30637
30870
|
end
|
30638
30871
|
|
30639
30872
|
#
|
30640
|
-
# Sets the value of the `
|
30873
|
+
# Sets the value of the `phase` attribute.
|
30641
30874
|
#
|
30642
|
-
# @param value [
|
30875
|
+
# @param value [BackupPhase]
|
30643
30876
|
#
|
30644
|
-
|
30645
|
-
|
30646
|
-
|
30877
|
+
def phase=(value)
|
30878
|
+
@phase = value
|
30879
|
+
end
|
30880
|
+
|
30647
30881
|
#
|
30648
|
-
|
30649
|
-
|
30650
|
-
|
30651
|
-
|
30652
|
-
|
30882
|
+
# Returns the value of the `to_checkpoint_id` attribute.
|
30883
|
+
#
|
30884
|
+
# @return [String]
|
30885
|
+
#
|
30886
|
+
def to_checkpoint_id
|
30887
|
+
@to_checkpoint_id
|
30653
30888
|
end
|
30654
30889
|
|
30655
30890
|
#
|
30656
|
-
#
|
30891
|
+
# Sets the value of the `to_checkpoint_id` attribute.
|
30657
30892
|
#
|
30658
|
-
# @
|
30893
|
+
# @param value [String]
|
30659
30894
|
#
|
30660
|
-
def
|
30661
|
-
@
|
30895
|
+
def to_checkpoint_id=(value)
|
30896
|
+
@to_checkpoint_id = value
|
30662
30897
|
end
|
30663
30898
|
|
30664
30899
|
#
|
30665
|
-
#
|
30900
|
+
# Returns the value of the `vm` attribute.
|
30666
30901
|
#
|
30667
|
-
# @
|
30902
|
+
# @return [Vm]
|
30668
30903
|
#
|
30669
|
-
|
30904
|
+
def vm
|
30905
|
+
@vm
|
30906
|
+
end
|
30907
|
+
|
30908
|
+
#
|
30909
|
+
# Sets the value of the `vm` attribute.
|
30910
|
+
#
|
30911
|
+
# @param value [Vm, Hash]
|
30912
|
+
#
|
30913
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Vm} or a hash.
|
30670
30914
|
# If it is a hash then a new instance will be created passing the hash as the
|
30671
30915
|
# `opts` parameter to the constructor.
|
30672
30916
|
#
|
30673
|
-
def
|
30917
|
+
def vm=(value)
|
30674
30918
|
if value.is_a?(Hash)
|
30675
|
-
value =
|
30919
|
+
value = Vm.new(value)
|
30676
30920
|
end
|
30677
|
-
@
|
30921
|
+
@vm = value
|
30678
30922
|
end
|
30679
30923
|
|
30680
30924
|
#
|
30681
|
-
# Creates a new instance of the {
|
30925
|
+
# Creates a new instance of the {Backup} class.
|
30682
30926
|
#
|
30683
30927
|
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
30684
30928
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
@@ -30686,21 +30930,33 @@ module OvirtSDK4
|
|
30686
30930
|
#
|
30687
30931
|
# @option opts [String] :comment The value of attribute `comment`.
|
30688
30932
|
#
|
30933
|
+
# @option opts [DateTime] :creation_date The value of attribute `creation_date`.
|
30934
|
+
#
|
30689
30935
|
# @option opts [String] :description The value of attribute `description`.
|
30690
30936
|
#
|
30937
|
+
# @option opts [Array<Disk>, Array<Hash>] :disks The values of attribute `disks`.
|
30938
|
+
#
|
30939
|
+
# @option opts [String] :from_checkpoint_id The value of attribute `from_checkpoint_id`.
|
30940
|
+
#
|
30691
30941
|
# @option opts [String] :id The value of attribute `id`.
|
30692
30942
|
#
|
30693
30943
|
# @option opts [String] :name The value of attribute `name`.
|
30694
30944
|
#
|
30695
|
-
# @option opts [
|
30945
|
+
# @option opts [BackupPhase] :phase The value of attribute `phase`.
|
30696
30946
|
#
|
30697
|
-
# @option opts [
|
30947
|
+
# @option opts [String] :to_checkpoint_id The value of attribute `to_checkpoint_id`.
|
30948
|
+
#
|
30949
|
+
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
30698
30950
|
#
|
30699
30951
|
#
|
30700
30952
|
def initialize(opts = {})
|
30701
30953
|
super(opts)
|
30702
|
-
self.
|
30703
|
-
self.
|
30954
|
+
self.creation_date = opts[:creation_date]
|
30955
|
+
self.disks = opts[:disks]
|
30956
|
+
self.from_checkpoint_id = opts[:from_checkpoint_id]
|
30957
|
+
self.phase = opts[:phase]
|
30958
|
+
self.to_checkpoint_id = opts[:to_checkpoint_id]
|
30959
|
+
self.vm = opts[:vm]
|
30704
30960
|
end
|
30705
30961
|
|
30706
30962
|
#
|
@@ -30708,8 +30964,12 @@ module OvirtSDK4
|
|
30708
30964
|
#
|
30709
30965
|
def ==(other)
|
30710
30966
|
super &&
|
30711
|
-
@
|
30712
|
-
@
|
30967
|
+
@creation_date == other.creation_date &&
|
30968
|
+
@disks == other.disks &&
|
30969
|
+
@from_checkpoint_id == other.from_checkpoint_id &&
|
30970
|
+
@phase == other.phase &&
|
30971
|
+
@to_checkpoint_id == other.to_checkpoint_id &&
|
30972
|
+
@vm == other.vm
|
30713
30973
|
end
|
30714
30974
|
|
30715
30975
|
#
|
@@ -30717,13 +30977,187 @@ module OvirtSDK4
|
|
30717
30977
|
#
|
30718
30978
|
def hash
|
30719
30979
|
super +
|
30720
|
-
@
|
30721
|
-
@
|
30980
|
+
@creation_date.hash +
|
30981
|
+
@disks.hash +
|
30982
|
+
@from_checkpoint_id.hash +
|
30983
|
+
@phase.hash +
|
30984
|
+
@to_checkpoint_id.hash +
|
30985
|
+
@vm.hash
|
30722
30986
|
end
|
30723
30987
|
|
30724
30988
|
end
|
30725
30989
|
|
30726
|
-
class
|
30990
|
+
class Balance < Identified
|
30991
|
+
|
30992
|
+
#
|
30993
|
+
# Returns the value of the `comment` attribute.
|
30994
|
+
#
|
30995
|
+
# @return [String]
|
30996
|
+
#
|
30997
|
+
def comment
|
30998
|
+
@comment
|
30999
|
+
end
|
31000
|
+
|
31001
|
+
#
|
31002
|
+
# Sets the value of the `comment` attribute.
|
31003
|
+
#
|
31004
|
+
# @param value [String]
|
31005
|
+
#
|
31006
|
+
def comment=(value)
|
31007
|
+
@comment = value
|
31008
|
+
end
|
31009
|
+
|
31010
|
+
#
|
31011
|
+
# Returns the value of the `description` attribute.
|
31012
|
+
#
|
31013
|
+
# @return [String]
|
31014
|
+
#
|
31015
|
+
def description
|
31016
|
+
@description
|
31017
|
+
end
|
31018
|
+
|
31019
|
+
#
|
31020
|
+
# Sets the value of the `description` attribute.
|
31021
|
+
#
|
31022
|
+
# @param value [String]
|
31023
|
+
#
|
31024
|
+
def description=(value)
|
31025
|
+
@description = value
|
31026
|
+
end
|
31027
|
+
|
31028
|
+
#
|
31029
|
+
# Returns the value of the `id` attribute.
|
31030
|
+
#
|
31031
|
+
# @return [String]
|
31032
|
+
#
|
31033
|
+
def id
|
31034
|
+
@id
|
31035
|
+
end
|
31036
|
+
|
31037
|
+
#
|
31038
|
+
# Sets the value of the `id` attribute.
|
31039
|
+
#
|
31040
|
+
# @param value [String]
|
31041
|
+
#
|
31042
|
+
def id=(value)
|
31043
|
+
@id = value
|
31044
|
+
end
|
31045
|
+
|
31046
|
+
#
|
31047
|
+
# Returns the value of the `name` attribute.
|
31048
|
+
#
|
31049
|
+
# @return [String]
|
31050
|
+
#
|
31051
|
+
def name
|
31052
|
+
@name
|
31053
|
+
end
|
31054
|
+
|
31055
|
+
#
|
31056
|
+
# Sets the value of the `name` attribute.
|
31057
|
+
#
|
31058
|
+
# @param value [String]
|
31059
|
+
#
|
31060
|
+
def name=(value)
|
31061
|
+
@name = value
|
31062
|
+
end
|
31063
|
+
|
31064
|
+
#
|
31065
|
+
# Returns the value of the `scheduling_policy` attribute.
|
31066
|
+
#
|
31067
|
+
# @return [SchedulingPolicy]
|
31068
|
+
#
|
31069
|
+
def scheduling_policy
|
31070
|
+
@scheduling_policy
|
31071
|
+
end
|
31072
|
+
|
31073
|
+
#
|
31074
|
+
# Sets the value of the `scheduling_policy` attribute.
|
31075
|
+
#
|
31076
|
+
# @param value [SchedulingPolicy, Hash]
|
31077
|
+
#
|
31078
|
+
# The `value` parameter can be an instance of {OvirtSDK4::SchedulingPolicy} or a hash.
|
31079
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
31080
|
+
# `opts` parameter to the constructor.
|
31081
|
+
#
|
31082
|
+
def scheduling_policy=(value)
|
31083
|
+
if value.is_a?(Hash)
|
31084
|
+
value = SchedulingPolicy.new(value)
|
31085
|
+
end
|
31086
|
+
@scheduling_policy = value
|
31087
|
+
end
|
31088
|
+
|
31089
|
+
#
|
31090
|
+
# Returns the value of the `scheduling_policy_unit` attribute.
|
31091
|
+
#
|
31092
|
+
# @return [SchedulingPolicyUnit]
|
31093
|
+
#
|
31094
|
+
def scheduling_policy_unit
|
31095
|
+
@scheduling_policy_unit
|
31096
|
+
end
|
31097
|
+
|
31098
|
+
#
|
31099
|
+
# Sets the value of the `scheduling_policy_unit` attribute.
|
31100
|
+
#
|
31101
|
+
# @param value [SchedulingPolicyUnit, Hash]
|
31102
|
+
#
|
31103
|
+
# The `value` parameter can be an instance of {OvirtSDK4::SchedulingPolicyUnit} or a hash.
|
31104
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
31105
|
+
# `opts` parameter to the constructor.
|
31106
|
+
#
|
31107
|
+
def scheduling_policy_unit=(value)
|
31108
|
+
if value.is_a?(Hash)
|
31109
|
+
value = SchedulingPolicyUnit.new(value)
|
31110
|
+
end
|
31111
|
+
@scheduling_policy_unit = value
|
31112
|
+
end
|
31113
|
+
|
31114
|
+
#
|
31115
|
+
# Creates a new instance of the {Balance} class.
|
31116
|
+
#
|
31117
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
31118
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
31119
|
+
# should be the values of the attributes.
|
31120
|
+
#
|
31121
|
+
# @option opts [String] :comment The value of attribute `comment`.
|
31122
|
+
#
|
31123
|
+
# @option opts [String] :description The value of attribute `description`.
|
31124
|
+
#
|
31125
|
+
# @option opts [String] :id The value of attribute `id`.
|
31126
|
+
#
|
31127
|
+
# @option opts [String] :name The value of attribute `name`.
|
31128
|
+
#
|
31129
|
+
# @option opts [SchedulingPolicy, Hash] :scheduling_policy The value of attribute `scheduling_policy`.
|
31130
|
+
#
|
31131
|
+
# @option opts [SchedulingPolicyUnit, Hash] :scheduling_policy_unit The value of attribute `scheduling_policy_unit`.
|
31132
|
+
#
|
31133
|
+
#
|
31134
|
+
def initialize(opts = {})
|
31135
|
+
super(opts)
|
31136
|
+
self.scheduling_policy = opts[:scheduling_policy]
|
31137
|
+
self.scheduling_policy_unit = opts[:scheduling_policy_unit]
|
31138
|
+
end
|
31139
|
+
|
31140
|
+
#
|
31141
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
31142
|
+
#
|
31143
|
+
def ==(other)
|
31144
|
+
super &&
|
31145
|
+
@scheduling_policy == other.scheduling_policy &&
|
31146
|
+
@scheduling_policy_unit == other.scheduling_policy_unit
|
31147
|
+
end
|
31148
|
+
|
31149
|
+
#
|
31150
|
+
# Generates a hash value for this object.
|
31151
|
+
#
|
31152
|
+
def hash
|
31153
|
+
super +
|
31154
|
+
@scheduling_policy.hash +
|
31155
|
+
@scheduling_policy_unit.hash
|
31156
|
+
end
|
31157
|
+
|
31158
|
+
end
|
31159
|
+
|
31160
|
+
class Bookmark < Identified
|
30727
31161
|
|
30728
31162
|
#
|
30729
31163
|
# Returns the value of the `comment` attribute.
|
@@ -31601,6 +32035,42 @@ module OvirtSDK4
|
|
31601
32035
|
@ksm = value
|
31602
32036
|
end
|
31603
32037
|
|
32038
|
+
#
|
32039
|
+
# Returns the value of the `log_max_memory_used_threshold` attribute.
|
32040
|
+
#
|
32041
|
+
# @return [Integer]
|
32042
|
+
#
|
32043
|
+
def log_max_memory_used_threshold
|
32044
|
+
@log_max_memory_used_threshold
|
32045
|
+
end
|
32046
|
+
|
32047
|
+
#
|
32048
|
+
# Sets the value of the `log_max_memory_used_threshold` attribute.
|
32049
|
+
#
|
32050
|
+
# @param value [Integer]
|
32051
|
+
#
|
32052
|
+
def log_max_memory_used_threshold=(value)
|
32053
|
+
@log_max_memory_used_threshold = value
|
32054
|
+
end
|
32055
|
+
|
32056
|
+
#
|
32057
|
+
# Returns the value of the `log_max_memory_used_threshold_type` attribute.
|
32058
|
+
#
|
32059
|
+
# @return [LogMaxMemoryUsedThresholdType]
|
32060
|
+
#
|
32061
|
+
def log_max_memory_used_threshold_type
|
32062
|
+
@log_max_memory_used_threshold_type
|
32063
|
+
end
|
32064
|
+
|
32065
|
+
#
|
32066
|
+
# Sets the value of the `log_max_memory_used_threshold_type` attribute.
|
32067
|
+
#
|
32068
|
+
# @param value [LogMaxMemoryUsedThresholdType]
|
32069
|
+
#
|
32070
|
+
def log_max_memory_used_threshold_type=(value)
|
32071
|
+
@log_max_memory_used_threshold_type = value
|
32072
|
+
end
|
32073
|
+
|
31604
32074
|
#
|
31605
32075
|
# Returns the value of the `mac_pool` attribute.
|
31606
32076
|
#
|
@@ -32091,6 +32561,10 @@ module OvirtSDK4
|
|
32091
32561
|
#
|
32092
32562
|
# @option opts [Ksm, Hash] :ksm The value of attribute `ksm`.
|
32093
32563
|
#
|
32564
|
+
# @option opts [Integer] :log_max_memory_used_threshold The value of attribute `log_max_memory_used_threshold`.
|
32565
|
+
#
|
32566
|
+
# @option opts [LogMaxMemoryUsedThresholdType] :log_max_memory_used_threshold_type The value of attribute `log_max_memory_used_threshold_type`.
|
32567
|
+
#
|
32094
32568
|
# @option opts [MacPool, Hash] :mac_pool The value of attribute `mac_pool`.
|
32095
32569
|
#
|
32096
32570
|
# @option opts [Boolean] :maintenance_reason_required The value of attribute `maintenance_reason_required`.
|
@@ -32152,6 +32626,8 @@ module OvirtSDK4
|
|
32152
32626
|
self.gluster_volumes = opts[:gluster_volumes]
|
32153
32627
|
self.ha_reservation = opts[:ha_reservation]
|
32154
32628
|
self.ksm = opts[:ksm]
|
32629
|
+
self.log_max_memory_used_threshold = opts[:log_max_memory_used_threshold]
|
32630
|
+
self.log_max_memory_used_threshold_type = opts[:log_max_memory_used_threshold_type]
|
32155
32631
|
self.mac_pool = opts[:mac_pool]
|
32156
32632
|
self.maintenance_reason_required = opts[:maintenance_reason_required]
|
32157
32633
|
self.management_network = opts[:management_network]
|
@@ -32196,6 +32672,8 @@ module OvirtSDK4
|
|
32196
32672
|
@gluster_volumes == other.gluster_volumes &&
|
32197
32673
|
@ha_reservation == other.ha_reservation &&
|
32198
32674
|
@ksm == other.ksm &&
|
32675
|
+
@log_max_memory_used_threshold == other.log_max_memory_used_threshold &&
|
32676
|
+
@log_max_memory_used_threshold_type == other.log_max_memory_used_threshold_type &&
|
32199
32677
|
@mac_pool == other.mac_pool &&
|
32200
32678
|
@maintenance_reason_required == other.maintenance_reason_required &&
|
32201
32679
|
@management_network == other.management_network &&
|
@@ -32240,6 +32718,8 @@ module OvirtSDK4
|
|
32240
32718
|
@gluster_volumes.hash +
|
32241
32719
|
@ha_reservation.hash +
|
32242
32720
|
@ksm.hash +
|
32721
|
+
@log_max_memory_used_threshold.hash +
|
32722
|
+
@log_max_memory_used_threshold_type.hash +
|
32243
32723
|
@mac_pool.hash +
|
32244
32724
|
@maintenance_reason_required.hash +
|
32245
32725
|
@management_network.hash +
|
@@ -33604,6 +34084,24 @@ module OvirtSDK4
|
|
33604
34084
|
@alias_ = value
|
33605
34085
|
end
|
33606
34086
|
|
34087
|
+
#
|
34088
|
+
# Returns the value of the `backup` attribute.
|
34089
|
+
#
|
34090
|
+
# @return [DiskBackup]
|
34091
|
+
#
|
34092
|
+
def backup
|
34093
|
+
@backup
|
34094
|
+
end
|
34095
|
+
|
34096
|
+
#
|
34097
|
+
# Sets the value of the `backup` attribute.
|
34098
|
+
#
|
34099
|
+
# @param value [DiskBackup]
|
34100
|
+
#
|
34101
|
+
def backup=(value)
|
34102
|
+
@backup = value
|
34103
|
+
end
|
34104
|
+
|
33607
34105
|
#
|
33608
34106
|
# Returns the value of the `bootable` attribute.
|
33609
34107
|
#
|
@@ -34360,6 +34858,8 @@ module OvirtSDK4
|
|
34360
34858
|
#
|
34361
34859
|
# @option opts [String] :alias_ The value of attribute `alias_`.
|
34362
34860
|
#
|
34861
|
+
# @option opts [DiskBackup] :backup The value of attribute `backup`.
|
34862
|
+
#
|
34363
34863
|
# @option opts [Boolean] :bootable The value of attribute `bootable`.
|
34364
34864
|
#
|
34365
34865
|
# @option opts [String] :comment The value of attribute `comment`.
|
@@ -34438,6 +34938,7 @@ module OvirtSDK4
|
|
34438
34938
|
self.active = opts[:active]
|
34439
34939
|
self.actual_size = opts[:actual_size]
|
34440
34940
|
self.alias_ = opts[:alias_]
|
34941
|
+
self.backup = opts[:backup]
|
34441
34942
|
self.bootable = opts[:bootable]
|
34442
34943
|
self.content_type = opts[:content_type]
|
34443
34944
|
self.disk_profile = opts[:disk_profile]
|
@@ -34476,6 +34977,7 @@ module OvirtSDK4
|
|
34476
34977
|
@active == other.active &&
|
34477
34978
|
@actual_size == other.actual_size &&
|
34478
34979
|
@alias_ == other.alias_ &&
|
34980
|
+
@backup == other.backup &&
|
34479
34981
|
@bootable == other.bootable &&
|
34480
34982
|
@content_type == other.content_type &&
|
34481
34983
|
@disk_profile == other.disk_profile &&
|
@@ -34514,6 +35016,7 @@ module OvirtSDK4
|
|
34514
35016
|
@active.hash +
|
34515
35017
|
@actual_size.hash +
|
34516
35018
|
@alias_.hash +
|
35019
|
+
@backup.hash +
|
34517
35020
|
@bootable.hash +
|
34518
35021
|
@content_type.hash +
|
34519
35022
|
@disk_profile.hash +
|
@@ -35164,6 +35667,24 @@ module OvirtSDK4
|
|
35164
35667
|
@alias_ = value
|
35165
35668
|
end
|
35166
35669
|
|
35670
|
+
#
|
35671
|
+
# Returns the value of the `backup` attribute.
|
35672
|
+
#
|
35673
|
+
# @return [DiskBackup]
|
35674
|
+
#
|
35675
|
+
def backup
|
35676
|
+
@backup
|
35677
|
+
end
|
35678
|
+
|
35679
|
+
#
|
35680
|
+
# Sets the value of the `backup` attribute.
|
35681
|
+
#
|
35682
|
+
# @param value [DiskBackup]
|
35683
|
+
#
|
35684
|
+
def backup=(value)
|
35685
|
+
@backup = value
|
35686
|
+
end
|
35687
|
+
|
35167
35688
|
#
|
35168
35689
|
# Returns the value of the `bootable` attribute.
|
35169
35690
|
#
|
@@ -35945,6 +36466,8 @@ module OvirtSDK4
|
|
35945
36466
|
#
|
35946
36467
|
# @option opts [String] :alias_ The value of attribute `alias_`.
|
35947
36468
|
#
|
36469
|
+
# @option opts [DiskBackup] :backup The value of attribute `backup`.
|
36470
|
+
#
|
35948
36471
|
# @option opts [Boolean] :bootable The value of attribute `bootable`.
|
35949
36472
|
#
|
35950
36473
|
# @option opts [String] :comment The value of attribute `comment`.
|
@@ -42436,6 +42959,24 @@ module OvirtSDK4
|
|
42436
42959
|
@version = value
|
42437
42960
|
end
|
42438
42961
|
|
42962
|
+
#
|
42963
|
+
# Returns the value of the `vgpu_placement` attribute.
|
42964
|
+
#
|
42965
|
+
# @return [VgpuPlacement]
|
42966
|
+
#
|
42967
|
+
def vgpu_placement
|
42968
|
+
@vgpu_placement
|
42969
|
+
end
|
42970
|
+
|
42971
|
+
#
|
42972
|
+
# Sets the value of the `vgpu_placement` attribute.
|
42973
|
+
#
|
42974
|
+
# @param value [VgpuPlacement]
|
42975
|
+
#
|
42976
|
+
def vgpu_placement=(value)
|
42977
|
+
@vgpu_placement = value
|
42978
|
+
end
|
42979
|
+
|
42439
42980
|
#
|
42440
42981
|
# Creates a new instance of the {Host} class.
|
42441
42982
|
#
|
@@ -42551,6 +43092,8 @@ module OvirtSDK4
|
|
42551
43092
|
#
|
42552
43093
|
# @option opts [Version, Hash] :version The value of attribute `version`.
|
42553
43094
|
#
|
43095
|
+
# @option opts [VgpuPlacement] :vgpu_placement The value of attribute `vgpu_placement`.
|
43096
|
+
#
|
42554
43097
|
#
|
42555
43098
|
def initialize(opts = {})
|
42556
43099
|
super(opts)
|
@@ -42604,6 +43147,7 @@ module OvirtSDK4
|
|
42604
43147
|
self.unmanaged_networks = opts[:unmanaged_networks]
|
42605
43148
|
self.update_available = opts[:update_available]
|
42606
43149
|
self.version = opts[:version]
|
43150
|
+
self.vgpu_placement = opts[:vgpu_placement]
|
42607
43151
|
end
|
42608
43152
|
|
42609
43153
|
#
|
@@ -42660,7 +43204,8 @@ module OvirtSDK4
|
|
42660
43204
|
@type == other.type &&
|
42661
43205
|
@unmanaged_networks == other.unmanaged_networks &&
|
42662
43206
|
@update_available == other.update_available &&
|
42663
|
-
@version == other.version
|
43207
|
+
@version == other.version &&
|
43208
|
+
@vgpu_placement == other.vgpu_placement
|
42664
43209
|
end
|
42665
43210
|
|
42666
43211
|
#
|
@@ -42717,7 +43262,8 @@ module OvirtSDK4
|
|
42717
43262
|
@type.hash +
|
42718
43263
|
@unmanaged_networks.hash +
|
42719
43264
|
@update_available.hash +
|
42720
|
-
@version.hash
|
43265
|
+
@version.hash +
|
43266
|
+
@vgpu_placement.hash
|
42721
43267
|
end
|
42722
43268
|
|
42723
43269
|
end
|
@@ -43939,6 +44485,58 @@ module OvirtSDK4
|
|
43939
44485
|
@description = value
|
43940
44486
|
end
|
43941
44487
|
|
44488
|
+
#
|
44489
|
+
# Returns the value of the `driver_options` attribute.
|
44490
|
+
#
|
44491
|
+
# @return [Array<Property>]
|
44492
|
+
#
|
44493
|
+
def driver_options
|
44494
|
+
@driver_options
|
44495
|
+
end
|
44496
|
+
|
44497
|
+
#
|
44498
|
+
# Sets the value of the `driver_options` attribute.
|
44499
|
+
#
|
44500
|
+
# @param list [Array<Property>]
|
44501
|
+
#
|
44502
|
+
def driver_options=(list)
|
44503
|
+
if list.class == Array
|
44504
|
+
list = List.new(list)
|
44505
|
+
list.each_with_index do |value, index|
|
44506
|
+
if value.is_a?(Hash)
|
44507
|
+
list[index] = Property.new(value)
|
44508
|
+
end
|
44509
|
+
end
|
44510
|
+
end
|
44511
|
+
@driver_options = list
|
44512
|
+
end
|
44513
|
+
|
44514
|
+
#
|
44515
|
+
# Returns the value of the `driver_sensitive_options` attribute.
|
44516
|
+
#
|
44517
|
+
# @return [Array<Property>]
|
44518
|
+
#
|
44519
|
+
def driver_sensitive_options
|
44520
|
+
@driver_sensitive_options
|
44521
|
+
end
|
44522
|
+
|
44523
|
+
#
|
44524
|
+
# Sets the value of the `driver_sensitive_options` attribute.
|
44525
|
+
#
|
44526
|
+
# @param list [Array<Property>]
|
44527
|
+
#
|
44528
|
+
def driver_sensitive_options=(list)
|
44529
|
+
if list.class == Array
|
44530
|
+
list = List.new(list)
|
44531
|
+
list.each_with_index do |value, index|
|
44532
|
+
if value.is_a?(Hash)
|
44533
|
+
list[index] = Property.new(value)
|
44534
|
+
end
|
44535
|
+
end
|
44536
|
+
end
|
44537
|
+
@driver_sensitive_options = list
|
44538
|
+
end
|
44539
|
+
|
43942
44540
|
#
|
43943
44541
|
# Returns the value of the `host` attribute.
|
43944
44542
|
#
|
@@ -44298,6 +44896,10 @@ module OvirtSDK4
|
|
44298
44896
|
#
|
44299
44897
|
# @option opts [String] :description The value of attribute `description`.
|
44300
44898
|
#
|
44899
|
+
# @option opts [Array<Property>, Array<Hash>] :driver_options The values of attribute `driver_options`.
|
44900
|
+
#
|
44901
|
+
# @option opts [Array<Property>, Array<Hash>] :driver_sensitive_options The values of attribute `driver_sensitive_options`.
|
44902
|
+
#
|
44301
44903
|
# @option opts [Host, Hash] :host The value of attribute `host`.
|
44302
44904
|
#
|
44303
44905
|
# @option opts [String] :id The value of attribute `id`.
|
@@ -44338,6 +44940,8 @@ module OvirtSDK4
|
|
44338
44940
|
def initialize(opts = {})
|
44339
44941
|
super(opts)
|
44340
44942
|
self.address = opts[:address]
|
44943
|
+
self.driver_options = opts[:driver_options]
|
44944
|
+
self.driver_sensitive_options = opts[:driver_sensitive_options]
|
44341
44945
|
self.host = opts[:host]
|
44342
44946
|
self.logical_units = opts[:logical_units]
|
44343
44947
|
self.mount_options = opts[:mount_options]
|
@@ -44362,6 +44966,8 @@ module OvirtSDK4
|
|
44362
44966
|
def ==(other)
|
44363
44967
|
super &&
|
44364
44968
|
@address == other.address &&
|
44969
|
+
@driver_options == other.driver_options &&
|
44970
|
+
@driver_sensitive_options == other.driver_sensitive_options &&
|
44365
44971
|
@host == other.host &&
|
44366
44972
|
@logical_units == other.logical_units &&
|
44367
44973
|
@mount_options == other.mount_options &&
|
@@ -44386,6 +44992,8 @@ module OvirtSDK4
|
|
44386
44992
|
def hash
|
44387
44993
|
super +
|
44388
44994
|
@address.hash +
|
44995
|
+
@driver_options.hash +
|
44996
|
+
@driver_sensitive_options.hash +
|
44389
44997
|
@host.hash +
|
44390
44998
|
@logical_units.hash +
|
44391
44999
|
@mount_options.hash +
|
@@ -53618,6 +54226,32 @@ module OvirtSDK4
|
|
53618
54226
|
@disk_attachments = list
|
53619
54227
|
end
|
53620
54228
|
|
54229
|
+
#
|
54230
|
+
# Returns the value of the `disks` attribute.
|
54231
|
+
#
|
54232
|
+
# @return [Array<Disk>]
|
54233
|
+
#
|
54234
|
+
def disks
|
54235
|
+
@disks
|
54236
|
+
end
|
54237
|
+
|
54238
|
+
#
|
54239
|
+
# Sets the value of the `disks` attribute.
|
54240
|
+
#
|
54241
|
+
# @param list [Array<Disk>]
|
54242
|
+
#
|
54243
|
+
def disks=(list)
|
54244
|
+
if list.class == Array
|
54245
|
+
list = List.new(list)
|
54246
|
+
list.each_with_index do |value, index|
|
54247
|
+
if value.is_a?(Hash)
|
54248
|
+
list[index] = Disk.new(value)
|
54249
|
+
end
|
54250
|
+
end
|
54251
|
+
end
|
54252
|
+
@disks = list
|
54253
|
+
end
|
54254
|
+
|
53621
54255
|
#
|
53622
54256
|
# Returns the value of the `display` attribute.
|
53623
54257
|
#
|
@@ -55220,6 +55854,8 @@ module OvirtSDK4
|
|
55220
55854
|
#
|
55221
55855
|
# @option opts [Array<DiskAttachment>, Array<Hash>] :disk_attachments The values of attribute `disk_attachments`.
|
55222
55856
|
#
|
55857
|
+
# @option opts [Array<Disk>, Array<Hash>] :disks The values of attribute `disks`.
|
55858
|
+
#
|
55223
55859
|
# @option opts [Display, Hash] :display The value of attribute `display`.
|
55224
55860
|
#
|
55225
55861
|
# @option opts [Domain, Hash] :domain The value of attribute `domain`.
|
@@ -55362,6 +55998,7 @@ module OvirtSDK4
|
|
55362
55998
|
def initialize(opts = {})
|
55363
55999
|
super(opts)
|
55364
56000
|
self.date = opts[:date]
|
56001
|
+
self.disks = opts[:disks]
|
55365
56002
|
self.persist_memorystate = opts[:persist_memorystate]
|
55366
56003
|
self.snapshot_status = opts[:snapshot_status]
|
55367
56004
|
self.snapshot_type = opts[:snapshot_type]
|
@@ -55374,6 +56011,7 @@ module OvirtSDK4
|
|
55374
56011
|
def ==(other)
|
55375
56012
|
super &&
|
55376
56013
|
@date == other.date &&
|
56014
|
+
@disks == other.disks &&
|
55377
56015
|
@persist_memorystate == other.persist_memorystate &&
|
55378
56016
|
@snapshot_status == other.snapshot_status &&
|
55379
56017
|
@snapshot_type == other.snapshot_type &&
|
@@ -55386,6 +56024,7 @@ module OvirtSDK4
|
|
55386
56024
|
def hash
|
55387
56025
|
super +
|
55388
56026
|
@date.hash +
|
56027
|
+
@disks.hash +
|
55389
56028
|
@persist_memorystate.hash +
|
55390
56029
|
@snapshot_status.hash +
|
55391
56030
|
@snapshot_type.hash +
|
@@ -55413,6 +56052,20 @@ module OvirtSDK4
|
|
55413
56052
|
UNKNOWN = 'unknown'.freeze
|
55414
56053
|
end
|
55415
56054
|
|
56055
|
+
module BackupPhase
|
56056
|
+
FINALIZING = 'finalizing'.freeze
|
56057
|
+
INITIALIZING = 'initializing'.freeze
|
56058
|
+
READY = 'ready'.freeze
|
56059
|
+
STARTING = 'starting'.freeze
|
56060
|
+
end
|
56061
|
+
|
56062
|
+
module BiosType
|
56063
|
+
I440FX_SEA_BIOS = 'i440fx_sea_bios'.freeze
|
56064
|
+
Q35_OVMF = 'q35_ovmf'.freeze
|
56065
|
+
Q35_SEA_BIOS = 'q35_sea_bios'.freeze
|
56066
|
+
Q35_SECURE_BOOT = 'q35_secure_boot'.freeze
|
56067
|
+
end
|
56068
|
+
|
55416
56069
|
module BootDevice
|
55417
56070
|
CDROM = 'cdrom'.freeze
|
55418
56071
|
HD = 'hd'.freeze
|
@@ -55427,6 +56080,11 @@ module OvirtSDK4
|
|
55427
56080
|
STATIC = 'static'.freeze
|
55428
56081
|
end
|
55429
56082
|
|
56083
|
+
module CloudInitNetworkProtocol
|
56084
|
+
ENI = 'eni'.freeze
|
56085
|
+
OPENSTACK_METADATA = 'openstack_metadata'.freeze
|
56086
|
+
end
|
56087
|
+
|
55430
56088
|
module ConfigurationType
|
55431
56089
|
OVA = 'ova'.freeze
|
55432
56090
|
OVF = 'ovf'.freeze
|
@@ -55454,6 +56112,11 @@ module OvirtSDK4
|
|
55454
56112
|
UP = 'up'.freeze
|
55455
56113
|
end
|
55456
56114
|
|
56115
|
+
module DiskBackup
|
56116
|
+
INCREMENTAL = 'incremental'.freeze
|
56117
|
+
NONE = 'none'.freeze
|
56118
|
+
end
|
56119
|
+
|
55457
56120
|
module DiskContentType
|
55458
56121
|
DATA = 'data'.freeze
|
55459
56122
|
ISO = 'iso'.freeze
|
@@ -55469,6 +56132,7 @@ module OvirtSDK4
|
|
55469
56132
|
|
55470
56133
|
module DiskInterface
|
55471
56134
|
IDE = 'ide'.freeze
|
56135
|
+
SATA = 'sata'.freeze
|
55472
56136
|
SPAPR_VSCSI = 'spapr_vscsi'.freeze
|
55473
56137
|
VIRTIO = 'virtio'.freeze
|
55474
56138
|
VIRTIO_SCSI = 'virtio_scsi'.freeze
|
@@ -55484,6 +56148,7 @@ module OvirtSDK4
|
|
55484
56148
|
CINDER = 'cinder'.freeze
|
55485
56149
|
IMAGE = 'image'.freeze
|
55486
56150
|
LUN = 'lun'.freeze
|
56151
|
+
MANAGED_BLOCK_STORAGE = 'managed_block_storage'.freeze
|
55487
56152
|
end
|
55488
56153
|
|
55489
56154
|
module DiskType
|
@@ -55673,6 +56338,11 @@ module OvirtSDK4
|
|
55673
56338
|
UNKNOWN = 'unknown'.freeze
|
55674
56339
|
end
|
55675
56340
|
|
56341
|
+
module LogMaxMemoryUsedThresholdType
|
56342
|
+
ABSOLUTE_VALUE_IN_MB = 'absolute_value_in_mb'.freeze
|
56343
|
+
PERCENTAGE = 'percentage'.freeze
|
56344
|
+
end
|
56345
|
+
|
55676
56346
|
module LogSeverity
|
55677
56347
|
ALERT = 'alert'.freeze
|
55678
56348
|
ERROR = 'error'.freeze
|
@@ -55939,6 +56609,7 @@ module OvirtSDK4
|
|
55939
56609
|
EXPORT = 'export'.freeze
|
55940
56610
|
IMAGE = 'image'.freeze
|
55941
56611
|
ISO = 'iso'.freeze
|
56612
|
+
MANAGED_BLOCK_STORAGE = 'managed_block_storage'.freeze
|
55942
56613
|
VOLUME = 'volume'.freeze
|
55943
56614
|
end
|
55944
56615
|
|
@@ -55947,6 +56618,7 @@ module OvirtSDK4
|
|
55947
56618
|
V2 = 'v2'.freeze
|
55948
56619
|
V3 = 'v3'.freeze
|
55949
56620
|
V4 = 'v4'.freeze
|
56621
|
+
V5 = 'v5'.freeze
|
55950
56622
|
end
|
55951
56623
|
|
55952
56624
|
module StorageType
|
@@ -55956,6 +56628,7 @@ module OvirtSDK4
|
|
55956
56628
|
GLUSTERFS = 'glusterfs'.freeze
|
55957
56629
|
ISCSI = 'iscsi'.freeze
|
55958
56630
|
LOCALFS = 'localfs'.freeze
|
56631
|
+
MANAGED_BLOCK_STORAGE = 'managed_block_storage'.freeze
|
55959
56632
|
NFS = 'nfs'.freeze
|
55960
56633
|
POSIXFS = 'posixfs'.freeze
|
55961
56634
|
end
|
@@ -55987,6 +56660,11 @@ module OvirtSDK4
|
|
55987
56660
|
STRING = 'string'.freeze
|
55988
56661
|
end
|
55989
56662
|
|
56663
|
+
module VgpuPlacement
|
56664
|
+
CONSOLIDATED = 'consolidated'.freeze
|
56665
|
+
SEPARATED = 'separated'.freeze
|
56666
|
+
end
|
56667
|
+
|
55990
56668
|
module VmAffinity
|
55991
56669
|
MIGRATABLE = 'migratable'.freeze
|
55992
56670
|
PINNED = 'pinned'.freeze
|