comet_backup_ruby_sdk 2.7.0 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile.lock +1 -1
  4. data/comet_backup_ruby_sdk.gemspec +1 -1
  5. data/lib/comet/definitions.rb +201 -181
  6. data/lib/comet/models/add_bucket_response_message.rb +1 -0
  7. data/lib/comet/models/admin_resource_response.rb +1 -0
  8. data/lib/comet/models/azure_destination_location.rb +1 -0
  9. data/lib/comet/models/b2destination_location.rb +5 -0
  10. data/lib/comet/models/backup_job_advanced_options.rb +6 -0
  11. data/lib/comet/models/backup_job_detail.rb +14 -0
  12. data/lib/comet/models/backup_job_progress.rb +1 -0
  13. data/lib/comet/models/backup_rule_config.rb +13 -0
  14. data/lib/comet/models/backup_rule_event_triggers.rb +3 -0
  15. data/lib/comet/models/browse_disk_drives_response.rb +1 -0
  16. data/lib/comet/models/browse_edbresponse.rb +1 -0
  17. data/lib/comet/models/browse_hvresponse.rb +1 -0
  18. data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +1 -0
  19. data/lib/comet/models/browse_office_365objects_response.rb +1 -0
  20. data/lib/comet/models/browse_sqlserver_response.rb +1 -0
  21. data/lib/comet/models/browse_vssresponse.rb +1 -0
  22. data/lib/comet/models/bucket_usage_info.rb +2 -0
  23. data/lib/comet/models/comet_apiresponse_message.rb +1 -0
  24. data/lib/comet/models/constellation_status_apiresponse.rb +1 -0
  25. data/lib/comet/models/create_group_policy_response.rb +1 -0
  26. data/lib/comet/models/destination_config.rb +13 -0
  27. data/lib/comet/models/destination_location.rb +4 -0
  28. data/lib/comet/models/device_config.rb +4 -0
  29. data/lib/comet/models/dispatcher_admin_sources_response.rb +1 -0
  30. data/lib/comet/models/dispatcher_stored_objects_response.rb +1 -0
  31. data/lib/comet/models/dispatcher_vault_snapshots_response.rb +1 -0
  32. data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +1 -0
  33. data/lib/comet/models/email_options.rb +1 -0
  34. data/lib/comet/models/email_report_config.rb +3 -0
  35. data/lib/comet/models/email_report_generated_preview.rb +1 -0
  36. data/lib/comet/models/extra_file_exclusion.rb +4 -0
  37. data/lib/comet/models/ftpdestination_location.rb +1 -0
  38. data/lib/comet/models/get_group_policy_response.rb +1 -0
  39. data/lib/comet/models/get_profile_and_hash_response_message.rb +4 -0
  40. data/lib/comet/models/get_profile_hash_response_message.rb +1 -0
  41. data/lib/comet/models/group_policy.rb +4 -0
  42. data/lib/comet/models/install_token_response.rb +1 -0
  43. data/lib/comet/models/job_entry.rb +2 -0
  44. data/lib/comet/models/live_user_connection.rb +11 -0
  45. data/lib/comet/models/mongo_dbconnection.rb +2 -0
  46. data/lib/comet/models/office_365object_info.rb +1 -0
  47. data/lib/comet/models/request_storage_vault_response_message.rb +1 -0
  48. data/lib/comet/models/restore_job_advanced_options.rb +18 -0
  49. data/lib/comet/models/retention_policy.rb +1 -0
  50. data/lib/comet/models/retention_range.rb +1 -0
  51. data/lib/comet/models/s3destination_location.rb +1 -0
  52. data/lib/comet/models/search_snapshots_response.rb +1 -0
  53. data/lib/comet/models/server_config_options.rb +5 -0
  54. data/lib/comet/models/server_meta_branding_properties.rb +4 -0
  55. data/lib/comet/models/server_meta_version_info.rb +8 -0
  56. data/lib/comet/models/session_key_regenerated_response.rb +1 -0
  57. data/lib/comet/models/sftpdestination_location.rb +1 -0
  58. data/lib/comet/models/source_config.rb +51 -0
  59. data/lib/comet/models/sshconnection.rb +1 -0
  60. data/lib/comet/models/swift_destination_location.rb +7 -0
  61. data/lib/comet/models/test_response.rb +1 -0
  62. data/lib/comet/models/time_span.rb +2 -0
  63. data/lib/comet/models/totp_regenerated_response.rb +1 -0
  64. data/lib/comet/models/u2fregistration_challenge_response.rb +1 -0
  65. data/lib/comet/models/uninstall_config.rb +4 -0
  66. data/lib/comet/models/update_campaign_options.rb +3 -0
  67. data/lib/comet/models/update_campaign_properties.rb +3 -0
  68. data/lib/comet/models/update_campaign_status.rb +3 -0
  69. data/lib/comet/models/user_on_server.rb +2 -0
  70. data/lib/comet/models/user_profile_config.rb +36 -0
  71. data/lib/comet/models/vmdksnapshot_view_options.rb +4 -0
  72. data/lib/comet/models/web_authn_registration_challenge_response.rb +1 -0
  73. data/lib/comet/models/win_smbauth.rb +6 -0
  74. metadata +2 -2
@@ -7,13 +7,13 @@
7
7
 
8
8
  module Comet
9
9
 
10
- APPLICATION_VERSION = '23.3.5'
10
+ APPLICATION_VERSION = '23.3.7'
11
11
 
12
12
  APPLICATION_VERSION_MAJOR = 23
13
13
 
14
14
  APPLICATION_VERSION_MINOR = 3
15
15
 
16
- APPLICATION_VERSION_REVISION = 5
16
+ APPLICATION_VERSION_REVISION = 7
17
17
 
18
18
  # AutoRetentionLevel: The system will automatically choose how often to run an automatic Retention Pass after each backup job.
19
19
  BACKUPJOBAUTORETENTION_AUTOMATIC = 0
@@ -35,48 +35,48 @@ module Comet
35
35
 
36
36
  BRANDINGSTYLETYPE_CUSTOM_LOGO = 3
37
37
 
38
- # ClientBrandingBuildMode: Public-Doc: The software client will be custom-built by this Comet Server, allowing custom branding, default server URL, and codesigning.
38
+ # ClientBrandingBuildMode: The software client will be custom-built by this Comet Server, allowing custom branding, default server URL, and codesigning.
39
39
  CLIENTBRANDINGBUILD_CUSTOM = 0
40
40
 
41
- # ClientBrandingBuildMode: Public-Doc: A pre-built software client will be served, with Comet-branding, no server URL, and Comet codesigning.
41
+ # ClientBrandingBuildMode: A pre-built software client will be served, with Comet-branding, no server URL, and Comet codesigning.
42
42
  CLIENTBRANDINGBUILD_PREBUILT = 1
43
43
 
44
- # CompressMode:
44
+ # CompressMode
45
45
  COMPRESS_INVALID = 0
46
46
 
47
- # CompressMode:
47
+ # CompressMode
48
48
  COMPRESS_LVL_1 = 1
49
49
 
50
- # CompressMode:
50
+ # CompressMode
51
51
  COMPRESS_LVL_2 = 2
52
52
 
53
- # CompressMode:
53
+ # CompressMode
54
54
  COMPRESS_LVL_3 = 3
55
55
 
56
- # CompressMode:
56
+ # CompressMode
57
57
  COMPRESS_LVL_4 = 4
58
58
 
59
- # CompressMode:
59
+ # CompressMode
60
60
  COMPRESS_LVL_5 = 5
61
61
 
62
- # CompressMode:
62
+ # CompressMode
63
63
  COMPRESS_MAX = COMPRESS_LVL_5
64
64
 
65
- # CompressMode:
65
+ # CompressMode
66
66
  COMPRESS_DEFAULT = COMPRESS_LVL_4
67
67
 
68
- # LanguageCode:
68
+ # LanguageCode
69
69
  DEFAULT_LANGUAGE = 'en_US'
70
70
 
71
71
  DEFAULT_TIMEZONE = 'UTC'
72
72
 
73
- # SftpAuthMode:
73
+ # SftpAuthMode
74
74
  DESTINATION_SFTP_AUTHMODE_NATIVE = 0
75
75
 
76
- # SftpAuthMode:
76
+ # SftpAuthMode
77
77
  DESTINATION_SFTP_AUTHMODE_PASSWORD = 1
78
78
 
79
- # SftpAuthMode:
79
+ # SftpAuthMode
80
80
  DESTINATION_SFTP_AUTHMODE_PRIVATEKEY = 2
81
81
 
82
82
  DESTINATIONTYPE___INVALID = 0
@@ -105,95 +105,112 @@ module Comet
105
105
 
106
106
  DESTINATIONTYPE_ALL = 1101
107
107
 
108
+ # The Comet Server is still starting up and has not yet checked whether any email reports are due to be sent.
108
109
  EMAIL_WORKER_STATE_NOT_STARTED = 0
109
110
 
111
+ # The Comet Server is still starting up and has not yet checked whether any email reports are due to be sent.
110
112
  EMAIL_WORKER_STATE_STARTED = 1
111
113
 
114
+ # The Comet Server is currently searching through email report configuration, to determine when the next email report is due to be sent.
112
115
  EMAIL_WORKER_STATE_CALCULATING = 2
113
116
 
117
+ # The Comet Server knows when the next scheduled email report is due to be sent, and is waiting until that time.
114
118
  EMAIL_WORKER_STATE_WAITING = 3
115
119
 
120
+ # The Comet Server is currently sending a scheduled email report.
116
121
  EMAIL_WORKER_STATE_SENDING = 4
117
122
 
118
- # EmailDeliveryType:
123
+ # EmailDeliveryType: If this is for the top-level Organization, email is disabled. If this is for an Organization, use the parent's email settings.
119
124
  EMAIL_DELIVERY_INHERIT = ''
120
125
 
121
- # EmailDeliveryType:
126
+ # EmailDeliveryType
122
127
  EMAIL_DELIVERY_MX_DIRECT = 'builtin'
123
128
 
124
- # EmailDeliveryType:
129
+ # EmailDeliveryType
125
130
  EMAIL_DELIVERY_SMTP = 'smtp'
126
131
 
127
- # EmailDeliveryType:
132
+ # EmailDeliveryType
128
133
  EMAIL_DELIVERY_SMTP_SSL = 'smtp-ssl'
129
134
 
130
- # EmailDeliveryType:
135
+ # EmailDeliveryType
131
136
  EMAIL_DELIVERY_DISABLED = 'disabled'
132
137
 
133
- # EmailDeliveryType: Legacy alias
138
+ # EmailDeliveryType: Legacy alias for EMAIL_DELIVERY_MX_DIRECT
134
139
  EMAIL_DELIVERY_BUILTIN = EMAIL_DELIVERY_MX_DIRECT
135
140
 
136
- # EmailDeliveryType: changed for clarity
141
+ # EmailDeliveryType: Legacy alias for EMAIL_DELIVERY_INHERIT
137
142
  # @deprecated This const has been deprecated since Comet version 22.12.1
138
143
  EMAIL_DELIVERY_NONE = EMAIL_DELIVERY_INHERIT
139
144
 
140
- # EmailReportType:
145
+ # EmailReportType
141
146
  EMAILREPORTTYPE_IMMEDIATE = 0
142
147
 
143
- # EmailReportType:
148
+ # EmailReportType
144
149
  EMAILREPORTTYPE_SUMMARY = 1
145
150
 
146
- # EmailReportType:
151
+ # EmailReportType
147
152
  EMAILREPORTTYPE_GROUPED_STATUS = 2
148
153
 
149
- # EmailReportType:
154
+ # EmailReportType
150
155
  EMAILREPORTTYPE_RECENT_ACTIVITY = 3
151
156
 
152
157
  ENCRYPTIONMETHOD_UNCONFIGURED = 0
153
158
 
159
+ # Files and Folders
154
160
  ENGINE_BUILTIN_FILE = 'engine1/file'
155
161
 
162
+ # Program Output
156
163
  ENGINE_BUILTIN_STDOUT = 'engine1/stdout'
157
164
 
165
+ # MySQL
158
166
  ENGINE_BUILTIN_MYSQL = 'engine1/mysql'
159
167
 
168
+ # Windows Server System State
160
169
  ENGINE_BUILTIN_SYSTEMSTATE = 'engine1/systemstate'
161
170
 
171
+ # Microsoft SQL Server
162
172
  ENGINE_BUILTIN_MSSQL = 'engine1/mssql'
163
173
 
174
+ # Windows System Backup
164
175
  ENGINE_BUILTIN_WINDOWSSYSTEM = 'engine1/windowssystem'
165
176
 
177
+ # Microsoft Exchange Server
166
178
  ENGINE_BUILTIN_EXCHANGEEDB = 'engine1/exchangeedb'
167
179
 
180
+ # Application-Aware Writer
168
181
  ENGINE_BUILTIN_VSSWRITER = 'engine1/vsswriter'
169
182
 
183
+ # Microsoft Hyper-V
170
184
  ENGINE_BUILTIN_HYPERV = 'engine1/hyperv'
171
185
 
186
+ # Disk Image
172
187
  ENGINE_BUILTIN_WINDISK = 'engine1/windisk'
173
188
 
189
+ # MongoDB
174
190
  ENGINE_BUILTIN_MONGODB = 'engine1/mongodb'
175
191
 
192
+ # Office 365
176
193
  ENGINE_BUILTIN_MSOFFICE = 'engine1/winmsofficemail'
177
194
 
178
- # FtpsModeType:
195
+ # FtpsModeType
179
196
  FTPS_MODE_PLAINTEXT = 0
180
197
 
181
- # FtpsModeType:
198
+ # FtpsModeType
182
199
  FTPS_MODE_IMPLICIT = 1
183
200
 
184
- # FtpsModeType:
201
+ # FtpsModeType
185
202
  FTPS_MODE_EXPLICIT = 2
186
203
 
187
- # JobClassification:
204
+ # JobClassification
188
205
  JOB_CLASSIFICATION__MIN = 4000
189
206
 
190
- # JobClassification:
207
+ # JobClassification
191
208
  JOB_CLASSIFICATION_UNKNOWN = 4000
192
209
 
193
- # JobClassification:
210
+ # JobClassification
194
211
  JOB_CLASSIFICATION_BACKUP = 4001
195
212
 
196
- # JobClassification:
213
+ # JobClassification
197
214
  JOB_CLASSIFICATION_RESTORE = 4002
198
215
 
199
216
  # JobClassification: Automatic or manual retention cleaning pass.
@@ -211,91 +228,91 @@ module Comet
211
228
  # JobClassification: Software update
212
229
  JOB_CLASSIFICATION_UPDATE = 4007
213
230
 
214
- # JobClassification:
231
+ # JobClassification
215
232
  JOB_CLASSIFICATION_IMPORT = 4008
216
233
 
217
234
  # JobClassification: Repair indexes
218
235
  JOB_CLASSIFICATION_REINDEX = 4009
219
236
 
220
- # JobClassification:
237
+ # JobClassification
221
238
  JOB_CLASSIFICATION_DEEPVERIFY = 4010
222
239
 
223
240
  # JobClassification: Software uninstall
224
241
  JOB_CLASSIFICATION_UNINSTALL = 4011
225
242
 
226
- # JobClassification:
243
+ # JobClassification
227
244
  JOB_CLASSIFICATION__MAX = 4999
228
245
 
229
- # JobStatus:
246
+ # JobStatus
230
247
  JOB_STATUS_STOP_SUCCESS__MIN = 5000
231
248
 
232
- # JobStatus:
249
+ # JobStatus
233
250
  JOB_STATUS_STOP_SUCCESS = 5000
234
251
 
235
- # JobStatus:
252
+ # JobStatus
236
253
  JOB_STATUS_STOP_SUCCESS__MAX = 5999
237
254
 
238
- # JobStatus:
255
+ # JobStatus
239
256
  JOB_STATUS_RUNNING__MIN = 6000
240
257
 
241
258
  # JobStatus: Unused
242
259
  JOB_STATUS_RUNNING_INDETERMINATE = 6000
243
260
 
244
- # JobStatus:
261
+ # JobStatus
245
262
  JOB_STATUS_RUNNING_ACTIVE = 6001
246
263
 
247
264
  # JobStatus: A backup job that was marked as stopped or abandoned, but has somehow continued to run
248
265
  JOB_STATUS_RUNNING_REVIVED = 6002
249
266
 
250
- # JobStatus:
267
+ # JobStatus
251
268
  JOB_STATUS_RUNNING__MAX = 6999
252
269
 
253
- # JobStatus:
270
+ # JobStatus
254
271
  JOB_STATUS_FAILED__MIN = 7000
255
272
 
256
- # JobStatus:
273
+ # JobStatus
257
274
  JOB_STATUS_FAILED_TIMEOUT = 7000
258
275
 
259
- # JobStatus:
276
+ # JobStatus
260
277
  JOB_STATUS_FAILED_WARNING = 7001
261
278
 
262
- # JobStatus:
279
+ # JobStatus
263
280
  JOB_STATUS_FAILED_ERROR = 7002
264
281
 
265
- # JobStatus:
282
+ # JobStatus
266
283
  JOB_STATUS_FAILED_QUOTA = 7003
267
284
 
268
- # JobStatus:
285
+ # JobStatus
269
286
  JOB_STATUS_FAILED_SCHEDULEMISSED = 7004
270
287
 
271
- # JobStatus:
288
+ # JobStatus
272
289
  JOB_STATUS_FAILED_CANCELLED = 7005
273
290
 
274
- # JobStatus:
291
+ # JobStatus
275
292
  JOB_STATUS_FAILED_SKIPALREADYRUNNING = 7006
276
293
 
277
- # JobStatus:
294
+ # JobStatus
278
295
  JOB_STATUS_FAILED_ABANDONED = 7007
279
296
 
280
- # JobStatus:
297
+ # JobStatus
281
298
  JOB_STATUS_FAILED__MAX = 7999
282
299
 
283
- # LDAPSecurityMethod:
300
+ # LDAPSecurityMethod
284
301
  LDAPSECURITYMETHOD_PLAIN = 'plain'
285
302
 
286
- # LDAPSecurityMethod:
303
+ # LDAPSecurityMethod
287
304
  LDAPSECURITYMETHOD_LDAPS = 'ldaps'
288
305
 
289
- # LDAPSecurityMethod:
306
+ # LDAPSecurityMethod
290
307
  LDAPSECURITYMETHOD_STARTTLS = 'starttls'
291
308
 
292
- # MacOSCodesignLevel:
309
+ # MacOSCodesignLevel
293
310
  MACOSCODESIGN_LEVEL_SIGN = 0
294
311
 
295
- # MacOSCodesignLevel:
312
+ # MacOSCodesignLevel
296
313
  MACOSCODESIGN_LEVEL_SIGN_NOTARISE = 1
297
314
 
298
- # MacOSCodesignLevel:
315
+ # MacOSCodesignLevel
299
316
  MACOSCODESIGN_LEVEL_SIGN_NOTARISE_STAPLE = 2
300
317
 
301
318
  MIXED_VIRTUAL_ACCOUNT_TYPE_USER = 1
@@ -308,22 +325,22 @@ module Comet
308
325
 
309
326
  MONGODB_DEFAULT_PORT = 27_017
310
327
 
311
- # MSSQLAuthMode:
328
+ # MSSQLAuthMode
312
329
  MSSQL_AUTH_WINDOWS = 'windows'
313
330
 
314
- # MSSQLAuthMode:
331
+ # MSSQLAuthMode
315
332
  MSSQL_AUTH_NATIVE = 'native'
316
333
 
317
- # MSSQLMethod:
334
+ # MSSQLMethod: On Windows x86_64, use the native x86_64 driver.
318
335
  MSSQL_METHOD_OLEDB_NATIVE = 'OLEDB_NATIVE'
319
336
 
320
- # MSSQLMethod:
337
+ # MSSQLMethod: On Windows x86_64, use an x86_32 OLEDB driver.
321
338
  MSSQL_METHOD_OLEDB_32 = 'OLEDB_32'
322
339
 
323
- # MSSQLRestoreOpt:
340
+ # MSSQLRestoreOpt
324
341
  MSSQL_RESTORE_RECOVERY = 'RECOVERY'
325
342
 
326
- # MSSQLRestoreOpt:
343
+ # MSSQLRestoreOpt
327
344
  MSSQL_RESTORE_NORECOVERY = 'NO_RECOVERY'
328
345
 
329
346
  OFFICE365_REGION_PUBLIC = 'GlobalPublicCloud'
@@ -336,137 +353,138 @@ module Comet
336
353
 
337
354
  OFFICE365_REGION_US_DOD = 'USGovtGccDoDCloud'
338
355
 
339
- # ExtraFileExclusionOSRestriction:
356
+ # ExtraFileExclusionOSRestriction: Applies to any device
340
357
  OS_ANY = 0
341
358
 
342
- # ExtraFileExclusionOSRestriction:
359
+ # ExtraFileExclusionOSRestriction: Applies to all Windows devices, regardless of CPU type
343
360
  OS_ONLY_WINDOWS = 1
344
361
 
345
- # ExtraFileExclusionOSRestriction:
362
+ # ExtraFileExclusionOSRestriction: Applies to Windows devices with x86_32 CPU
346
363
  OS_ONLY_WINDOWS_X8632 = 2
347
364
 
348
- # ExtraFileExclusionOSRestriction:
365
+ # ExtraFileExclusionOSRestriction: Applies to Windows devices with x86_64 CPU
349
366
  OS_ONLY_WINDOWS_X8664 = 3
350
367
 
351
- # ExtraFileExclusionOSRestriction:
368
+ # ExtraFileExclusionOSRestriction: Applies to macOS devices, regardless of CPU type
352
369
  OS_ONLY_MACOS = 4
353
370
 
354
- # ExtraFileExclusionOSRestriction:
371
+ # ExtraFileExclusionOSRestriction: Applies to Linux devices (including Synology DSM), regardless of CPU type
355
372
  OS_ONLY_LINUX = 5
356
373
 
374
+ # When resetting a password with the API, set the PasswordFormat to this value. The Comet Server will re-hash the credential automatically.
357
375
  PASSWORD_FORMAT_PLAINTEXT = 0
358
376
 
359
- # PSAType:
377
+ # PSAType
360
378
  PSA_TYPE_GENERIC = 0
361
379
 
362
- # PSAType:
380
+ # PSAType
363
381
  PSA_TYPE_GRADIENT = 1
364
382
 
365
383
  RELEASE_CODENAME = 'Voyager'
366
384
 
367
- # RemoteServerType:
385
+ # RemoteServerType
368
386
  REMOTESERVER_COMET = 'comet'
369
387
 
370
- # RemoteServerType:
388
+ # RemoteServerType
371
389
  REMOTESERVER_LDAP = 'ldap'
372
390
 
373
- # RemoteServerType:
391
+ # RemoteServerType
374
392
  REMOTESERVER_B2 = 'b2'
375
393
 
376
- # RemoteServerType:
394
+ # RemoteServerType
377
395
  REMOTESERVER_WASABI = 'wasabi'
378
396
 
379
- # RemoteServerType:
397
+ # RemoteServerType
380
398
  REMOTESERVER_CUSTOM = 'custom'
381
399
 
382
- # RemoteServerType:
400
+ # RemoteServerType
383
401
  REMOTESERVER_S3_GENERIC = 's3'
384
402
 
385
- # RemoteServerType:
403
+ # RemoteServerType
386
404
  REMOTESERVER_AWS = 'aws'
387
405
 
388
- # RemoteServerType:
406
+ # RemoteServerType
389
407
  REMOTESERVER_STORJ = 'storj'
390
408
 
391
- # RemoteServerType:
409
+ # RemoteServerType
392
410
  REMOTESERVER_IDRIVEE2 = 'idrivee2'
393
411
 
394
- # ReplicatorState:
412
+ # ReplicatorState
395
413
  REPLICATOR_STATE_NONE = 0
396
414
 
397
- # ReplicatorState:
415
+ # ReplicatorState
398
416
  REPLICATOR_STATE_FILE_LIST_WORKER_STARTED = 1
399
417
 
400
- # ReplicatorState:
418
+ # ReplicatorState
401
419
  REPLICATOR_STATE_FILE_LIST_SYNC_RUNNING = 2
402
420
 
403
- # ReplicatorState:
421
+ # ReplicatorState
404
422
  REPLICATOR_STATE_FILE_LIST_SYNC_FINISHED = 4
405
423
 
406
- # ReplicatorState:
424
+ # ReplicatorState
407
425
  REPLICATOR_STATE_WORKERS_STARTED = 8
408
426
 
409
- # ReplicatorDisplayClass:
427
+ # ReplicatorDisplayClass
410
428
  REPLICATOR_DISPLAYCLASS_STORAGE = 100
411
429
 
412
- # ReplicatorDisplayClass:
430
+ # ReplicatorDisplayClass
413
431
  REPLICATOR_DISPLAYCLASS_USER = 101
414
432
 
415
- # RestoreArchiveFormat:
433
+ # RestoreArchiveFormat
416
434
  RESTOREARCHIVEFORMAT_TAR = 0
417
435
 
418
- # RestoreArchiveFormat:
436
+ # RestoreArchiveFormat
419
437
  RESTOREARCHIVEFORMAT_TARGZ = 1
420
438
 
421
- # RestoreArchiveFormat:
439
+ # RestoreArchiveFormat
422
440
  RESTOREARCHIVEFORMAT_ZIP = 2
423
441
 
424
442
  # RestoreArchiveFormat: SquashFS container
425
443
  RESTOREARCHIVEFORMAT_SQFS = 3
426
444
 
427
- # RestoreArchiveFormat:
445
+ # RestoreArchiveFormat
428
446
  RESTOREARCHIVEFORMAT_TARZSTD = 4
429
447
 
430
- # RestoreType:
448
+ # RestoreType
431
449
  RESTORETYPE_INVALID = -1
432
450
 
433
- # RestoreType:
451
+ # RestoreType
434
452
  RESTORETYPE_FILE = 0
435
453
 
436
- # RestoreType:
454
+ # RestoreType
437
455
  RESTORETYPE_NULL = 1
438
456
 
439
- # RestoreType:
457
+ # RestoreType
440
458
  RESTORETYPE_PROCESS_PERFILE = 2
441
459
 
442
- # RestoreType:
460
+ # RestoreType
443
461
  RESTORETYPE_PROCESS_ARCHIVE = 3
444
462
 
445
- # RestoreType:
463
+ # RestoreType
446
464
  RESTORETYPE_WINDISK = 4
447
465
 
448
- # RestoreType:
466
+ # RestoreType
449
467
  RESTORETYPE_FILE_ARCHIVE = 5
450
468
 
451
- # RestoreType:
469
+ # RestoreType
452
470
  RESTORETYPE_OFFICE365_CLOUD = 6
453
471
 
454
- # RestoreType:
472
+ # RestoreType
455
473
  RESTORETYPE_VMDK_FILE = 7
456
474
 
457
- # RestoreType:
475
+ # RestoreType
458
476
  RESTORETYPE_VMDK_FILE_NULL = 8
459
477
 
460
- # RestoreType:
478
+ # RestoreType
461
479
  RESTORETYPE_VMDK_FILE_ARCHIVE = 9
462
480
 
463
- # RestoreType:
481
+ # RestoreType
464
482
  RESTORETYPE_MYSQL = 10
465
483
 
466
- # RestoreType:
484
+ # RestoreType
467
485
  RESTORETYPE_MSSQL = 11
468
486
 
469
- # RestoreType: RESTORETYPE_PROCESS_ARCHIVE
487
+ # RestoreType: Legacy name alias - Prefer to use RESTORETYPE_PROCESS_ARCHIVE since multiple archive file formats are supported within this single RESTORETYPE_
470
488
  RESTORETYPE_PROCESS_TARBALL = 3
471
489
 
472
490
  # RetentionMode: If this mode is set in a RetentionPolicy, then RetentionPolicy.Ranges should be ignored.
@@ -475,7 +493,7 @@ module Comet
475
493
  # RetentionMode: Delete everything except for jobs matching the ranges in RetentionPolicy.Ranges.
476
494
  RETENTIONMODE_DELETE_EXCEPT = 802
477
495
 
478
- # RetentionRangeType:
496
+ # RetentionRangeType
479
497
  RETENTIONRANGE__LOWEST = 900
480
498
 
481
499
  # RetentionRangeType: Uses Jobs
@@ -490,7 +508,8 @@ module Comet
490
508
  # RetentionRangeType: Uses Days
491
509
  RETENTIONRANGE_FIRST_JOB_FOR_EACH_LAST_X_DAYS = 903
492
510
 
493
- # RetentionRangeType: Removed
511
+ # RetentionRangeType
512
+ # @deprecated This const has been deprecated since Comet version 17.2.0
494
513
  RETENTIONRANGE__RESERVED904 = 904
495
514
 
496
515
  # RetentionRangeType: Uses Months, MonthOffset
@@ -508,29 +527,29 @@ module Comet
508
527
  # RetentionRangeType: Uses Jobs
509
528
  RETENTIONRANGE_LAST_X_BACKUPS_ONE_FOR_EACH_MONTH = 909
510
529
 
511
- # RetentionRangeType:
530
+ # RetentionRangeType
512
531
  RETENTIONRANGE__HIGHEST = 909
513
532
 
514
533
  RETENTIONRANGE_MAXINT = 1_125_899_906_842_624
515
534
 
516
535
  SCHEDULE_FREQUENCY_LOWEST = 8010
517
536
 
518
- # epoch time
537
+ # SecondsPast should be a Unix timestamp, in seconds
519
538
  SCHEDULE_FREQUENCY_ONCEONLY = 8010
520
539
 
521
- # seconds past 00:00 local time
540
+ # SecondsPast is the number of seconds past 00:00, in the device's local timezone.
522
541
  SCHEDULE_FREQUENCY_DAILY = 8011
523
542
 
524
- # seconds past *:00 local time
543
+ # SecondsPast is the number of seconds past *:00, in the device's local timezone.
525
544
  SCHEDULE_FREQUENCY_HOURLY = 8012
526
545
 
527
- # seconds past 00:00 Sunday, local time
546
+ # SecondsPast is the number of seconds past 00:00 Sunday, in the device's local timezone.
528
547
  SCHEDULE_FREQUENCY_WEEKLY = 8013
529
548
 
530
- # seconds past 00:00 1st, local time
549
+ # SecondsPast is the number of seconds past 00:00 1st, in the device's local timezone.
531
550
  SCHEDULE_FREQUENCY_MONTHLY = 8014
532
551
 
533
- # SecondsPast: number of seconds per period. Offset: Shunt seconds after unix epoch
552
+ # SecondsPast is the number of seconds per period. Offset: Shunt seconds after unix epoch
534
553
  SCHEDULE_FREQUENCY_PERIODIC = 8015
535
554
 
536
555
  SCHEDULE_FREQUENCY_HIGHEST = 8015
@@ -538,22 +557,21 @@ module Comet
538
557
  # Maximum random delay (5 hours)
539
558
  SCHEDULE_MAX_RANDOM_DELAY_SECS = 18_000
540
559
 
541
- # 2^50 (1 << 50)
542
560
  SCHEDULE_MAXINT = 1_125_899_906_842_624
543
561
 
544
- # SearchClauseType:
562
+ # SearchClauseType
545
563
  SEARCHCLAUSE_RULE = ''
546
564
 
547
- # SearchClauseType:
565
+ # SearchClauseType
548
566
  SEARCHCLAUSE_AND = 'and'
549
567
 
550
- # SearchClauseType:
568
+ # SearchClauseType
551
569
  SEARCHCLAUSE_OR = 'or'
552
570
 
553
- # SearchClauseType:
571
+ # SearchClauseType
554
572
  SEARCHCLAUSE_NOT_AND = 'not_and'
555
573
 
556
- # SearchClauseType:
574
+ # SearchClauseType
557
575
  SEARCHCLAUSE_NOT_OR = 'not_or'
558
576
 
559
577
  SEARCHOPERATOR_STRING_EQ = 'str_eq'
@@ -618,34 +636,34 @@ module Comet
618
636
 
619
637
  SERVICE_ONEDRIVE = 16
620
638
 
621
- # DefaultSettingMode:
639
+ # DefaultSettingMode
622
640
  SETTING_SYSTEM_DEFAULT = 0
623
641
 
624
- # DefaultSettingMode:
642
+ # DefaultSettingMode
625
643
  SETTING_OPTIONAL_DEFAULT_ON = 1
626
644
 
627
- # DefaultSettingMode:
645
+ # DefaultSettingMode
628
646
  SETTING_OPTIONAL_DEFAULT_OFF = 2
629
647
 
630
- # DefaultSettingMode:
648
+ # DefaultSettingMode
631
649
  SETTING_ENFORCED_ON = 3
632
650
 
633
- # DefaultSettingMode:
651
+ # DefaultSettingMode
634
652
  SETTING_ENFORCED_OFF = 4
635
653
 
636
- # Severity:
654
+ # Severity
637
655
  SEVERITY_INFO = 'I'
638
656
 
639
- # Severity:
657
+ # Severity
640
658
  SEVERITY_WARNING = 'W'
641
659
 
642
- # Severity:
660
+ # Severity
643
661
  SEVERITY_ERROR = 'E'
644
662
 
645
- # StreamableEventType:
663
+ # StreamableEventType
646
664
  SEVT__MIN = 4000
647
665
 
648
- # StreamableEventType: Event is emitted when the webhook is registered, or when the server starts up. The Data associated is ServerMetaVersionInfo
666
+ # StreamableEventType: This event is emitted when the webhook is registered, or when the server starts up. The Data associated is ServerMetaVersionInfo
649
667
  SEVT_META_HELLO = 4000
650
668
 
651
669
  # StreamableEventType: Data is the profile object
@@ -657,125 +675,127 @@ module Comet
657
675
  # StreamableEventType: Data is the profile object
658
676
  SEVT_ACCOUNT_UPDATED = 4102
659
677
 
660
- # StreamableEventType:
678
+ # StreamableEventType
661
679
  SEVT_JOB_NEW = 4200
662
680
 
663
- # StreamableEventType:
681
+ # StreamableEventType
664
682
  SEVT_JOB_COMPLETED = 4201
665
683
 
666
684
  # StreamableEventType: Data is the string bucket ref
667
685
  SEVT_BUCKET_NEW = 4300
668
686
 
669
- # StreamableEventType:
687
+ # StreamableEventType
670
688
  SEVT__MAX = 4999
671
689
 
672
- # SSHAuthMode:
690
+ # SSHAuthMode
673
691
  SSHCONNECTION_AUTHMODE__INVALID = 0
674
692
 
675
- # SSHAuthMode:
693
+ # SSHAuthMode
676
694
  SSHCONNECTION_AUTHMODE_PASSWORD = 1
677
695
 
678
- # SSHAuthMode: n.b. change values
696
+ # SSHAuthMode
679
697
  SSHCONNECTION_AUTHMODE_PRIVATEKEY = 2
680
698
 
681
- # StoredObjectType:
699
+ # StoredObjectType
682
700
  STOREDOBJECTTYPE_FILE = 'file'
683
701
 
684
- # StoredObjectType:
702
+ # StoredObjectType
685
703
  STOREDOBJECTTYPE_DIRECTORY = 'dir'
686
704
 
687
- # StoredObjectType:
705
+ # StoredObjectType
688
706
  STOREDOBJECTTYPE_SYMLINK = 'symlink'
689
707
 
690
- # StoredObjectType:
708
+ # StoredObjectType
691
709
  STOREDOBJECTTYPE_UNIXBLOCKDEVICE = 'dev'
692
710
 
693
- # StoredObjectType:
711
+ # StoredObjectType
694
712
  STOREDOBJECTTYPE_UNIXCHARDEVICE = 'chardev'
695
713
 
696
- # StoredObjectType:
714
+ # StoredObjectType
697
715
  STOREDOBJECTTYPE_UNIXFIFO = 'fifo'
698
716
 
699
- # StoredObjectType:
717
+ # StoredObjectType
700
718
  STOREDOBJECTTYPE_UNIXSOCKET = 'socket'
701
719
 
702
- # StoredObjectType:
720
+ # StoredObjectType
703
721
  STOREDOBJECTTYPE_WINEFS = 'winefs'
704
722
 
705
- # StoredObjectType: "file"
723
+ # StoredObjectType
706
724
  STOREDOBJECTTYPE_EMAILMESSAGE = 'emailmessage'
707
725
 
708
- # StoredObjectType: "dir"
726
+ # StoredObjectType
709
727
  STOREDOBJECTTYPE_EMAILFOLDER = 'mailfolder'
710
728
 
711
- # StoredObjectType: "file"
729
+ # StoredObjectType
712
730
  STOREDOBJECTTYPE_OFFICECONTACT = 'contact'
713
731
 
714
- # StoredObjectType: "dir"
732
+ # StoredObjectType
715
733
  STOREDOBJECTTYPE_OFFICECONTACTFOLDER = 'contactfolder'
716
734
 
717
- # StoredObjectType: "file"
735
+ # StoredObjectType
718
736
  STOREDOBJECTTYPE_OFFICECALENDAREVENT = 'calendarevent'
719
737
 
720
- # StoredObjectType: "dir"
738
+ # StoredObjectType
721
739
  STOREDOBJECTTYPE_OFFICECALENDAR = 'calendar'
722
740
 
723
- # StoredObjectType:
741
+ # StoredObjectType
724
742
  STOREDOBJECTTYPE_MSSITE = 'mssite'
725
743
 
726
- # StoredObjectType:
744
+ # StoredObjectType
727
745
  STOREDOBJECTTYPE_MSSITE_TEAM = 'mssiteteam'
728
746
 
729
- # StoredObjectType:
747
+ # StoredObjectType
730
748
  STOREDOBJECTTYPE_MSSITELISTENTITY = 'mssitelistentity'
731
749
 
732
- # StoredObjectType:
750
+ # StoredObjectType
733
751
  STOREDOBJECTTYPE_MSSITEITEMENTITY = 'mssiteitementity'
734
752
 
735
- # StoredObjectType:
753
+ # StoredObjectType
736
754
  STOREDOBJECTTYPE_MSSITELISTDRIVEENTITY = 'mssitelistdriveentity'
737
755
 
738
- # StoredObjectType:
756
+ # StoredObjectType
739
757
  STOREDOBJECTTYPE_VMDK_FILE = 'vmdkfile'
740
758
 
741
- # StoredObjectType:
759
+ # StoredObjectType
742
760
  STOREDOBJECTTYPE_VMDK_DIRECTORY = 'vmdkdir'
743
761
 
744
- # StoredObjectType:
762
+ # StoredObjectType
745
763
  STOREDOBJECTTYPE_VMDK_WINEFS = 'vmdkwinefs'
746
764
 
747
- # StoredObjectType:
765
+ # StoredObjectType
748
766
  STOREDOBJECTTYPE_VMDK_SYMLINK = 'vmdksymlink'
749
767
 
750
- # StoredObjectType:
768
+ # StoredObjectType
751
769
  STOREDOBJECTTYPE_VIRTUALIMAGE_DISK = 'virtualimagedisk'
752
770
 
753
- # StoredObjectType:
771
+ # StoredObjectType
754
772
  STOREDOBJECTTYPE_VHDX_GPT_PARTITION = 'vhdxpartitiongpt'
755
773
 
756
- # StoredObjectType:
774
+ # StoredObjectType
757
775
  STOREDOBJECTTYPE_VHDX_MBR_PARTITION = 'vhdxpartitionmbr'
758
776
 
777
+ # If an API response returns in failure, but it includes this value in the CometAPIResponseMessage->Message parameter, it indicates that your supplied authentication was insufficient, and you must supply additional two-factor authentication credentials.
759
778
  TOTPREQUIRED_ERROR = 'ERR_TOTP_REQUIRED'
760
779
 
761
- # UpdateStatus:
780
+ # UpdateStatus
762
781
  UPDATESTATUS_NOT_SEEN = 0
763
782
 
764
- # UpdateStatus:
783
+ # UpdateStatus: The selected device does not meet the filter criteria from the Bulk Update Campaign's configuration.
765
784
  UPDATESTATUS_INELIGIBLE = 1
766
785
 
767
- # UpdateStatus:
786
+ # UpdateStatus
768
787
  UPDATESTATUS_PENDING = 2
769
788
 
770
- # UpdateStatus:
789
+ # UpdateStatus: The device has made a live connection and it meets the filter criteria. A live connection message has been sent asking it to perform the software upgrade.
771
790
  UPDATESTATUS_REQUEST_MADE = 3
772
791
 
773
- # UpdateStatus: Device reconnected with bad version
792
+ # UpdateStatus: An update signal was sent to the device, but when it reconnected, it did not advertise the target software version. It's likely that the update failed - please check the device's Update log for more information.
774
793
  UPDATESTATUS_UPDATE_FAILED = 4
775
794
 
776
- # UpdateStatus:
795
+ # UpdateStatus: The device has successfully updated to the target version.
777
796
  UPDATESTATUS_UPDATE_CONFIRMED = 5
778
797
 
798
+ # If an API response returns in failure, but it includes this value in the CometAPIResponseMessage->Message parameter, it indicates that the specified Device ID was invalid or not found.
779
799
  UNKNOWN_DEVICE_ERROR = 'ERR_UNKNOWN_DEVICE'
780
800
 
781
801
  UNSUPPORT_VHDX_FILE_SYSTEM = 'ERR_UNSUPPORT_VHDX_FILE_SYSTEM'
@@ -784,41 +804,41 @@ module Comet
784
804
 
785
805
  VHDX_PARTITON_READ_ERR_MSG = 'ERR_VHDX_PARTITION'
786
806
 
787
- # WebAuthnDeviceType:
807
+ # WebAuthnDeviceType
788
808
  WEBAUTHN_DEVICE_TYPE__UNKNOWN = 0
789
809
 
790
- # WebAuthnDeviceType:
810
+ # WebAuthnDeviceType
791
811
  WEBAUTHN_DEVICE_TYPE__HARDWARE_TOKEN = 1
792
812
 
793
- # WebAuthnDeviceType:
813
+ # WebAuthnDeviceType
794
814
  WEBAUTHN_DEVICE_TYPE__ANDROID = 2
795
815
 
796
- # WebAuthnDeviceType:
816
+ # WebAuthnDeviceType
797
817
  WEBAUTHN_DEVICE_TYPE__APPLE = 3
798
818
 
799
- # WebAuthnDeviceType:
819
+ # WebAuthnDeviceType
800
820
  WEBAUTHN_DEVICE_TYPE__TPM_GENERIC = 4
801
821
 
802
- # WebAuthnDeviceType:
822
+ # WebAuthnDeviceType
803
823
  WEBAUTHN_DEVICE_TYPE__TPM_WINDOWS = 5
804
824
 
805
- # WebAuthnDeviceType:
825
+ # WebAuthnDeviceType
806
826
  WEBAUTHN_DEVICE_TYPE__TPM_LINUX = 6
807
827
 
808
828
  # WindowsCodesignMethod: When upgrading from a version of Comet Server prior to 22.12.7, this option will be automatically converted to a more specific type..
809
829
  # @deprecated This const has been deprecated since Comet version 22.12.7
810
830
  WINDOWSCODESIGN_METHOD_AUTO = 0
811
831
 
812
- # WindowsCodesignMethod:
832
+ # WindowsCodesignMethod: Do not perform Authenticode codesigning
813
833
  WINDOWSCODESIGN_METHOD_DISABLED = 1
814
834
 
815
- # WindowsCodesignMethod:
835
+ # WindowsCodesignMethod: Use a configured PKCS#12 key file for Authenticode codesigning
816
836
  WINDOWSCODESIGN_METHOD_PKCS12FILE = 2
817
837
 
818
- # WindowsCodesignMethod:
838
+ # WindowsCodesignMethod: Use a configured PKCS#11 hardware security module (HSM) for Authenticode codesigning
819
839
  WINDOWSCODESIGN_METHOD_PKCS11HSM = 3
820
840
 
821
- # WindowsCodesignMethod:
841
+ # WindowsCodesignMethod: Use a configured Azure Key Vault for Authenticode codesigning
822
842
  WINDOWSCODESIGN_METHOD_AZUREKEYVAULT = 4
823
843
 
824
844
  end