comet_backup_ruby_sdk 2.8.0 → 2.9.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 +11 -0
- data/Gemfile.lock +1 -1
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/definitions.rb +165 -42
- data/lib/comet/models/azure_destination_location.rb +2 -0
- data/lib/comet/models/b2destination_location.rb +2 -0
- data/lib/comet/models/backup_job_advanced_options.rb +3 -0
- data/lib/comet/models/backup_job_detail.rb +1 -0
- data/lib/comet/models/backup_job_progress.rb +4 -1
- data/lib/comet/models/backup_rule_config.rb +4 -0
- data/lib/comet/models/branding_options.rb +2 -0
- data/lib/comet/models/comet_destination_location.rb +1 -0
- data/lib/comet/models/constellation_check_report.rb +2 -0
- data/lib/comet/models/content_measurement.rb +2 -0
- data/lib/comet/models/content_measurement_component.rb +12 -0
- data/lib/comet/models/default_email_report_policy.rb +4 -0
- data/lib/comet/models/destination_config.rb +35 -1
- data/lib/comet/models/destination_location.rb +33 -1
- data/lib/comet/models/destination_statistics.rb +2 -0
- data/lib/comet/models/device_config.rb +1 -0
- data/lib/comet/models/file_option.rb +132 -0
- data/lib/comet/models/ftpdestination_location.rb +5 -1
- data/lib/comet/models/local_destination_location.rb +5 -0
- data/lib/comet/models/mac_oscode_sign_properties.rb +1 -0
- data/lib/comet/models/mssqllogin_args.rb +2 -0
- data/lib/comet/models/my_sqlconnection.rb +2 -0
- data/lib/comet/models/office_365custom_setting.rb +3 -0
- data/lib/comet/models/office_365custom_setting_v2.rb +9 -0
- data/lib/comet/models/organization.rb +85 -70
- data/lib/comet/models/restore_job_advanced_options.rb +1 -0
- data/lib/comet/models/search_result_file_info.rb +39 -17
- data/lib/comet/models/self_backup_export_options.rb +3 -0
- data/lib/comet/models/self_backup_target.rb +4 -0
- data/lib/comet/models/server_config_options.rb +23 -0
- data/lib/comet/models/session_options.rb +2 -0
- data/lib/comet/models/sftpdestination_location.rb +7 -0
- data/lib/comet/models/size_measurement.rb +3 -0
- data/lib/comet/models/source_basic_info.rb +1 -0
- data/lib/comet/models/source_config.rb +6 -4
- data/lib/comet/models/source_include_pattern.rb +5 -0
- data/lib/comet/models/spanned_destination_location.rb +11 -0
- data/lib/comet/models/sshconnection.rb +6 -0
- data/lib/comet/models/stored_object.rb +7 -0
- data/lib/comet/models/streamable_event.rb +42 -0
- data/lib/comet/models/user_profile_config.rb +9 -0
- data/lib/comet/models/user_profile_fragment.rb +1 -0
- data/lib/comet/models/web_interface_branding_properties.rb +2 -0
- data/lib/comet/models/webhook_option.rb +35 -16
- data/lib/comet_backup_ruby_sdk.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 535a75d833c8c1a3974c03508214df23536d188b0fa5c844f82d40142bab059b
|
4
|
+
data.tar.gz: f14c818c7c052a37a3cab8202e1d891c52e02ad45ed32a043de4ed1b311b2807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 482109073db2fd013d9fd3a4b81c6ee4a74891a97f5da029696e00106b46e0f5fe3addde28da1e1b0d7b7e8ce00b61895af4509a1c22bc47dc2a997f9730bebd
|
7
|
+
data.tar.gz: da454607ab7f08673a79776c06360d5da50c3acdb325e6119e087118719119819e720fbe9f9db2e9287ce6649735edf1f527142840b708fa6db324a4d9ec2fed
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 2023-06-01 v2.9.0
|
4
|
+
|
5
|
+
- Based on Comet 23.5.0
|
6
|
+
- Add new `StreamableEventType` constants (`SEVT_*`) used for tracking Comet Server config changes
|
7
|
+
- Add new `StreamerType` constants (`STREAMER_TYPE_*`)
|
8
|
+
- Add new `FileOptions` type for configuring the Comet Server to log live events to a file
|
9
|
+
- Add new field `AuditFileOptions` to the `Organization` type for configuring per-tenant audit log options
|
10
|
+
- Add `Actor` (authenticated user), `ResourceID`, `Timestamp` and `TypeString` fields to the `StreamableEvent` type
|
11
|
+
- Deprecate the `UserProfileFragment` type
|
12
|
+
- Add extra comments to many types
|
13
|
+
|
3
14
|
## 2023-05-05 v2.8.0
|
4
15
|
|
5
16
|
- Based on Comet 23.3.7
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
12
12
|
|
13
13
|
Gem::Specification.new do |spec|
|
14
14
|
spec.name = 'comet_backup_ruby_sdk'
|
15
|
-
spec.version = '2.
|
15
|
+
spec.version = '2.9.0'
|
16
16
|
spec.authors = ['Comet Licensing Ltd.']
|
17
17
|
spec.email = ['hello@cometbackup.com']
|
18
18
|
|
data/lib/comet/definitions.rb
CHANGED
@@ -7,13 +7,13 @@
|
|
7
7
|
|
8
8
|
module Comet
|
9
9
|
|
10
|
-
APPLICATION_VERSION = '23.
|
10
|
+
APPLICATION_VERSION = '23.5.0'
|
11
11
|
|
12
12
|
APPLICATION_VERSION_MAJOR = 23
|
13
13
|
|
14
|
-
APPLICATION_VERSION_MINOR =
|
14
|
+
APPLICATION_VERSION_MINOR = 5
|
15
15
|
|
16
|
-
APPLICATION_VERSION_REVISION =
|
16
|
+
APPLICATION_VERSION_REVISION = 0
|
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
|
@@ -27,12 +27,16 @@ module Comet
|
|
27
27
|
# AutoRetentionLevel: The system will follow the automatic ruleset for a 'Low Power' device.
|
28
28
|
BACKUPJOBAUTORETENTION_LESS_OFTEN = 3
|
29
29
|
|
30
|
+
# If set, will be automatically replaced with one of the other BRANDINGSTYLETYPE_ constants after next server upgrade.
|
30
31
|
BRANDINGSTYLETYPE_AUTO_LEGACY = 0
|
31
32
|
|
33
|
+
# Use Comet company branding and colours for all web interface branding
|
32
34
|
BRANDINGSTYLETYPE_DEFAULT = 1
|
33
35
|
|
36
|
+
# Use custom branding and colours, with text in the main logo area.
|
34
37
|
BRANDINGSTYLETYPE_CUSTOM_TEXT = 2
|
35
38
|
|
39
|
+
# Use custom branding and colours, with a supplied image in the main logo area.
|
36
40
|
BRANDINGSTYLETYPE_CUSTOM_LOGO = 3
|
37
41
|
|
38
42
|
# ClientBrandingBuildMode: The software client will be custom-built by this Comet Server, allowing custom branding, default server URL, and codesigning.
|
@@ -81,28 +85,40 @@ module Comet
|
|
81
85
|
|
82
86
|
DESTINATIONTYPE___INVALID = 0
|
83
87
|
|
88
|
+
# S3-compatible, or a specific S3 service such as AWS S3, Wasabi, or iDrive e2
|
84
89
|
DESTINATIONTYPE_S3 = 1000
|
85
90
|
|
91
|
+
# SFTP protocol
|
86
92
|
DESTINATIONTYPE_SFTP = 1001
|
87
93
|
|
94
|
+
# Local Path
|
88
95
|
DESTINATIONTYPE_LOCALCOPY = 1002
|
89
96
|
|
97
|
+
# The Comet Server Storage Role protocol
|
90
98
|
DESTINATIONTYPE_COMET = 1003
|
91
99
|
|
100
|
+
# FTP protocol
|
92
101
|
DESTINATIONTYPE_FTP = 1004
|
93
102
|
|
103
|
+
# Azure Blob Storage
|
94
104
|
DESTINATIONTYPE_AZUREBLOB = 1005
|
95
105
|
|
106
|
+
# Spanned
|
96
107
|
DESTINATIONTYPE_SPANNED = 1006
|
97
108
|
|
109
|
+
# Openstack Swift
|
98
110
|
DESTINATIONTYPE_SWIFT = 1007
|
99
111
|
|
112
|
+
# Backblaze B2 (Native API)
|
100
113
|
DESTINATIONTYPE_B2 = 1008
|
101
114
|
|
115
|
+
# Storj
|
102
116
|
DESTINATIONTYPE_STORJ = 1009
|
103
117
|
|
118
|
+
# When defining a schedule via policy, use this option to dynamically select the Storage Vault that was created most recently.
|
104
119
|
DESTINATIONTYPE_LATEST = 1100
|
105
120
|
|
121
|
+
# When defining a schedule via policy, use this option to create a schedule for each Storage Vault in the user's profile.
|
106
122
|
DESTINATIONTYPE_ALL = 1101
|
107
123
|
|
108
124
|
# The Comet Server is still starting up and has not yet checked whether any email reports are due to be sent.
|
@@ -192,25 +208,25 @@ module Comet
|
|
192
208
|
# Office 365
|
193
209
|
ENGINE_BUILTIN_MSOFFICE = 'engine1/winmsofficemail'
|
194
210
|
|
195
|
-
# FtpsModeType
|
211
|
+
# FtpsModeType: Use plain FTP, do not use FTPS.
|
196
212
|
FTPS_MODE_PLAINTEXT = 0
|
197
213
|
|
198
|
-
# FtpsModeType
|
214
|
+
# FtpsModeType: Use implicit FTPS, immediately creating a secure SSL/TLS channel before any data is sent. This usually requires a different port on the FTP server. It is generally advised to use explicit mode instead.
|
199
215
|
FTPS_MODE_IMPLICIT = 1
|
200
216
|
|
201
|
-
# FtpsModeType
|
217
|
+
# FtpsModeType: Use explicit FTPS, first creating an insecure connection and then upgrading to SSL/TLS using AUTH TLS (like STARTTLS).
|
202
218
|
FTPS_MODE_EXPLICIT = 2
|
203
219
|
|
204
|
-
# JobClassification
|
220
|
+
# JobClassification: All BackupJobDetail.Classification fields will fall in the 4xxx range.
|
205
221
|
JOB_CLASSIFICATION__MIN = 4000
|
206
222
|
|
207
223
|
# JobClassification
|
208
224
|
JOB_CLASSIFICATION_UNKNOWN = 4000
|
209
225
|
|
210
|
-
# JobClassification
|
226
|
+
# JobClassification: This is a backup job.
|
211
227
|
JOB_CLASSIFICATION_BACKUP = 4001
|
212
228
|
|
213
|
-
# JobClassification
|
229
|
+
# JobClassification: This is a restore job.
|
214
230
|
JOB_CLASSIFICATION_RESTORE = 4002
|
215
231
|
|
216
232
|
# JobClassification: Automatic or manual retention cleaning pass.
|
@@ -228,13 +244,13 @@ module Comet
|
|
228
244
|
# JobClassification: Software update
|
229
245
|
JOB_CLASSIFICATION_UPDATE = 4007
|
230
246
|
|
231
|
-
# JobClassification
|
247
|
+
# JobClassification: Importing settings from another installed product
|
232
248
|
JOB_CLASSIFICATION_IMPORT = 4008
|
233
249
|
|
234
250
|
# JobClassification: Repair indexes
|
235
251
|
JOB_CLASSIFICATION_REINDEX = 4009
|
236
252
|
|
237
|
-
# JobClassification
|
253
|
+
# JobClassification: Deep Verify
|
238
254
|
JOB_CLASSIFICATION_DEEPVERIFY = 4010
|
239
255
|
|
240
256
|
# JobClassification: Software uninstall
|
@@ -243,7 +259,7 @@ module Comet
|
|
243
259
|
# JobClassification
|
244
260
|
JOB_CLASSIFICATION__MAX = 4999
|
245
261
|
|
246
|
-
# JobStatus
|
262
|
+
# JobStatus: If the BackupJobDetail.Status field is a 5xxx code, the job has stopped for a successful reason.
|
247
263
|
JOB_STATUS_STOP_SUCCESS__MIN = 5000
|
248
264
|
|
249
265
|
# JobStatus
|
@@ -252,7 +268,7 @@ module Comet
|
|
252
268
|
# JobStatus
|
253
269
|
JOB_STATUS_STOP_SUCCESS__MAX = 5999
|
254
270
|
|
255
|
-
# JobStatus
|
271
|
+
# JobStatus: If the BackupJobDetail.Status field is a 6xxx code, the job is still running.
|
256
272
|
JOB_STATUS_RUNNING__MIN = 6000
|
257
273
|
|
258
274
|
# JobStatus: Unused
|
@@ -267,7 +283,7 @@ module Comet
|
|
267
283
|
# JobStatus
|
268
284
|
JOB_STATUS_RUNNING__MAX = 6999
|
269
285
|
|
270
|
-
# JobStatus
|
286
|
+
# JobStatus: If the BackupJobDetail.Status field is a 7xxx code, the job has stopped for an unsuccessful reason.
|
271
287
|
JOB_STATUS_FAILED__MIN = 7000
|
272
288
|
|
273
289
|
# JobStatus
|
@@ -306,13 +322,13 @@ module Comet
|
|
306
322
|
# LDAPSecurityMethod
|
307
323
|
LDAPSECURITYMETHOD_STARTTLS = 'starttls'
|
308
324
|
|
309
|
-
# MacOSCodesignLevel
|
325
|
+
# MacOSCodesignLevel: Sign only
|
310
326
|
MACOSCODESIGN_LEVEL_SIGN = 0
|
311
327
|
|
312
|
-
# MacOSCodesignLevel
|
328
|
+
# MacOSCodesignLevel: Sign and notarize
|
313
329
|
MACOSCODESIGN_LEVEL_SIGN_NOTARISE = 1
|
314
330
|
|
315
|
-
# MacOSCodesignLevel
|
331
|
+
# MacOSCodesignLevel: Sign, notarize, and staple
|
316
332
|
MACOSCODESIGN_LEVEL_SIGN_NOTARISE_STAPLE = 2
|
317
333
|
|
318
334
|
MIXED_VIRTUAL_ACCOUNT_TYPE_USER = 1
|
@@ -380,7 +396,7 @@ module Comet
|
|
380
396
|
# PSAType
|
381
397
|
PSA_TYPE_GRADIENT = 1
|
382
398
|
|
383
|
-
RELEASE_CODENAME = '
|
399
|
+
RELEASE_CODENAME = 'Thebe'
|
384
400
|
|
385
401
|
# RemoteServerType
|
386
402
|
REMOTESERVER_COMET = 'comet'
|
@@ -430,58 +446,58 @@ module Comet
|
|
430
446
|
# ReplicatorDisplayClass
|
431
447
|
REPLICATOR_DISPLAYCLASS_USER = 101
|
432
448
|
|
433
|
-
# RestoreArchiveFormat
|
449
|
+
# RestoreArchiveFormat: Tar file format
|
434
450
|
RESTOREARCHIVEFORMAT_TAR = 0
|
435
451
|
|
436
|
-
# RestoreArchiveFormat
|
452
|
+
# RestoreArchiveFormat: Compressed Tar.gz (.tgz) file format
|
437
453
|
RESTOREARCHIVEFORMAT_TARGZ = 1
|
438
454
|
|
439
|
-
# RestoreArchiveFormat
|
455
|
+
# RestoreArchiveFormat: Zip file format
|
440
456
|
RESTOREARCHIVEFORMAT_ZIP = 2
|
441
457
|
|
442
458
|
# RestoreArchiveFormat: SquashFS container
|
443
459
|
RESTOREARCHIVEFORMAT_SQFS = 3
|
444
460
|
|
445
|
-
# RestoreArchiveFormat
|
461
|
+
# RestoreArchiveFormat: Compressed Tar.zstd (.tzst) file format
|
446
462
|
RESTOREARCHIVEFORMAT_TARZSTD = 4
|
447
463
|
|
448
464
|
# RestoreType
|
449
465
|
RESTORETYPE_INVALID = -1
|
450
466
|
|
451
|
-
# RestoreType
|
467
|
+
# RestoreType: Restore as files and folders
|
452
468
|
RESTORETYPE_FILE = 0
|
453
469
|
|
454
|
-
# RestoreType
|
470
|
+
# RestoreType: Download and reconstruct files, but do not save them (for test purposes)
|
455
471
|
RESTORETYPE_NULL = 1
|
456
472
|
|
457
|
-
# RestoreType
|
473
|
+
# RestoreType: Stream each restored file into the target command stdin. The target command may be executed multiple times, once for each restored file.
|
458
474
|
RESTORETYPE_PROCESS_PERFILE = 2
|
459
475
|
|
460
|
-
# RestoreType
|
476
|
+
# RestoreType: Stream an archive of each restored file into the target command stdin. The target command will be executed only once.
|
461
477
|
RESTORETYPE_PROCESS_ARCHIVE = 3
|
462
478
|
|
463
|
-
# RestoreType
|
479
|
+
# RestoreType: Restore partitions back to the physical disk
|
464
480
|
RESTORETYPE_WINDISK = 4
|
465
481
|
|
466
|
-
# RestoreType
|
482
|
+
# RestoreType: Restore selected files and folders as a single compressed archive
|
467
483
|
RESTORETYPE_FILE_ARCHIVE = 5
|
468
484
|
|
469
|
-
# RestoreType
|
485
|
+
# RestoreType: Restore selected Office 365 emails, contacts, calendars, and SharePoint/OneDrive data directly to the Office 365 cloud service
|
470
486
|
RESTORETYPE_OFFICE365_CLOUD = 6
|
471
487
|
|
472
|
-
# RestoreType
|
488
|
+
# RestoreType: Granular restore of single files from within a Disk Image or Hyper-V backup
|
473
489
|
RESTORETYPE_VMDK_FILE = 7
|
474
490
|
|
475
|
-
# RestoreType
|
491
|
+
# RestoreType: Granular restore of single files from within a Disk Image or Hyper-V backup, downloading and reconstructing files, but without saving them (for test purposes)
|
476
492
|
RESTORETYPE_VMDK_FILE_NULL = 8
|
477
493
|
|
478
|
-
# RestoreType
|
494
|
+
# RestoreType: Granular restore of single files from within a Disk Image or Hyper-V backup, creating an archive file of all selected files
|
479
495
|
RESTORETYPE_VMDK_FILE_ARCHIVE = 9
|
480
496
|
|
481
|
-
# RestoreType
|
497
|
+
# RestoreType: Stream restore as SQL statements into a target MySQL server
|
482
498
|
RESTORETYPE_MYSQL = 10
|
483
499
|
|
484
|
-
# RestoreType
|
500
|
+
# RestoreType: Stream restore as T-SQL BACKUP output into a target Microsoft SQL Server
|
485
501
|
RESTORETYPE_MSSQL = 11
|
486
502
|
|
487
503
|
# RestoreType: Legacy name alias - Prefer to use RESTORETYPE_PROCESS_ARCHIVE since multiple archive file formats are supported within this single RESTORETYPE_
|
@@ -626,14 +642,19 @@ module Comet
|
|
626
642
|
|
627
643
|
SEARCHOPERATOR_BOOL_NIS = 'bool_nis'
|
628
644
|
|
645
|
+
# 0000 0001. If this value is present in the bitset, then the Calendar service is selected for backup.
|
629
646
|
SERVICE_CALENDAR = 1
|
630
647
|
|
648
|
+
# 0000 0010. If this value is present in the bitset, then the Contact service is selected for backup.
|
631
649
|
SERVICE_CONTACT = 2
|
632
650
|
|
651
|
+
# 0000 0100. If this value is present in the bitset, then the Mail service is selected for backup.
|
633
652
|
SERVICE_MAIL = 4
|
634
653
|
|
654
|
+
# 0000 1000. If this value is present in the bitset, then the SharePoint service is selected for backup.
|
635
655
|
SERVICE_SHAREPOINT = 8
|
636
656
|
|
657
|
+
# 0001 0000. If this value is present in the bitset, then the OneDrive service is selected for backup.
|
637
658
|
SERVICE_ONEDRIVE = 16
|
638
659
|
|
639
660
|
# DefaultSettingMode
|
@@ -663,27 +684,111 @@ module Comet
|
|
663
684
|
# StreamableEventType
|
664
685
|
SEVT__MIN = 4000
|
665
686
|
|
666
|
-
# StreamableEventType:
|
687
|
+
# StreamableEventType: New websocket connection. Data is typically ServerMetaVersionInfo
|
667
688
|
SEVT_META_HELLO = 4000
|
668
689
|
|
669
|
-
# StreamableEventType: Data is the profile object
|
690
|
+
# StreamableEventType: User created. Data is the profile object
|
670
691
|
SEVT_ACCOUNT_NEW = 4100
|
671
692
|
|
672
|
-
# StreamableEventType:
|
693
|
+
# StreamableEventType: User deleted
|
673
694
|
SEVT_ACCOUNT_REMOVED = 4101
|
674
695
|
|
675
|
-
# StreamableEventType: Data is the profile object
|
696
|
+
# StreamableEventType: User updated. Data is the profile object
|
676
697
|
SEVT_ACCOUNT_UPDATED = 4102
|
677
698
|
|
678
|
-
# StreamableEventType
|
699
|
+
# StreamableEventType: User authentication succeeded. Only emitted for non-session requests. Resource is the requested path
|
700
|
+
SEVT_ACCOUNT_LOGIN = 4103
|
701
|
+
|
702
|
+
# StreamableEventType: User authentication failed. Only emitted if the user exists. Resource is the requested path
|
703
|
+
SEVT_ACCOUNT_LOGIN_FAILED = 4104
|
704
|
+
|
705
|
+
# StreamableEventType: User session token created. Data is the session object
|
706
|
+
SEVT_ACCOUNT_SESSION_START = 4105
|
707
|
+
|
708
|
+
# StreamableEventType: User session token deleted
|
709
|
+
SEVT_ACCOUNT_SESSION_REVOKE = 4106
|
710
|
+
|
711
|
+
# StreamableEventType: User session token expired
|
712
|
+
SEVT_ACCOUNT_SESSION_EXPIRE = 4107
|
713
|
+
|
714
|
+
# StreamableEventType: Admin created. Data is the profile object
|
715
|
+
SEVT_ACCOUNT_ADMIN_NEW = 4150
|
716
|
+
|
717
|
+
# StreamableEventType: Admin deleted
|
718
|
+
SEVT_ACCOUNT_ADMIN_REMOVED = 4151
|
719
|
+
|
720
|
+
# StreamableEventType: Admin updated
|
721
|
+
SEVT_ACCOUNT_ADMIN_UPDATED = 4152
|
722
|
+
|
723
|
+
# StreamableEventType: Admin authentication suceeded. Only emitted for non-session requests. Resource is the requested path
|
724
|
+
SEVT_ACCOUNT_ADMIN_LOGIN = 4153
|
725
|
+
|
726
|
+
# StreamableEventType: Admin authentication failed. Only emitted if the admin exists. Resource is the request path
|
727
|
+
SEVT_ACCOUNT_ADMIN_LOGIN_FAILED = 4154
|
728
|
+
|
729
|
+
# StreamableEventType: Admin session token created. Data is the session object
|
730
|
+
SEVT_ACCOUNT_ADMIN_SESSION_START = 4155
|
731
|
+
|
732
|
+
# StreamableEventType: Admin session token deleted
|
733
|
+
SEVT_ACCOUNT_ADMIN_SESSION_REVOKE = 4156
|
734
|
+
|
735
|
+
# StreamableEventType: Admin session token expired
|
736
|
+
SEVT_ACCOUNT_ADMIN_SESSION_EXPIRE = 4157
|
737
|
+
|
738
|
+
# StreamableEventType: New backup job started. Data is the job object
|
679
739
|
SEVT_JOB_NEW = 4200
|
680
740
|
|
681
|
-
# StreamableEventType
|
741
|
+
# StreamableEventType: Backup job completed. Data is the job object
|
682
742
|
SEVT_JOB_COMPLETED = 4201
|
683
743
|
|
684
|
-
# StreamableEventType:
|
744
|
+
# StreamableEventType: New bucket created
|
685
745
|
SEVT_BUCKET_NEW = 4300
|
686
746
|
|
747
|
+
# StreamableEventType: Bucket deleted
|
748
|
+
SEVT_BUCKET_REMOVED = 4301
|
749
|
+
|
750
|
+
# StreamableEventType: Server started
|
751
|
+
SEVT_SERVER_STARTED = 4400
|
752
|
+
|
753
|
+
# StreamableEventType: Server restarting (pending)
|
754
|
+
SEVT_SERVER_RESTARTED = 4401
|
755
|
+
|
756
|
+
# StreamableEventType: Server shutting down (pending)
|
757
|
+
SEVT_SERVER_SHUTDOWN = 4402
|
758
|
+
|
759
|
+
# StreamableEventType: Server configuration has been updated. Data is the server config object
|
760
|
+
SEVT_SERVER_UPDATED = 4403
|
761
|
+
|
762
|
+
# StreamableEventType: Tenant created. Data is the tenant object
|
763
|
+
SEVT_TENANT_NEW = 4500
|
764
|
+
|
765
|
+
# StreamableEventType: Tenant deleted
|
766
|
+
SEVT_TENANT_REMOVED = 4501
|
767
|
+
|
768
|
+
# StreamableEventType: Tenant updated. Data is the tenant object
|
769
|
+
SEVT_TENANT_UPDATED = 4502
|
770
|
+
|
771
|
+
# StreamableEventType: Policy created. Data is the policy object
|
772
|
+
SEVT_POLICY_NEW = 4600
|
773
|
+
|
774
|
+
# StreamableEventType: Policy deleted
|
775
|
+
SEVT_POLICY_REMOVED = 4601
|
776
|
+
|
777
|
+
# StreamableEventType: Policy updated. Data is the policy object
|
778
|
+
SEVT_POLICY_UPDATED = 4602
|
779
|
+
|
780
|
+
# StreamableEventType: Device created. Data is device object
|
781
|
+
SEVT_DEVICE_NEW = 4700
|
782
|
+
|
783
|
+
# StreamableEventType: Device deleted
|
784
|
+
SEVT_DEVICE_REMOVED = 4701
|
785
|
+
|
786
|
+
# StreamableEventType: Device live connection started
|
787
|
+
SEVT_DEVICE_LIVE_CONNECT = 4702
|
788
|
+
|
789
|
+
# StreamableEventType: Device live connection ended
|
790
|
+
SEVT_DEVICE_LIVE_DISCONNECT = 4703
|
791
|
+
|
687
792
|
# StreamableEventType
|
688
793
|
SEVT__MAX = 4999
|
689
794
|
|
@@ -774,6 +879,24 @@ module Comet
|
|
774
879
|
# StoredObjectType
|
775
880
|
STOREDOBJECTTYPE_VHDX_MBR_PARTITION = 'vhdxpartitionmbr'
|
776
881
|
|
882
|
+
# StreamLevel: Event data contains full data types
|
883
|
+
STREAM_LEVEL_FULL = 'full'
|
884
|
+
|
885
|
+
# StreamLevel: Event data contains nothing
|
886
|
+
STREAM_LEVEL_NONE = 'none'
|
887
|
+
|
888
|
+
# StreamerType
|
889
|
+
STREAMER_TYPE_INTERNAL = 'internal'
|
890
|
+
|
891
|
+
# StreamerType
|
892
|
+
STREAMER_TYPE_WEBHOOK = 'webhook'
|
893
|
+
|
894
|
+
# StreamerType
|
895
|
+
STREAMER_TYPE_WEBSOCKET = 'websocket'
|
896
|
+
|
897
|
+
# StreamerType
|
898
|
+
STREAMER_TYPE_FILE = 'file'
|
899
|
+
|
777
900
|
# 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.
|
778
901
|
TOTPREQUIRED_ERROR = 'ERR_TOTP_REQUIRED'
|
779
902
|
|
@@ -825,7 +948,7 @@ module Comet
|
|
825
948
|
# WebAuthnDeviceType
|
826
949
|
WEBAUTHN_DEVICE_TYPE__TPM_LINUX = 6
|
827
950
|
|
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
|
951
|
+
# 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.
|
829
952
|
# @deprecated This const has been deprecated since Comet version 22.12.7
|
830
953
|
WINDOWSCODESIGN_METHOD_AUTO = 0
|
831
954
|
|
@@ -10,6 +10,8 @@ require 'json'
|
|
10
10
|
module Comet
|
11
11
|
|
12
12
|
# AzureDestinationLocation is a typed class wrapper around the underlying Comet Server API data structure.
|
13
|
+
# AzureDestinationLocation allows configuring connection settings for storage locations using the
|
14
|
+
# Azure Blob Storage API (DESTINATIONTYPE_AZURE).
|
13
15
|
class AzureDestinationLocation
|
14
16
|
|
15
17
|
# @type [String] azbaccount_name
|
@@ -10,6 +10,8 @@ require 'json'
|
|
10
10
|
module Comet
|
11
11
|
|
12
12
|
# B2DestinationLocation is a typed class wrapper around the underlying Comet Server API data structure.
|
13
|
+
# B2DestinationLocation allows configuring connection settings for storage locations using the
|
14
|
+
# Backblaze B2 native API (DESTINATIONTYPE_B2).
|
13
15
|
class B2DestinationLocation
|
14
16
|
|
15
17
|
# Key ID
|
@@ -10,6 +10,9 @@ require 'json'
|
|
10
10
|
module Comet
|
11
11
|
|
12
12
|
# BackupJobAdvancedOptions is a typed class wrapper around the underlying Comet Server API data structure.
|
13
|
+
# BackupJobAdvancedOptions control additional advanced options for running a backup job. They can be
|
14
|
+
# specified as part of a schedule in the BackupRuleConfig type, or supplied immediately when running
|
15
|
+
# a job.
|
13
16
|
class BackupJobAdvancedOptions
|
14
17
|
|
15
18
|
# @type [Boolean] skip_already_running
|
@@ -91,6 +91,7 @@ module Comet
|
|
91
91
|
# @type [Number] total_unlicensed_mails_count
|
92
92
|
attr_accessor :total_unlicensed_mails_count
|
93
93
|
|
94
|
+
# If this field is present, it is possible to request cancellation of this job via the API.
|
94
95
|
# @type [String] cancellation_id
|
95
96
|
attr_accessor :cancellation_id
|
96
97
|
|
@@ -12,13 +12,16 @@ module Comet
|
|
12
12
|
# BackupJobProgress is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class BackupJobProgress
|
14
14
|
|
15
|
+
# This field will always increase monotonically, exactly once, for every change to the
|
16
|
+
# BackupJobProgress for a given backup job.
|
15
17
|
# @type [Number] counter
|
16
18
|
attr_accessor :counter
|
17
19
|
|
20
|
+
# Unix timestamp in seconds
|
18
21
|
# @type [Number] sent_time
|
19
22
|
attr_accessor :sent_time
|
20
23
|
|
21
|
-
# The typo is preserved for backwards-compatibility reasons.
|
24
|
+
# Unix timestamp in seconds. The typo is preserved for backwards-compatibility reasons.
|
22
25
|
# @type [Number] recieved_time
|
23
26
|
attr_accessor :recieved_time
|
24
27
|
|
@@ -37,9 +37,11 @@ module Comet
|
|
37
37
|
# @type [Array<String>] post_exec
|
38
38
|
attr_accessor :post_exec
|
39
39
|
|
40
|
+
# The source Protected Item ID to back up from, during this schedule
|
40
41
|
# @type [String] source
|
41
42
|
attr_accessor :source
|
42
43
|
|
44
|
+
# The destination Storage Vault ID to back up to, during this schedule
|
43
45
|
# @type [String] destination
|
44
46
|
attr_accessor :destination
|
45
47
|
|
@@ -70,9 +72,11 @@ module Comet
|
|
70
72
|
# @type [Number] auto_retention_level
|
71
73
|
attr_accessor :auto_retention_level
|
72
74
|
|
75
|
+
# Scheduled start times
|
73
76
|
# @type [Array<Comet::ScheduleConfig>] schedules
|
74
77
|
attr_accessor :schedules
|
75
78
|
|
79
|
+
# Other events that will cause this scheduled job to start
|
76
80
|
# @type [Comet::BackupRuleEventTriggers] event_triggers
|
77
81
|
attr_accessor :event_triggers
|
78
82
|
|
@@ -12,6 +12,8 @@ module Comet
|
|
12
12
|
# BrandingOptions is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class BrandingOptions
|
14
14
|
|
15
|
+
# One of the BRANDINGSTYLETYPE_ constants
|
16
|
+
# This field is available in Comet 23.3.3 and later.
|
15
17
|
# @type [Number] branding_style_type
|
16
18
|
attr_accessor :branding_style_type
|
17
19
|
|
@@ -12,6 +12,7 @@ module Comet
|
|
12
12
|
# CometDestinationLocation is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class CometDestinationLocation
|
14
14
|
|
15
|
+
# The URL for the target Comet Server Storage Role, including http/https and trailing slash
|
15
16
|
# @type [String] comet_server
|
16
17
|
attr_accessor :comet_server
|
17
18
|
|
@@ -12,9 +12,11 @@ module Comet
|
|
12
12
|
# ConstellationCheckReport is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class ConstellationCheckReport
|
14
14
|
|
15
|
+
# Unix timestamp in seconds
|
15
16
|
# @type [Number] check_started
|
16
17
|
attr_accessor :check_started
|
17
18
|
|
19
|
+
# Unix timestamp in seconds
|
18
20
|
# @type [Number] check_completed
|
19
21
|
attr_accessor :check_completed
|
20
22
|
|
@@ -12,9 +12,11 @@ module Comet
|
|
12
12
|
# ContentMeasurement is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class ContentMeasurement
|
14
14
|
|
15
|
+
# Unix timestamp in seconds
|
15
16
|
# @type [Number] measure_started
|
16
17
|
attr_accessor :measure_started
|
17
18
|
|
19
|
+
# Unix timestamp in seconds
|
18
20
|
# @type [Number] measure_completed
|
19
21
|
attr_accessor :measure_completed
|
20
22
|
|
@@ -15,6 +15,18 @@ module Comet
|
|
15
15
|
# @type [Number] bytes
|
16
16
|
attr_accessor :bytes
|
17
17
|
|
18
|
+
# A list of strings describing which groups of snapshots rely on reaching this component of data.
|
19
|
+
# The strings may take the following formats:
|
20
|
+
# - source_id/CURRENT - this data is required by the most recent backup job snapshot for the listed
|
21
|
+
# Protected Item source.
|
22
|
+
# - source_id/HISTORIC - this data is required by an older backup job snapshot for the listed
|
23
|
+
# Protected Item source.
|
24
|
+
# - TRUNCATED/* - there are too many separate components to show, and this component represents data
|
25
|
+
# that is used by some other combination of components. If present, it will be the only entry in the
|
26
|
+
# UsedBy array.
|
27
|
+
# - the empty string - this amount of data is not currently referenced by any backup job snapshots.
|
28
|
+
# If that remains the case by the next retention pass, this much data will be deleted to free up
|
29
|
+
# space. If present, it will be the only entry in the UsedBy array.
|
18
30
|
# @type [Array<String>] used_by
|
19
31
|
attr_accessor :used_by
|
20
32
|
|
@@ -12,6 +12,10 @@ module Comet
|
|
12
12
|
# DefaultEmailReportPolicy is a typed class wrapper around the underlying Comet Server API data structure.
|
13
13
|
class DefaultEmailReportPolicy
|
14
14
|
|
15
|
+
# If true, the email reports will use the custom configuration that is defined in
|
16
|
+
# UserCustomEmailSettings / Reports fields.
|
17
|
+
# If false, the email reports will use configuration from the policy setting if present, or else
|
18
|
+
# from the built-in system default email report configuration.
|
15
19
|
# @type [Boolean] should_override_default_reports
|
16
20
|
attr_accessor :should_override_default_reports
|
17
21
|
|