comet_backup_ruby_sdk 2.42.0 → 2.44.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/CHANGELOG.md +19 -0
- data/Gemfile.lock +1 -1
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/comet_server.rb +259 -9
- data/lib/comet/definitions.rb +21 -2
- data/lib/comet/models/backup_job_advanced_options.rb +10 -0
- data/lib/comet/models/backup_job_detail.rb +12 -12
- data/lib/comet/models/backup_rule_config.rb +10 -0
- data/lib/comet/models/branding_options.rb +30 -0
- data/lib/comet/models/branding_properties.rb +30 -0
- data/lib/comet/models/destination_config.rb +11 -0
- data/lib/comet/models/{pverestore_selection.rb → dispatch_with_job_idresponse.rb} +24 -24
- data/lib/comet/models/get_shared_storage_quota_response.rb +110 -0
- data/lib/comet/models/list_shared_storage_quota_response.rb +98 -0
- data/lib/comet/models/private_branding_properties.rb +30 -0
- data/lib/comet/models/protected_item_with_backup_rules_response.rb +119 -0
- data/lib/comet/models/pvebackup_disk.rb +6 -0
- data/lib/comet/models/pvebackup_node.rb +5 -0
- data/lib/comet/models/pvebackup_vm.rb +6 -0
- data/lib/comet/models/pvedisk.rb +4 -3
- data/lib/comet/models/pveparams.rb +13 -11
- data/lib/comet/models/pvestorage_name.rb +16 -0
- data/lib/comet/models/pvevm.rb +2 -0
- data/lib/comet/models/{block_info.rb → set_shared_storage_quota_response.rb} +24 -14
- data/lib/comet/models/shared_storage_quota.rb +94 -0
- data/lib/comet/models/source_config.rb +7 -0
- data/lib/comet/models/user_profile_config.rb +8 -0
- data/lib/comet/models/vault_snapshot.rb +19 -0
- data/lib/comet/models/windows_code_sign_properties.rb +30 -0
- data/lib/comet_backup_ruby_sdk.rb +6 -5
- metadata +8 -4
data/lib/comet/models/pvedisk.rb
CHANGED
|
@@ -24,7 +24,8 @@ module Comet
|
|
|
24
24
|
# @type [String] volume
|
|
25
25
|
attr_accessor :volume
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# Bytes
|
|
28
|
+
# @type [Number] size
|
|
28
29
|
attr_accessor :size
|
|
29
30
|
|
|
30
31
|
# @type [String] format
|
|
@@ -45,7 +46,7 @@ module Comet
|
|
|
45
46
|
@device_num = 0
|
|
46
47
|
@storage_id = ''
|
|
47
48
|
@volume = ''
|
|
48
|
-
@size =
|
|
49
|
+
@size = 0
|
|
49
50
|
@format = ''
|
|
50
51
|
@options = ''
|
|
51
52
|
@unknown_json_fields = {}
|
|
@@ -81,7 +82,7 @@ module Comet
|
|
|
81
82
|
|
|
82
83
|
@volume = v
|
|
83
84
|
when 'Size'
|
|
84
|
-
raise TypeError, "'v' expected
|
|
85
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
85
86
|
|
|
86
87
|
@size = v
|
|
87
88
|
when 'Format'
|
|
@@ -10,6 +10,9 @@ require 'json'
|
|
|
10
10
|
module Comet
|
|
11
11
|
|
|
12
12
|
# PVEParams is a typed class wrapper around the underlying Comet Server API data structure.
|
|
13
|
+
# This type is used in the EngineProps for an "engine1/proxmox" Protected Item. It represents the
|
|
14
|
+
# entire Protected Item configuration. It is expected to be user-configurable.
|
|
15
|
+
# This type is available in Comet 25.8.0 and later.
|
|
13
16
|
class PVEParams
|
|
14
17
|
|
|
15
18
|
# @type [Boolean] everything
|
|
@@ -18,18 +21,20 @@ module Comet
|
|
|
18
21
|
# @type [Array<Comet::PVEBackupNode>] exclusions
|
|
19
22
|
attr_accessor :exclusions
|
|
20
23
|
|
|
24
|
+
# One of the PVE_BACKUP_METHOD constants
|
|
21
25
|
# @type [String] method
|
|
22
26
|
attr_accessor :method
|
|
23
27
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :quota
|
|
26
|
-
|
|
28
|
+
# Primary node URL + SSH credentials
|
|
27
29
|
# @type [Comet::SSHConnection] sshconnection
|
|
28
30
|
attr_accessor :sshconnection
|
|
29
31
|
|
|
30
32
|
# @type [Array<Comet::PVEBackupNode>] selections
|
|
31
33
|
attr_accessor :selections
|
|
32
34
|
|
|
35
|
+
# @type [Boolean] use_cbt
|
|
36
|
+
attr_accessor :use_cbt
|
|
37
|
+
|
|
33
38
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
|
34
39
|
attr_accessor :unknown_json_fields
|
|
35
40
|
|
|
@@ -40,7 +45,6 @@ module Comet
|
|
|
40
45
|
def clear
|
|
41
46
|
@exclusions = []
|
|
42
47
|
@method = ''
|
|
43
|
-
@quota = 0
|
|
44
48
|
@sshconnection = Comet::SSHConnection.new
|
|
45
49
|
@selections = []
|
|
46
50
|
@unknown_json_fields = {}
|
|
@@ -75,10 +79,6 @@ module Comet
|
|
|
75
79
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
76
80
|
|
|
77
81
|
@method = v
|
|
78
|
-
when 'Quota'
|
|
79
|
-
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
80
|
-
|
|
81
|
-
@quota = v
|
|
82
82
|
when 'SSHConnection'
|
|
83
83
|
@sshconnection = Comet::SSHConnection.new
|
|
84
84
|
@sshconnection.from_hash(v)
|
|
@@ -92,6 +92,8 @@ module Comet
|
|
|
92
92
|
@selections[i1].from_hash(v1)
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
|
+
when 'UseCBT'
|
|
96
|
+
@use_cbt = v
|
|
95
97
|
else
|
|
96
98
|
@unknown_json_fields[k] = v
|
|
97
99
|
end
|
|
@@ -110,15 +112,15 @@ module Comet
|
|
|
110
112
|
unless @method.nil?
|
|
111
113
|
ret['Method'] = @method
|
|
112
114
|
end
|
|
113
|
-
unless @quota.nil?
|
|
114
|
-
ret['Quota'] = @quota
|
|
115
|
-
end
|
|
116
115
|
unless @sshconnection.nil?
|
|
117
116
|
ret['SSHConnection'] = @sshconnection
|
|
118
117
|
end
|
|
119
118
|
unless @selections.nil?
|
|
120
119
|
ret['Selections'] = @selections
|
|
121
120
|
end
|
|
121
|
+
unless @use_cbt.nil?
|
|
122
|
+
ret['UseCBT'] = @use_cbt
|
|
123
|
+
end
|
|
122
124
|
@unknown_json_fields.each do |k, v|
|
|
123
125
|
ret[k] = v
|
|
124
126
|
end
|
|
@@ -19,6 +19,9 @@ module Comet
|
|
|
19
19
|
# @type [String] type
|
|
20
20
|
attr_accessor :type
|
|
21
21
|
|
|
22
|
+
# @type [Array<String>] content
|
|
23
|
+
attr_accessor :content
|
|
24
|
+
|
|
22
25
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
|
23
26
|
attr_accessor :unknown_json_fields
|
|
24
27
|
|
|
@@ -29,6 +32,7 @@ module Comet
|
|
|
29
32
|
def clear
|
|
30
33
|
@name = ''
|
|
31
34
|
@type = ''
|
|
35
|
+
@content = []
|
|
32
36
|
@unknown_json_fields = {}
|
|
33
37
|
end
|
|
34
38
|
|
|
@@ -53,6 +57,17 @@ module Comet
|
|
|
53
57
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
54
58
|
|
|
55
59
|
@type = v
|
|
60
|
+
when 'Content'
|
|
61
|
+
if v.nil?
|
|
62
|
+
@content = []
|
|
63
|
+
else
|
|
64
|
+
@content = Array.new(v.length)
|
|
65
|
+
v.each_with_index do |v1, i1|
|
|
66
|
+
raise TypeError, "'v1' expected String, got #{v1.class}" unless v1.is_a? String
|
|
67
|
+
|
|
68
|
+
@content[i1] = v1
|
|
69
|
+
end
|
|
70
|
+
end
|
|
56
71
|
else
|
|
57
72
|
@unknown_json_fields[k] = v
|
|
58
73
|
end
|
|
@@ -64,6 +79,7 @@ module Comet
|
|
|
64
79
|
ret = {}
|
|
65
80
|
ret['Name'] = @name
|
|
66
81
|
ret['Type'] = @type
|
|
82
|
+
ret['Content'] = @content
|
|
67
83
|
@unknown_json_fields.each do |k, v|
|
|
68
84
|
ret[k] = v
|
|
69
85
|
end
|
data/lib/comet/models/pvevm.rb
CHANGED
|
@@ -10,6 +10,7 @@ require 'json'
|
|
|
10
10
|
module Comet
|
|
11
11
|
|
|
12
12
|
# PVEVM is a typed class wrapper around the underlying Comet Server API data structure.
|
|
13
|
+
# PVEVM describes a single Proxmox virtual machine or container.
|
|
13
14
|
class PVEVM
|
|
14
15
|
|
|
15
16
|
# @type [String] cpu
|
|
@@ -36,6 +37,7 @@ module Comet
|
|
|
36
37
|
# @type [String] type
|
|
37
38
|
attr_accessor :type
|
|
38
39
|
|
|
40
|
+
# String type, but always contains an integer value
|
|
39
41
|
# @type [String] vmid
|
|
40
42
|
attr_accessor :vmid
|
|
41
43
|
|
|
@@ -9,14 +9,18 @@ require 'json'
|
|
|
9
9
|
|
|
10
10
|
module Comet
|
|
11
11
|
|
|
12
|
-
#
|
|
13
|
-
class
|
|
12
|
+
# SetSharedStorageQuotaResponse is a typed class wrapper around the underlying Comet Server API data structure.
|
|
13
|
+
class SetSharedStorageQuotaResponse
|
|
14
14
|
|
|
15
|
-
#
|
|
16
|
-
|
|
15
|
+
# If the operation was successful, the status will be in the 200-299 range.
|
|
16
|
+
# @type [Number] status
|
|
17
|
+
attr_accessor :status
|
|
17
18
|
|
|
18
|
-
# @type [String]
|
|
19
|
-
attr_accessor :
|
|
19
|
+
# @type [String] message
|
|
20
|
+
attr_accessor :message
|
|
21
|
+
|
|
22
|
+
# @type [String] shared_storage_quota_hash
|
|
23
|
+
attr_accessor :shared_storage_quota_hash
|
|
20
24
|
|
|
21
25
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
|
22
26
|
attr_accessor :unknown_json_fields
|
|
@@ -26,8 +30,9 @@ module Comet
|
|
|
26
30
|
end
|
|
27
31
|
|
|
28
32
|
def clear
|
|
29
|
-
@
|
|
30
|
-
@
|
|
33
|
+
@status = 0
|
|
34
|
+
@message = ''
|
|
35
|
+
@shared_storage_quota_hash = ''
|
|
31
36
|
@unknown_json_fields = {}
|
|
32
37
|
end
|
|
33
38
|
|
|
@@ -44,14 +49,18 @@ module Comet
|
|
|
44
49
|
|
|
45
50
|
obj.each do |k, v|
|
|
46
51
|
case k
|
|
47
|
-
when '
|
|
52
|
+
when 'Status'
|
|
53
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
54
|
+
|
|
55
|
+
@status = v
|
|
56
|
+
when 'Message'
|
|
48
57
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
49
58
|
|
|
50
|
-
@
|
|
51
|
-
when '
|
|
59
|
+
@message = v
|
|
60
|
+
when 'SharedStorageQuotaHash'
|
|
52
61
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
53
62
|
|
|
54
|
-
@
|
|
63
|
+
@shared_storage_quota_hash = v
|
|
55
64
|
else
|
|
56
65
|
@unknown_json_fields[k] = v
|
|
57
66
|
end
|
|
@@ -61,8 +70,9 @@ module Comet
|
|
|
61
70
|
# @return [Hash] The complete object as a Ruby hash
|
|
62
71
|
def to_hash
|
|
63
72
|
ret = {}
|
|
64
|
-
ret['
|
|
65
|
-
ret['
|
|
73
|
+
ret['Status'] = @status
|
|
74
|
+
ret['Message'] = @message
|
|
75
|
+
ret['SharedStorageQuotaHash'] = @shared_storage_quota_hash
|
|
66
76
|
@unknown_json_fields.each do |k, v|
|
|
67
77
|
ret[k] = v
|
|
68
78
|
end
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright (c) 2020-2025 Comet Licensing Ltd.
|
|
4
|
+
# Please see the LICENSE file for usage information.
|
|
5
|
+
#
|
|
6
|
+
# SPDX-License-Identifier: MIT
|
|
7
|
+
|
|
8
|
+
require 'json'
|
|
9
|
+
|
|
10
|
+
module Comet
|
|
11
|
+
|
|
12
|
+
# SharedStorageQuota is a typed class wrapper around the underlying Comet Server API data structure.
|
|
13
|
+
# A SharedStorageQuota can be applied to multiple Storage Vaults in the
|
|
14
|
+
# 'DestinationConfig.StorageLimitID' field.
|
|
15
|
+
class SharedStorageQuota
|
|
16
|
+
|
|
17
|
+
# @type [String] description
|
|
18
|
+
attr_accessor :description
|
|
19
|
+
|
|
20
|
+
# @type [String] organization_id
|
|
21
|
+
attr_accessor :organization_id
|
|
22
|
+
|
|
23
|
+
# Bytes
|
|
24
|
+
# @type [Number] limit_bytes
|
|
25
|
+
attr_accessor :limit_bytes
|
|
26
|
+
|
|
27
|
+
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
|
28
|
+
attr_accessor :unknown_json_fields
|
|
29
|
+
|
|
30
|
+
def initialize
|
|
31
|
+
clear
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def clear
|
|
35
|
+
@description = ''
|
|
36
|
+
@organization_id = ''
|
|
37
|
+
@limit_bytes = 0
|
|
38
|
+
@unknown_json_fields = {}
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# @param [String] json_string The complete object in JSON format
|
|
42
|
+
def from_json(json_string)
|
|
43
|
+
raise TypeError, "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String
|
|
44
|
+
|
|
45
|
+
from_hash(JSON.parse(json_string))
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# @param [Hash] obj The complete object as a Ruby hash
|
|
49
|
+
def from_hash(obj)
|
|
50
|
+
raise TypeError, "'obj' expected Hash, got #{obj.class}" unless obj.is_a? Hash
|
|
51
|
+
|
|
52
|
+
obj.each do |k, v|
|
|
53
|
+
case k
|
|
54
|
+
when 'Description'
|
|
55
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
56
|
+
|
|
57
|
+
@description = v
|
|
58
|
+
when 'OrganizationID'
|
|
59
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
60
|
+
|
|
61
|
+
@organization_id = v
|
|
62
|
+
when 'LimitBytes'
|
|
63
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
64
|
+
|
|
65
|
+
@limit_bytes = v
|
|
66
|
+
else
|
|
67
|
+
@unknown_json_fields[k] = v
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# @return [Hash] The complete object as a Ruby hash
|
|
73
|
+
def to_hash
|
|
74
|
+
ret = {}
|
|
75
|
+
ret['Description'] = @description
|
|
76
|
+
ret['OrganizationID'] = @organization_id
|
|
77
|
+
ret['LimitBytes'] = @limit_bytes
|
|
78
|
+
@unknown_json_fields.each do |k, v|
|
|
79
|
+
ret[k] = v
|
|
80
|
+
end
|
|
81
|
+
ret
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# @return [Hash] The complete object as a Ruby hash
|
|
85
|
+
def to_h
|
|
86
|
+
to_hash
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# @return [String] The complete object as a JSON string
|
|
90
|
+
def to_json(options = {})
|
|
91
|
+
to_hash.to_json(options)
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
@@ -88,6 +88,13 @@ module Comet
|
|
|
88
88
|
# - LOGNOTRUNC: If present, take a "Log (no truncation)" backup job. Otherwise, take a "Full (copy
|
|
89
89
|
# only)" backup job.
|
|
90
90
|
#
|
|
91
|
+
# For engine1/stdout, Comet understands the following EngineProp keys:
|
|
92
|
+
#
|
|
93
|
+
# - COMMAND: The command to run
|
|
94
|
+
# - WORKDIR: The working directory for the command
|
|
95
|
+
# - SAVEAS: The virtual filename inside the backup snapshot
|
|
96
|
+
# - Any key starting with EXTRACOMMAND- : Additional commands to run. Each value should be a JSON
|
|
97
|
+
# array of 3 strings, equivalent to the COMMAND, WORKDIR, SAVEAS values.
|
|
91
98
|
# @type [Hash{String => String}] engine_props
|
|
92
99
|
attr_accessor :engine_props
|
|
93
100
|
|
|
@@ -181,6 +181,11 @@ module Comet
|
|
|
181
181
|
# @type [String] auto_storage_template_guid
|
|
182
182
|
attr_accessor :auto_storage_template_guid
|
|
183
183
|
|
|
184
|
+
# If enabled, Linux devices in this user account will sandbox all read/write operations to paths
|
|
185
|
+
# inside user home directories
|
|
186
|
+
# @type [Boolean] linux_homedir_sandbox
|
|
187
|
+
attr_accessor :linux_homedir_sandbox
|
|
188
|
+
|
|
184
189
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
|
185
190
|
attr_accessor :unknown_json_fields
|
|
186
191
|
|
|
@@ -399,6 +404,8 @@ module Comet
|
|
|
399
404
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
400
405
|
|
|
401
406
|
@auto_storage_template_guid = v
|
|
407
|
+
when 'LinuxHomedirSandbox'
|
|
408
|
+
@linux_homedir_sandbox = v
|
|
402
409
|
else
|
|
403
410
|
@unknown_json_fields[k] = v
|
|
404
411
|
end
|
|
@@ -452,6 +459,7 @@ module Comet
|
|
|
452
459
|
ret['ServerConfig'] = @server_config
|
|
453
460
|
end
|
|
454
461
|
ret['AutoStorageTemplateGUID'] = @auto_storage_template_guid
|
|
462
|
+
ret['LinuxHomedirSandbox'] = @linux_homedir_sandbox
|
|
455
463
|
@unknown_json_fields.each do |k, v|
|
|
456
464
|
ret[k] = v
|
|
457
465
|
end
|
|
@@ -29,6 +29,10 @@ module Comet
|
|
|
29
29
|
# @type [Boolean] has_original_path_info
|
|
30
30
|
attr_accessor :has_original_path_info
|
|
31
31
|
|
|
32
|
+
# This field is available in Comet 25.9.4 and later.
|
|
33
|
+
# @type [Array<String>] tags
|
|
34
|
+
attr_accessor :tags
|
|
35
|
+
|
|
32
36
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
|
33
37
|
attr_accessor :unknown_json_fields
|
|
34
38
|
|
|
@@ -41,6 +45,7 @@ module Comet
|
|
|
41
45
|
@engine_type = ''
|
|
42
46
|
@source = ''
|
|
43
47
|
@create_time = 0
|
|
48
|
+
@tags = []
|
|
44
49
|
@unknown_json_fields = {}
|
|
45
50
|
end
|
|
46
51
|
|
|
@@ -75,6 +80,17 @@ module Comet
|
|
|
75
80
|
@create_time = v
|
|
76
81
|
when 'HasOriginalPathInfo'
|
|
77
82
|
@has_original_path_info = v
|
|
83
|
+
when 'Tags'
|
|
84
|
+
if v.nil?
|
|
85
|
+
@tags = []
|
|
86
|
+
else
|
|
87
|
+
@tags = Array.new(v.length)
|
|
88
|
+
v.each_with_index do |v1, i1|
|
|
89
|
+
raise TypeError, "'v1' expected String, got #{v1.class}" unless v1.is_a? String
|
|
90
|
+
|
|
91
|
+
@tags[i1] = v1
|
|
92
|
+
end
|
|
93
|
+
end
|
|
78
94
|
else
|
|
79
95
|
@unknown_json_fields[k] = v
|
|
80
96
|
end
|
|
@@ -89,6 +105,9 @@ module Comet
|
|
|
89
105
|
ret['Source'] = @source
|
|
90
106
|
ret['CreateTime'] = @create_time
|
|
91
107
|
ret['HasOriginalPathInfo'] = @has_original_path_info
|
|
108
|
+
unless @tags.nil?
|
|
109
|
+
ret['Tags'] = @tags
|
|
110
|
+
end
|
|
92
111
|
@unknown_json_fields.each do |k, v|
|
|
93
112
|
ret[k] = v
|
|
94
113
|
end
|
|
@@ -65,6 +65,18 @@ module Comet
|
|
|
65
65
|
# @type [String] windows_code_sign_azure_tenant_id
|
|
66
66
|
attr_accessor :windows_code_sign_azure_tenant_id
|
|
67
67
|
|
|
68
|
+
# URL of the SAS Relic server, with protocol (https://) and trailing slash
|
|
69
|
+
# @type [String] windows_code_sign_relic_server_url
|
|
70
|
+
attr_accessor :windows_code_sign_relic_server_url
|
|
71
|
+
|
|
72
|
+
# The SAS Relic client keypair in PEM format
|
|
73
|
+
# @type [String] windows_code_sign_relic_keypair_file
|
|
74
|
+
attr_accessor :windows_code_sign_relic_keypair_file
|
|
75
|
+
|
|
76
|
+
# The name of the key to select on the remote SAS Relic server
|
|
77
|
+
# @type [String] windows_code_sign_relic_key_name
|
|
78
|
+
attr_accessor :windows_code_sign_relic_key_name
|
|
79
|
+
|
|
68
80
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
|
69
81
|
attr_accessor :unknown_json_fields
|
|
70
82
|
|
|
@@ -89,6 +101,9 @@ module Comet
|
|
|
89
101
|
@windows_code_sign_azure_app_secret_format = 0
|
|
90
102
|
@windows_code_sign_azure_app_secret = ''
|
|
91
103
|
@windows_code_sign_azure_tenant_id = ''
|
|
104
|
+
@windows_code_sign_relic_server_url = ''
|
|
105
|
+
@windows_code_sign_relic_keypair_file = ''
|
|
106
|
+
@windows_code_sign_relic_key_name = ''
|
|
92
107
|
@unknown_json_fields = {}
|
|
93
108
|
end
|
|
94
109
|
|
|
@@ -169,6 +184,18 @@ module Comet
|
|
|
169
184
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
170
185
|
|
|
171
186
|
@windows_code_sign_azure_tenant_id = v
|
|
187
|
+
when 'WindowsCodeSignRelicServerURL'
|
|
188
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
189
|
+
|
|
190
|
+
@windows_code_sign_relic_server_url = v
|
|
191
|
+
when 'WindowsCodeSignRelicKeypairFile'
|
|
192
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
193
|
+
|
|
194
|
+
@windows_code_sign_relic_keypair_file = v
|
|
195
|
+
when 'WindowsCodeSignRelicKeyName'
|
|
196
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
197
|
+
|
|
198
|
+
@windows_code_sign_relic_key_name = v
|
|
172
199
|
else
|
|
173
200
|
@unknown_json_fields[k] = v
|
|
174
201
|
end
|
|
@@ -194,6 +221,9 @@ module Comet
|
|
|
194
221
|
ret['WindowsCodeSignAzureAppSecretFormat'] = @windows_code_sign_azure_app_secret_format
|
|
195
222
|
ret['WindowsCodeSignAzureAppSecret'] = @windows_code_sign_azure_app_secret
|
|
196
223
|
ret['WindowsCodeSignAzureTenantID'] = @windows_code_sign_azure_tenant_id
|
|
224
|
+
ret['WindowsCodeSignRelicServerURL'] = @windows_code_sign_relic_server_url
|
|
225
|
+
ret['WindowsCodeSignRelicKeypairFile'] = @windows_code_sign_relic_keypair_file
|
|
226
|
+
ret['WindowsCodeSignRelicKeyName'] = @windows_code_sign_relic_key_name
|
|
197
227
|
@unknown_json_fields.each do |k, v|
|
|
198
228
|
ret[k] = v
|
|
199
229
|
end
|
|
@@ -31,7 +31,6 @@ require_relative 'comet/models/backup_job_detail'
|
|
|
31
31
|
require_relative 'comet/models/backup_job_progress'
|
|
32
32
|
require_relative 'comet/models/backup_rule_config'
|
|
33
33
|
require_relative 'comet/models/backup_rule_event_triggers'
|
|
34
|
-
require_relative 'comet/models/block_info'
|
|
35
34
|
require_relative 'comet/models/branding_options'
|
|
36
35
|
require_relative 'comet/models/branding_properties'
|
|
37
36
|
require_relative 'comet/models/browse_disk_drives_response'
|
|
@@ -63,7 +62,6 @@ require_relative 'comet/models/count_jobs_response'
|
|
|
63
62
|
require_relative 'comet/models/create_group_policy_response'
|
|
64
63
|
require_relative 'comet/models/create_user_group_response'
|
|
65
64
|
require_relative 'comet/models/custom_remote_bucket_settings'
|
|
66
|
-
require_relative 'comet/models/custom_remote_bucket_settings'
|
|
67
65
|
require_relative 'comet/models/days_of_week_config'
|
|
68
66
|
require_relative 'comet/models/default_email_report_policy'
|
|
69
67
|
require_relative 'comet/models/default_source_with_osrestriction'
|
|
@@ -72,6 +70,7 @@ require_relative 'comet/models/destination_location'
|
|
|
72
70
|
require_relative 'comet/models/destination_statistics'
|
|
73
71
|
require_relative 'comet/models/device_config'
|
|
74
72
|
require_relative 'comet/models/disk_drive'
|
|
73
|
+
require_relative 'comet/models/dispatch_with_job_idresponse'
|
|
75
74
|
require_relative 'comet/models/dispatcher_admin_sources_response'
|
|
76
75
|
require_relative 'comet/models/dispatcher_list_snapshot_virtual_machines_response'
|
|
77
76
|
require_relative 'comet/models/dispatcher_stored_objects_response'
|
|
@@ -93,6 +92,7 @@ require_relative 'comet/models/ftpdestination_location'
|
|
|
93
92
|
require_relative 'comet/models/get_group_policy_response'
|
|
94
93
|
require_relative 'comet/models/get_profile_and_hash_response_message'
|
|
95
94
|
require_relative 'comet/models/get_profile_hash_response_message'
|
|
95
|
+
require_relative 'comet/models/get_shared_storage_quota_response'
|
|
96
96
|
require_relative 'comet/models/get_user_group_response'
|
|
97
97
|
require_relative 'comet/models/get_user_group_with_users_response'
|
|
98
98
|
require_relative 'comet/models/global_override_options'
|
|
@@ -109,6 +109,7 @@ require_relative 'comet/models/install_token_response'
|
|
|
109
109
|
require_relative 'comet/models/job_entry'
|
|
110
110
|
require_relative 'comet/models/license_limits'
|
|
111
111
|
require_relative 'comet/models/license_options'
|
|
112
|
+
require_relative 'comet/models/list_shared_storage_quota_response'
|
|
112
113
|
require_relative 'comet/models/live_user_connection'
|
|
113
114
|
require_relative 'comet/models/local_destination_location'
|
|
114
115
|
require_relative 'comet/models/local_storage_directory'
|
|
@@ -138,6 +139,7 @@ require_relative 'comet/models/partition_conflict'
|
|
|
138
139
|
require_relative 'comet/models/policy_options'
|
|
139
140
|
require_relative 'comet/models/private_branding_properties'
|
|
140
141
|
require_relative 'comet/models/protected_item_engine_type_policy'
|
|
142
|
+
require_relative 'comet/models/protected_item_with_backup_rules_response'
|
|
141
143
|
require_relative 'comet/models/proxmox_connection'
|
|
142
144
|
require_relative 'comet/models/proxmox_restore_target_options'
|
|
143
145
|
require_relative 'comet/models/psaconfig'
|
|
@@ -147,12 +149,9 @@ require_relative 'comet/models/pvebackup_disk'
|
|
|
147
149
|
require_relative 'comet/models/pvebackup_node'
|
|
148
150
|
require_relative 'comet/models/pvebackup_vm'
|
|
149
151
|
require_relative 'comet/models/pvedisk'
|
|
150
|
-
require_relative 'comet/models/pvedisk'
|
|
151
152
|
require_relative 'comet/models/pveparams'
|
|
152
|
-
require_relative 'comet/models/pverestore_selection'
|
|
153
153
|
require_relative 'comet/models/pvestorage_name'
|
|
154
154
|
require_relative 'comet/models/pvevm'
|
|
155
|
-
require_relative 'comet/models/pvevm'
|
|
156
155
|
require_relative 'comet/models/ratelimit_options'
|
|
157
156
|
require_relative 'comet/models/ratelimit_rule'
|
|
158
157
|
require_relative 'comet/models/register_office_application_begin_response'
|
|
@@ -183,7 +182,9 @@ require_relative 'comet/models/server_meta_branding_properties'
|
|
|
183
182
|
require_relative 'comet/models/server_meta_version_info'
|
|
184
183
|
require_relative 'comet/models/session_key_regenerated_response'
|
|
185
184
|
require_relative 'comet/models/session_options'
|
|
185
|
+
require_relative 'comet/models/set_shared_storage_quota_response'
|
|
186
186
|
require_relative 'comet/models/sftpdestination_location'
|
|
187
|
+
require_relative 'comet/models/shared_storage_quota'
|
|
187
188
|
require_relative 'comet/models/single_field_source'
|
|
188
189
|
require_relative 'comet/models/size_measurement'
|
|
189
190
|
require_relative 'comet/models/smbdestination_location'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: comet_backup_ruby_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.44.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Comet Licensing Ltd.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -109,7 +109,6 @@ files:
|
|
|
109
109
|
- lib/comet/models/backup_job_progress.rb
|
|
110
110
|
- lib/comet/models/backup_rule_config.rb
|
|
111
111
|
- lib/comet/models/backup_rule_event_triggers.rb
|
|
112
|
-
- lib/comet/models/block_info.rb
|
|
113
112
|
- lib/comet/models/branding_options.rb
|
|
114
113
|
- lib/comet/models/branding_properties.rb
|
|
115
114
|
- lib/comet/models/browse_disk_drives_response.rb
|
|
@@ -149,6 +148,7 @@ files:
|
|
|
149
148
|
- lib/comet/models/destination_statistics.rb
|
|
150
149
|
- lib/comet/models/device_config.rb
|
|
151
150
|
- lib/comet/models/disk_drive.rb
|
|
151
|
+
- lib/comet/models/dispatch_with_job_idresponse.rb
|
|
152
152
|
- lib/comet/models/dispatcher_admin_sources_response.rb
|
|
153
153
|
- lib/comet/models/dispatcher_list_snapshot_virtual_machines_response.rb
|
|
154
154
|
- lib/comet/models/dispatcher_stored_objects_response.rb
|
|
@@ -170,6 +170,7 @@ files:
|
|
|
170
170
|
- lib/comet/models/get_group_policy_response.rb
|
|
171
171
|
- lib/comet/models/get_profile_and_hash_response_message.rb
|
|
172
172
|
- lib/comet/models/get_profile_hash_response_message.rb
|
|
173
|
+
- lib/comet/models/get_shared_storage_quota_response.rb
|
|
173
174
|
- lib/comet/models/get_user_group_response.rb
|
|
174
175
|
- lib/comet/models/get_user_group_with_users_response.rb
|
|
175
176
|
- lib/comet/models/global_override_options.rb
|
|
@@ -186,6 +187,7 @@ files:
|
|
|
186
187
|
- lib/comet/models/job_entry.rb
|
|
187
188
|
- lib/comet/models/license_limits.rb
|
|
188
189
|
- lib/comet/models/license_options.rb
|
|
190
|
+
- lib/comet/models/list_shared_storage_quota_response.rb
|
|
189
191
|
- lib/comet/models/live_user_connection.rb
|
|
190
192
|
- lib/comet/models/local_destination_location.rb
|
|
191
193
|
- lib/comet/models/local_storage_directory.rb
|
|
@@ -215,6 +217,7 @@ files:
|
|
|
215
217
|
- lib/comet/models/policy_options.rb
|
|
216
218
|
- lib/comet/models/private_branding_properties.rb
|
|
217
219
|
- lib/comet/models/protected_item_engine_type_policy.rb
|
|
220
|
+
- lib/comet/models/protected_item_with_backup_rules_response.rb
|
|
218
221
|
- lib/comet/models/proxmox_connection.rb
|
|
219
222
|
- lib/comet/models/proxmox_restore_target_options.rb
|
|
220
223
|
- lib/comet/models/psaconfig.rb
|
|
@@ -225,7 +228,6 @@ files:
|
|
|
225
228
|
- lib/comet/models/pvebackup_vm.rb
|
|
226
229
|
- lib/comet/models/pvedisk.rb
|
|
227
230
|
- lib/comet/models/pveparams.rb
|
|
228
|
-
- lib/comet/models/pverestore_selection.rb
|
|
229
231
|
- lib/comet/models/pvestorage_name.rb
|
|
230
232
|
- lib/comet/models/pvevm.rb
|
|
231
233
|
- lib/comet/models/ratelimit_options.rb
|
|
@@ -258,7 +260,9 @@ files:
|
|
|
258
260
|
- lib/comet/models/server_meta_version_info.rb
|
|
259
261
|
- lib/comet/models/session_key_regenerated_response.rb
|
|
260
262
|
- lib/comet/models/session_options.rb
|
|
263
|
+
- lib/comet/models/set_shared_storage_quota_response.rb
|
|
261
264
|
- lib/comet/models/sftpdestination_location.rb
|
|
265
|
+
- lib/comet/models/shared_storage_quota.rb
|
|
262
266
|
- lib/comet/models/single_field_source.rb
|
|
263
267
|
- lib/comet/models/size_measurement.rb
|
|
264
268
|
- lib/comet/models/smbdestination_location.rb
|