comet_backup_ruby_sdk 2.7.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/Gemfile.lock +1 -1
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/definitions.rb +331 -188
- data/lib/comet/models/add_bucket_response_message.rb +1 -0
- data/lib/comet/models/admin_resource_response.rb +1 -0
- data/lib/comet/models/azure_destination_location.rb +3 -0
- data/lib/comet/models/b2destination_location.rb +7 -0
- data/lib/comet/models/backup_job_advanced_options.rb +9 -0
- data/lib/comet/models/backup_job_detail.rb +15 -0
- data/lib/comet/models/backup_job_progress.rb +4 -0
- data/lib/comet/models/backup_rule_config.rb +17 -0
- data/lib/comet/models/backup_rule_event_triggers.rb +3 -0
- data/lib/comet/models/branding_options.rb +2 -0
- data/lib/comet/models/browse_disk_drives_response.rb +1 -0
- data/lib/comet/models/browse_edbresponse.rb +1 -0
- data/lib/comet/models/browse_hvresponse.rb +1 -0
- data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +1 -0
- data/lib/comet/models/browse_office_365objects_response.rb +1 -0
- data/lib/comet/models/browse_sqlserver_response.rb +1 -0
- data/lib/comet/models/browse_vssresponse.rb +1 -0
- data/lib/comet/models/bucket_usage_info.rb +2 -0
- data/lib/comet/models/comet_apiresponse_message.rb +1 -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/constellation_status_apiresponse.rb +1 -0
- data/lib/comet/models/content_measurement.rb +2 -0
- data/lib/comet/models/content_measurement_component.rb +12 -0
- data/lib/comet/models/create_group_policy_response.rb +1 -0
- data/lib/comet/models/default_email_report_policy.rb +4 -0
- data/lib/comet/models/destination_config.rb +47 -0
- data/lib/comet/models/destination_location.rb +36 -0
- data/lib/comet/models/destination_statistics.rb +2 -0
- data/lib/comet/models/device_config.rb +5 -0
- data/lib/comet/models/dispatcher_admin_sources_response.rb +1 -0
- data/lib/comet/models/dispatcher_stored_objects_response.rb +1 -0
- data/lib/comet/models/dispatcher_vault_snapshots_response.rb +1 -0
- data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +1 -0
- data/lib/comet/models/email_options.rb +1 -0
- data/lib/comet/models/email_report_config.rb +3 -0
- data/lib/comet/models/email_report_generated_preview.rb +1 -0
- data/lib/comet/models/extra_file_exclusion.rb +4 -0
- data/lib/comet/models/file_option.rb +132 -0
- data/lib/comet/models/ftpdestination_location.rb +5 -0
- data/lib/comet/models/get_group_policy_response.rb +1 -0
- data/lib/comet/models/get_profile_and_hash_response_message.rb +4 -0
- data/lib/comet/models/get_profile_hash_response_message.rb +1 -0
- data/lib/comet/models/group_policy.rb +4 -0
- data/lib/comet/models/install_token_response.rb +1 -0
- data/lib/comet/models/job_entry.rb +2 -0
- data/lib/comet/models/live_user_connection.rb +11 -0
- 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/mongo_dbconnection.rb +2 -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/office_365object_info.rb +1 -0
- data/lib/comet/models/organization.rb +85 -70
- data/lib/comet/models/request_storage_vault_response_message.rb +1 -0
- data/lib/comet/models/restore_job_advanced_options.rb +19 -0
- data/lib/comet/models/retention_policy.rb +1 -0
- data/lib/comet/models/retention_range.rb +1 -0
- data/lib/comet/models/s3destination_location.rb +1 -0
- data/lib/comet/models/search_result_file_info.rb +39 -17
- data/lib/comet/models/search_snapshots_response.rb +1 -0
- 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 +28 -0
- data/lib/comet/models/server_meta_branding_properties.rb +4 -0
- data/lib/comet/models/server_meta_version_info.rb +8 -0
- data/lib/comet/models/session_key_regenerated_response.rb +1 -0
- data/lib/comet/models/session_options.rb +2 -0
- data/lib/comet/models/sftpdestination_location.rb +8 -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 +53 -0
- 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 +7 -0
- data/lib/comet/models/stored_object.rb +7 -0
- data/lib/comet/models/streamable_event.rb +42 -0
- data/lib/comet/models/swift_destination_location.rb +7 -0
- data/lib/comet/models/test_response.rb +1 -0
- data/lib/comet/models/time_span.rb +2 -0
- data/lib/comet/models/totp_regenerated_response.rb +1 -0
- data/lib/comet/models/u2fregistration_challenge_response.rb +1 -0
- data/lib/comet/models/uninstall_config.rb +4 -0
- data/lib/comet/models/update_campaign_options.rb +3 -0
- data/lib/comet/models/update_campaign_properties.rb +3 -0
- data/lib/comet/models/update_campaign_status.rb +3 -0
- data/lib/comet/models/user_on_server.rb +2 -0
- data/lib/comet/models/user_profile_config.rb +45 -0
- data/lib/comet/models/user_profile_fragment.rb +1 -0
- data/lib/comet/models/vmdksnapshot_view_options.rb +4 -0
- data/lib/comet/models/web_authn_registration_challenge_response.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/models/win_smbauth.rb +6 -0
- data/lib/comet_backup_ruby_sdk.rb +1 -0
- metadata +3 -2
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,173 +27,206 @@ 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
|
-
# ClientBrandingBuildMode:
|
42
|
+
# ClientBrandingBuildMode: The software client will be custom-built by this Comet Server, allowing custom branding, default server URL, and codesigning.
|
39
43
|
CLIENTBRANDINGBUILD_CUSTOM = 0
|
40
44
|
|
41
|
-
# ClientBrandingBuildMode:
|
45
|
+
# ClientBrandingBuildMode: A pre-built software client will be served, with Comet-branding, no server URL, and Comet codesigning.
|
42
46
|
CLIENTBRANDINGBUILD_PREBUILT = 1
|
43
47
|
|
44
|
-
# CompressMode
|
48
|
+
# CompressMode
|
45
49
|
COMPRESS_INVALID = 0
|
46
50
|
|
47
|
-
# CompressMode
|
51
|
+
# CompressMode
|
48
52
|
COMPRESS_LVL_1 = 1
|
49
53
|
|
50
|
-
# CompressMode
|
54
|
+
# CompressMode
|
51
55
|
COMPRESS_LVL_2 = 2
|
52
56
|
|
53
|
-
# CompressMode
|
57
|
+
# CompressMode
|
54
58
|
COMPRESS_LVL_3 = 3
|
55
59
|
|
56
|
-
# CompressMode
|
60
|
+
# CompressMode
|
57
61
|
COMPRESS_LVL_4 = 4
|
58
62
|
|
59
|
-
# CompressMode
|
63
|
+
# CompressMode
|
60
64
|
COMPRESS_LVL_5 = 5
|
61
65
|
|
62
|
-
# CompressMode
|
66
|
+
# CompressMode
|
63
67
|
COMPRESS_MAX = COMPRESS_LVL_5
|
64
68
|
|
65
|
-
# CompressMode
|
69
|
+
# CompressMode
|
66
70
|
COMPRESS_DEFAULT = COMPRESS_LVL_4
|
67
71
|
|
68
|
-
# LanguageCode
|
72
|
+
# LanguageCode
|
69
73
|
DEFAULT_LANGUAGE = 'en_US'
|
70
74
|
|
71
75
|
DEFAULT_TIMEZONE = 'UTC'
|
72
76
|
|
73
|
-
# SftpAuthMode
|
77
|
+
# SftpAuthMode
|
74
78
|
DESTINATION_SFTP_AUTHMODE_NATIVE = 0
|
75
79
|
|
76
|
-
# SftpAuthMode
|
80
|
+
# SftpAuthMode
|
77
81
|
DESTINATION_SFTP_AUTHMODE_PASSWORD = 1
|
78
82
|
|
79
|
-
# SftpAuthMode
|
83
|
+
# SftpAuthMode
|
80
84
|
DESTINATION_SFTP_AUTHMODE_PRIVATEKEY = 2
|
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
|
|
124
|
+
# The Comet Server is still starting up and has not yet checked whether any email reports are due to be sent.
|
108
125
|
EMAIL_WORKER_STATE_NOT_STARTED = 0
|
109
126
|
|
127
|
+
# The Comet Server is still starting up and has not yet checked whether any email reports are due to be sent.
|
110
128
|
EMAIL_WORKER_STATE_STARTED = 1
|
111
129
|
|
130
|
+
# The Comet Server is currently searching through email report configuration, to determine when the next email report is due to be sent.
|
112
131
|
EMAIL_WORKER_STATE_CALCULATING = 2
|
113
132
|
|
133
|
+
# The Comet Server knows when the next scheduled email report is due to be sent, and is waiting until that time.
|
114
134
|
EMAIL_WORKER_STATE_WAITING = 3
|
115
135
|
|
136
|
+
# The Comet Server is currently sending a scheduled email report.
|
116
137
|
EMAIL_WORKER_STATE_SENDING = 4
|
117
138
|
|
118
|
-
# EmailDeliveryType:
|
139
|
+
# 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
140
|
EMAIL_DELIVERY_INHERIT = ''
|
120
141
|
|
121
|
-
# EmailDeliveryType
|
142
|
+
# EmailDeliveryType
|
122
143
|
EMAIL_DELIVERY_MX_DIRECT = 'builtin'
|
123
144
|
|
124
|
-
# EmailDeliveryType
|
145
|
+
# EmailDeliveryType
|
125
146
|
EMAIL_DELIVERY_SMTP = 'smtp'
|
126
147
|
|
127
|
-
# EmailDeliveryType
|
148
|
+
# EmailDeliveryType
|
128
149
|
EMAIL_DELIVERY_SMTP_SSL = 'smtp-ssl'
|
129
150
|
|
130
|
-
# EmailDeliveryType
|
151
|
+
# EmailDeliveryType
|
131
152
|
EMAIL_DELIVERY_DISABLED = 'disabled'
|
132
153
|
|
133
|
-
# EmailDeliveryType: Legacy alias
|
154
|
+
# EmailDeliveryType: Legacy alias for EMAIL_DELIVERY_MX_DIRECT
|
134
155
|
EMAIL_DELIVERY_BUILTIN = EMAIL_DELIVERY_MX_DIRECT
|
135
156
|
|
136
|
-
# EmailDeliveryType:
|
157
|
+
# EmailDeliveryType: Legacy alias for EMAIL_DELIVERY_INHERIT
|
137
158
|
# @deprecated This const has been deprecated since Comet version 22.12.1
|
138
159
|
EMAIL_DELIVERY_NONE = EMAIL_DELIVERY_INHERIT
|
139
160
|
|
140
|
-
# EmailReportType
|
161
|
+
# EmailReportType
|
141
162
|
EMAILREPORTTYPE_IMMEDIATE = 0
|
142
163
|
|
143
|
-
# EmailReportType
|
164
|
+
# EmailReportType
|
144
165
|
EMAILREPORTTYPE_SUMMARY = 1
|
145
166
|
|
146
|
-
# EmailReportType
|
167
|
+
# EmailReportType
|
147
168
|
EMAILREPORTTYPE_GROUPED_STATUS = 2
|
148
169
|
|
149
|
-
# EmailReportType
|
170
|
+
# EmailReportType
|
150
171
|
EMAILREPORTTYPE_RECENT_ACTIVITY = 3
|
151
172
|
|
152
173
|
ENCRYPTIONMETHOD_UNCONFIGURED = 0
|
153
174
|
|
175
|
+
# Files and Folders
|
154
176
|
ENGINE_BUILTIN_FILE = 'engine1/file'
|
155
177
|
|
178
|
+
# Program Output
|
156
179
|
ENGINE_BUILTIN_STDOUT = 'engine1/stdout'
|
157
180
|
|
181
|
+
# MySQL
|
158
182
|
ENGINE_BUILTIN_MYSQL = 'engine1/mysql'
|
159
183
|
|
184
|
+
# Windows Server System State
|
160
185
|
ENGINE_BUILTIN_SYSTEMSTATE = 'engine1/systemstate'
|
161
186
|
|
187
|
+
# Microsoft SQL Server
|
162
188
|
ENGINE_BUILTIN_MSSQL = 'engine1/mssql'
|
163
189
|
|
190
|
+
# Windows System Backup
|
164
191
|
ENGINE_BUILTIN_WINDOWSSYSTEM = 'engine1/windowssystem'
|
165
192
|
|
193
|
+
# Microsoft Exchange Server
|
166
194
|
ENGINE_BUILTIN_EXCHANGEEDB = 'engine1/exchangeedb'
|
167
195
|
|
196
|
+
# Application-Aware Writer
|
168
197
|
ENGINE_BUILTIN_VSSWRITER = 'engine1/vsswriter'
|
169
198
|
|
199
|
+
# Microsoft Hyper-V
|
170
200
|
ENGINE_BUILTIN_HYPERV = 'engine1/hyperv'
|
171
201
|
|
202
|
+
# Disk Image
|
172
203
|
ENGINE_BUILTIN_WINDISK = 'engine1/windisk'
|
173
204
|
|
205
|
+
# MongoDB
|
174
206
|
ENGINE_BUILTIN_MONGODB = 'engine1/mongodb'
|
175
207
|
|
208
|
+
# Office 365
|
176
209
|
ENGINE_BUILTIN_MSOFFICE = 'engine1/winmsofficemail'
|
177
210
|
|
178
|
-
# FtpsModeType:
|
211
|
+
# FtpsModeType: Use plain FTP, do not use FTPS.
|
179
212
|
FTPS_MODE_PLAINTEXT = 0
|
180
213
|
|
181
|
-
# 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.
|
182
215
|
FTPS_MODE_IMPLICIT = 1
|
183
216
|
|
184
|
-
# FtpsModeType:
|
217
|
+
# FtpsModeType: Use explicit FTPS, first creating an insecure connection and then upgrading to SSL/TLS using AUTH TLS (like STARTTLS).
|
185
218
|
FTPS_MODE_EXPLICIT = 2
|
186
219
|
|
187
|
-
# JobClassification:
|
220
|
+
# JobClassification: All BackupJobDetail.Classification fields will fall in the 4xxx range.
|
188
221
|
JOB_CLASSIFICATION__MIN = 4000
|
189
222
|
|
190
|
-
# JobClassification
|
223
|
+
# JobClassification
|
191
224
|
JOB_CLASSIFICATION_UNKNOWN = 4000
|
192
225
|
|
193
|
-
# JobClassification:
|
226
|
+
# JobClassification: This is a backup job.
|
194
227
|
JOB_CLASSIFICATION_BACKUP = 4001
|
195
228
|
|
196
|
-
# JobClassification:
|
229
|
+
# JobClassification: This is a restore job.
|
197
230
|
JOB_CLASSIFICATION_RESTORE = 4002
|
198
231
|
|
199
232
|
# JobClassification: Automatic or manual retention cleaning pass.
|
@@ -211,91 +244,91 @@ module Comet
|
|
211
244
|
# JobClassification: Software update
|
212
245
|
JOB_CLASSIFICATION_UPDATE = 4007
|
213
246
|
|
214
|
-
# JobClassification:
|
247
|
+
# JobClassification: Importing settings from another installed product
|
215
248
|
JOB_CLASSIFICATION_IMPORT = 4008
|
216
249
|
|
217
250
|
# JobClassification: Repair indexes
|
218
251
|
JOB_CLASSIFICATION_REINDEX = 4009
|
219
252
|
|
220
|
-
# JobClassification:
|
253
|
+
# JobClassification: Deep Verify
|
221
254
|
JOB_CLASSIFICATION_DEEPVERIFY = 4010
|
222
255
|
|
223
256
|
# JobClassification: Software uninstall
|
224
257
|
JOB_CLASSIFICATION_UNINSTALL = 4011
|
225
258
|
|
226
|
-
# JobClassification
|
259
|
+
# JobClassification
|
227
260
|
JOB_CLASSIFICATION__MAX = 4999
|
228
261
|
|
229
|
-
# JobStatus:
|
262
|
+
# JobStatus: If the BackupJobDetail.Status field is a 5xxx code, the job has stopped for a successful reason.
|
230
263
|
JOB_STATUS_STOP_SUCCESS__MIN = 5000
|
231
264
|
|
232
|
-
# JobStatus
|
265
|
+
# JobStatus
|
233
266
|
JOB_STATUS_STOP_SUCCESS = 5000
|
234
267
|
|
235
|
-
# JobStatus
|
268
|
+
# JobStatus
|
236
269
|
JOB_STATUS_STOP_SUCCESS__MAX = 5999
|
237
270
|
|
238
|
-
# JobStatus:
|
271
|
+
# JobStatus: If the BackupJobDetail.Status field is a 6xxx code, the job is still running.
|
239
272
|
JOB_STATUS_RUNNING__MIN = 6000
|
240
273
|
|
241
274
|
# JobStatus: Unused
|
242
275
|
JOB_STATUS_RUNNING_INDETERMINATE = 6000
|
243
276
|
|
244
|
-
# JobStatus
|
277
|
+
# JobStatus
|
245
278
|
JOB_STATUS_RUNNING_ACTIVE = 6001
|
246
279
|
|
247
280
|
# JobStatus: A backup job that was marked as stopped or abandoned, but has somehow continued to run
|
248
281
|
JOB_STATUS_RUNNING_REVIVED = 6002
|
249
282
|
|
250
|
-
# JobStatus
|
283
|
+
# JobStatus
|
251
284
|
JOB_STATUS_RUNNING__MAX = 6999
|
252
285
|
|
253
|
-
# JobStatus:
|
286
|
+
# JobStatus: If the BackupJobDetail.Status field is a 7xxx code, the job has stopped for an unsuccessful reason.
|
254
287
|
JOB_STATUS_FAILED__MIN = 7000
|
255
288
|
|
256
|
-
# JobStatus
|
289
|
+
# JobStatus
|
257
290
|
JOB_STATUS_FAILED_TIMEOUT = 7000
|
258
291
|
|
259
|
-
# JobStatus
|
292
|
+
# JobStatus
|
260
293
|
JOB_STATUS_FAILED_WARNING = 7001
|
261
294
|
|
262
|
-
# JobStatus
|
295
|
+
# JobStatus
|
263
296
|
JOB_STATUS_FAILED_ERROR = 7002
|
264
297
|
|
265
|
-
# JobStatus
|
298
|
+
# JobStatus
|
266
299
|
JOB_STATUS_FAILED_QUOTA = 7003
|
267
300
|
|
268
|
-
# JobStatus
|
301
|
+
# JobStatus
|
269
302
|
JOB_STATUS_FAILED_SCHEDULEMISSED = 7004
|
270
303
|
|
271
|
-
# JobStatus
|
304
|
+
# JobStatus
|
272
305
|
JOB_STATUS_FAILED_CANCELLED = 7005
|
273
306
|
|
274
|
-
# JobStatus
|
307
|
+
# JobStatus
|
275
308
|
JOB_STATUS_FAILED_SKIPALREADYRUNNING = 7006
|
276
309
|
|
277
|
-
# JobStatus
|
310
|
+
# JobStatus
|
278
311
|
JOB_STATUS_FAILED_ABANDONED = 7007
|
279
312
|
|
280
|
-
# JobStatus
|
313
|
+
# JobStatus
|
281
314
|
JOB_STATUS_FAILED__MAX = 7999
|
282
315
|
|
283
|
-
# LDAPSecurityMethod
|
316
|
+
# LDAPSecurityMethod
|
284
317
|
LDAPSECURITYMETHOD_PLAIN = 'plain'
|
285
318
|
|
286
|
-
# LDAPSecurityMethod
|
319
|
+
# LDAPSecurityMethod
|
287
320
|
LDAPSECURITYMETHOD_LDAPS = 'ldaps'
|
288
321
|
|
289
|
-
# LDAPSecurityMethod
|
322
|
+
# LDAPSecurityMethod
|
290
323
|
LDAPSECURITYMETHOD_STARTTLS = 'starttls'
|
291
324
|
|
292
|
-
# MacOSCodesignLevel:
|
325
|
+
# MacOSCodesignLevel: Sign only
|
293
326
|
MACOSCODESIGN_LEVEL_SIGN = 0
|
294
327
|
|
295
|
-
# MacOSCodesignLevel:
|
328
|
+
# MacOSCodesignLevel: Sign and notarize
|
296
329
|
MACOSCODESIGN_LEVEL_SIGN_NOTARISE = 1
|
297
330
|
|
298
|
-
# MacOSCodesignLevel:
|
331
|
+
# MacOSCodesignLevel: Sign, notarize, and staple
|
299
332
|
MACOSCODESIGN_LEVEL_SIGN_NOTARISE_STAPLE = 2
|
300
333
|
|
301
334
|
MIXED_VIRTUAL_ACCOUNT_TYPE_USER = 1
|
@@ -308,22 +341,22 @@ module Comet
|
|
308
341
|
|
309
342
|
MONGODB_DEFAULT_PORT = 27_017
|
310
343
|
|
311
|
-
# MSSQLAuthMode
|
344
|
+
# MSSQLAuthMode
|
312
345
|
MSSQL_AUTH_WINDOWS = 'windows'
|
313
346
|
|
314
|
-
# MSSQLAuthMode
|
347
|
+
# MSSQLAuthMode
|
315
348
|
MSSQL_AUTH_NATIVE = 'native'
|
316
349
|
|
317
|
-
# MSSQLMethod:
|
350
|
+
# MSSQLMethod: On Windows x86_64, use the native x86_64 driver.
|
318
351
|
MSSQL_METHOD_OLEDB_NATIVE = 'OLEDB_NATIVE'
|
319
352
|
|
320
|
-
# MSSQLMethod:
|
353
|
+
# MSSQLMethod: On Windows x86_64, use an x86_32 OLEDB driver.
|
321
354
|
MSSQL_METHOD_OLEDB_32 = 'OLEDB_32'
|
322
355
|
|
323
|
-
# MSSQLRestoreOpt
|
356
|
+
# MSSQLRestoreOpt
|
324
357
|
MSSQL_RESTORE_RECOVERY = 'RECOVERY'
|
325
358
|
|
326
|
-
# MSSQLRestoreOpt
|
359
|
+
# MSSQLRestoreOpt
|
327
360
|
MSSQL_RESTORE_NORECOVERY = 'NO_RECOVERY'
|
328
361
|
|
329
362
|
OFFICE365_REGION_PUBLIC = 'GlobalPublicCloud'
|
@@ -336,137 +369,138 @@ module Comet
|
|
336
369
|
|
337
370
|
OFFICE365_REGION_US_DOD = 'USGovtGccDoDCloud'
|
338
371
|
|
339
|
-
# ExtraFileExclusionOSRestriction:
|
372
|
+
# ExtraFileExclusionOSRestriction: Applies to any device
|
340
373
|
OS_ANY = 0
|
341
374
|
|
342
|
-
# ExtraFileExclusionOSRestriction:
|
375
|
+
# ExtraFileExclusionOSRestriction: Applies to all Windows devices, regardless of CPU type
|
343
376
|
OS_ONLY_WINDOWS = 1
|
344
377
|
|
345
|
-
# ExtraFileExclusionOSRestriction:
|
378
|
+
# ExtraFileExclusionOSRestriction: Applies to Windows devices with x86_32 CPU
|
346
379
|
OS_ONLY_WINDOWS_X8632 = 2
|
347
380
|
|
348
|
-
# ExtraFileExclusionOSRestriction:
|
381
|
+
# ExtraFileExclusionOSRestriction: Applies to Windows devices with x86_64 CPU
|
349
382
|
OS_ONLY_WINDOWS_X8664 = 3
|
350
383
|
|
351
|
-
# ExtraFileExclusionOSRestriction:
|
384
|
+
# ExtraFileExclusionOSRestriction: Applies to macOS devices, regardless of CPU type
|
352
385
|
OS_ONLY_MACOS = 4
|
353
386
|
|
354
|
-
# ExtraFileExclusionOSRestriction:
|
387
|
+
# ExtraFileExclusionOSRestriction: Applies to Linux devices (including Synology DSM), regardless of CPU type
|
355
388
|
OS_ONLY_LINUX = 5
|
356
389
|
|
390
|
+
# When resetting a password with the API, set the PasswordFormat to this value. The Comet Server will re-hash the credential automatically.
|
357
391
|
PASSWORD_FORMAT_PLAINTEXT = 0
|
358
392
|
|
359
|
-
# PSAType
|
393
|
+
# PSAType
|
360
394
|
PSA_TYPE_GENERIC = 0
|
361
395
|
|
362
|
-
# PSAType
|
396
|
+
# PSAType
|
363
397
|
PSA_TYPE_GRADIENT = 1
|
364
398
|
|
365
|
-
RELEASE_CODENAME = '
|
399
|
+
RELEASE_CODENAME = 'Thebe'
|
366
400
|
|
367
|
-
# RemoteServerType
|
401
|
+
# RemoteServerType
|
368
402
|
REMOTESERVER_COMET = 'comet'
|
369
403
|
|
370
|
-
# RemoteServerType
|
404
|
+
# RemoteServerType
|
371
405
|
REMOTESERVER_LDAP = 'ldap'
|
372
406
|
|
373
|
-
# RemoteServerType
|
407
|
+
# RemoteServerType
|
374
408
|
REMOTESERVER_B2 = 'b2'
|
375
409
|
|
376
|
-
# RemoteServerType
|
410
|
+
# RemoteServerType
|
377
411
|
REMOTESERVER_WASABI = 'wasabi'
|
378
412
|
|
379
|
-
# RemoteServerType
|
413
|
+
# RemoteServerType
|
380
414
|
REMOTESERVER_CUSTOM = 'custom'
|
381
415
|
|
382
|
-
# RemoteServerType
|
416
|
+
# RemoteServerType
|
383
417
|
REMOTESERVER_S3_GENERIC = 's3'
|
384
418
|
|
385
|
-
# RemoteServerType
|
419
|
+
# RemoteServerType
|
386
420
|
REMOTESERVER_AWS = 'aws'
|
387
421
|
|
388
|
-
# RemoteServerType
|
422
|
+
# RemoteServerType
|
389
423
|
REMOTESERVER_STORJ = 'storj'
|
390
424
|
|
391
|
-
# RemoteServerType
|
425
|
+
# RemoteServerType
|
392
426
|
REMOTESERVER_IDRIVEE2 = 'idrivee2'
|
393
427
|
|
394
|
-
# ReplicatorState
|
428
|
+
# ReplicatorState
|
395
429
|
REPLICATOR_STATE_NONE = 0
|
396
430
|
|
397
|
-
# ReplicatorState
|
431
|
+
# ReplicatorState
|
398
432
|
REPLICATOR_STATE_FILE_LIST_WORKER_STARTED = 1
|
399
433
|
|
400
|
-
# ReplicatorState
|
434
|
+
# ReplicatorState
|
401
435
|
REPLICATOR_STATE_FILE_LIST_SYNC_RUNNING = 2
|
402
436
|
|
403
|
-
# ReplicatorState
|
437
|
+
# ReplicatorState
|
404
438
|
REPLICATOR_STATE_FILE_LIST_SYNC_FINISHED = 4
|
405
439
|
|
406
|
-
# ReplicatorState
|
440
|
+
# ReplicatorState
|
407
441
|
REPLICATOR_STATE_WORKERS_STARTED = 8
|
408
442
|
|
409
|
-
# ReplicatorDisplayClass
|
443
|
+
# ReplicatorDisplayClass
|
410
444
|
REPLICATOR_DISPLAYCLASS_STORAGE = 100
|
411
445
|
|
412
|
-
# ReplicatorDisplayClass
|
446
|
+
# ReplicatorDisplayClass
|
413
447
|
REPLICATOR_DISPLAYCLASS_USER = 101
|
414
448
|
|
415
|
-
# RestoreArchiveFormat:
|
449
|
+
# RestoreArchiveFormat: Tar file format
|
416
450
|
RESTOREARCHIVEFORMAT_TAR = 0
|
417
451
|
|
418
|
-
# RestoreArchiveFormat:
|
452
|
+
# RestoreArchiveFormat: Compressed Tar.gz (.tgz) file format
|
419
453
|
RESTOREARCHIVEFORMAT_TARGZ = 1
|
420
454
|
|
421
|
-
# RestoreArchiveFormat:
|
455
|
+
# RestoreArchiveFormat: Zip file format
|
422
456
|
RESTOREARCHIVEFORMAT_ZIP = 2
|
423
457
|
|
424
458
|
# RestoreArchiveFormat: SquashFS container
|
425
459
|
RESTOREARCHIVEFORMAT_SQFS = 3
|
426
460
|
|
427
|
-
# RestoreArchiveFormat:
|
461
|
+
# RestoreArchiveFormat: Compressed Tar.zstd (.tzst) file format
|
428
462
|
RESTOREARCHIVEFORMAT_TARZSTD = 4
|
429
463
|
|
430
|
-
# RestoreType
|
464
|
+
# RestoreType
|
431
465
|
RESTORETYPE_INVALID = -1
|
432
466
|
|
433
|
-
# RestoreType:
|
467
|
+
# RestoreType: Restore as files and folders
|
434
468
|
RESTORETYPE_FILE = 0
|
435
469
|
|
436
|
-
# RestoreType:
|
470
|
+
# RestoreType: Download and reconstruct files, but do not save them (for test purposes)
|
437
471
|
RESTORETYPE_NULL = 1
|
438
472
|
|
439
|
-
# 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.
|
440
474
|
RESTORETYPE_PROCESS_PERFILE = 2
|
441
475
|
|
442
|
-
# RestoreType:
|
476
|
+
# RestoreType: Stream an archive of each restored file into the target command stdin. The target command will be executed only once.
|
443
477
|
RESTORETYPE_PROCESS_ARCHIVE = 3
|
444
478
|
|
445
|
-
# RestoreType:
|
479
|
+
# RestoreType: Restore partitions back to the physical disk
|
446
480
|
RESTORETYPE_WINDISK = 4
|
447
481
|
|
448
|
-
# RestoreType:
|
482
|
+
# RestoreType: Restore selected files and folders as a single compressed archive
|
449
483
|
RESTORETYPE_FILE_ARCHIVE = 5
|
450
484
|
|
451
|
-
# RestoreType:
|
485
|
+
# RestoreType: Restore selected Office 365 emails, contacts, calendars, and SharePoint/OneDrive data directly to the Office 365 cloud service
|
452
486
|
RESTORETYPE_OFFICE365_CLOUD = 6
|
453
487
|
|
454
|
-
# RestoreType:
|
488
|
+
# RestoreType: Granular restore of single files from within a Disk Image or Hyper-V backup
|
455
489
|
RESTORETYPE_VMDK_FILE = 7
|
456
490
|
|
457
|
-
# 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)
|
458
492
|
RESTORETYPE_VMDK_FILE_NULL = 8
|
459
493
|
|
460
|
-
# 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
|
461
495
|
RESTORETYPE_VMDK_FILE_ARCHIVE = 9
|
462
496
|
|
463
|
-
# RestoreType:
|
497
|
+
# RestoreType: Stream restore as SQL statements into a target MySQL server
|
464
498
|
RESTORETYPE_MYSQL = 10
|
465
499
|
|
466
|
-
# RestoreType:
|
500
|
+
# RestoreType: Stream restore as T-SQL BACKUP output into a target Microsoft SQL Server
|
467
501
|
RESTORETYPE_MSSQL = 11
|
468
502
|
|
469
|
-
# RestoreType: RESTORETYPE_PROCESS_ARCHIVE
|
503
|
+
# RestoreType: Legacy name alias - Prefer to use RESTORETYPE_PROCESS_ARCHIVE since multiple archive file formats are supported within this single RESTORETYPE_
|
470
504
|
RESTORETYPE_PROCESS_TARBALL = 3
|
471
505
|
|
472
506
|
# RetentionMode: If this mode is set in a RetentionPolicy, then RetentionPolicy.Ranges should be ignored.
|
@@ -475,7 +509,7 @@ module Comet
|
|
475
509
|
# RetentionMode: Delete everything except for jobs matching the ranges in RetentionPolicy.Ranges.
|
476
510
|
RETENTIONMODE_DELETE_EXCEPT = 802
|
477
511
|
|
478
|
-
# RetentionRangeType
|
512
|
+
# RetentionRangeType
|
479
513
|
RETENTIONRANGE__LOWEST = 900
|
480
514
|
|
481
515
|
# RetentionRangeType: Uses Jobs
|
@@ -490,7 +524,8 @@ module Comet
|
|
490
524
|
# RetentionRangeType: Uses Days
|
491
525
|
RETENTIONRANGE_FIRST_JOB_FOR_EACH_LAST_X_DAYS = 903
|
492
526
|
|
493
|
-
# RetentionRangeType
|
527
|
+
# RetentionRangeType
|
528
|
+
# @deprecated This const has been deprecated since Comet version 17.2.0
|
494
529
|
RETENTIONRANGE__RESERVED904 = 904
|
495
530
|
|
496
531
|
# RetentionRangeType: Uses Months, MonthOffset
|
@@ -508,29 +543,29 @@ module Comet
|
|
508
543
|
# RetentionRangeType: Uses Jobs
|
509
544
|
RETENTIONRANGE_LAST_X_BACKUPS_ONE_FOR_EACH_MONTH = 909
|
510
545
|
|
511
|
-
# RetentionRangeType
|
546
|
+
# RetentionRangeType
|
512
547
|
RETENTIONRANGE__HIGHEST = 909
|
513
548
|
|
514
549
|
RETENTIONRANGE_MAXINT = 1_125_899_906_842_624
|
515
550
|
|
516
551
|
SCHEDULE_FREQUENCY_LOWEST = 8010
|
517
552
|
|
518
|
-
#
|
553
|
+
# SecondsPast should be a Unix timestamp, in seconds
|
519
554
|
SCHEDULE_FREQUENCY_ONCEONLY = 8010
|
520
555
|
|
521
|
-
# seconds past 00:00 local
|
556
|
+
# SecondsPast is the number of seconds past 00:00, in the device's local timezone.
|
522
557
|
SCHEDULE_FREQUENCY_DAILY = 8011
|
523
558
|
|
524
|
-
# seconds past *:00 local
|
559
|
+
# SecondsPast is the number of seconds past *:00, in the device's local timezone.
|
525
560
|
SCHEDULE_FREQUENCY_HOURLY = 8012
|
526
561
|
|
527
|
-
# seconds past 00:00 Sunday, local
|
562
|
+
# SecondsPast is the number of seconds past 00:00 Sunday, in the device's local timezone.
|
528
563
|
SCHEDULE_FREQUENCY_WEEKLY = 8013
|
529
564
|
|
530
|
-
# seconds past 00:00 1st, local
|
565
|
+
# SecondsPast is the number of seconds past 00:00 1st, in the device's local timezone.
|
531
566
|
SCHEDULE_FREQUENCY_MONTHLY = 8014
|
532
567
|
|
533
|
-
# SecondsPast
|
568
|
+
# SecondsPast is the number of seconds per period. Offset: Shunt seconds after unix epoch
|
534
569
|
SCHEDULE_FREQUENCY_PERIODIC = 8015
|
535
570
|
|
536
571
|
SCHEDULE_FREQUENCY_HIGHEST = 8015
|
@@ -538,22 +573,21 @@ module Comet
|
|
538
573
|
# Maximum random delay (5 hours)
|
539
574
|
SCHEDULE_MAX_RANDOM_DELAY_SECS = 18_000
|
540
575
|
|
541
|
-
# 2^50 (1 << 50)
|
542
576
|
SCHEDULE_MAXINT = 1_125_899_906_842_624
|
543
577
|
|
544
|
-
# SearchClauseType
|
578
|
+
# SearchClauseType
|
545
579
|
SEARCHCLAUSE_RULE = ''
|
546
580
|
|
547
|
-
# SearchClauseType
|
581
|
+
# SearchClauseType
|
548
582
|
SEARCHCLAUSE_AND = 'and'
|
549
583
|
|
550
|
-
# SearchClauseType
|
584
|
+
# SearchClauseType
|
551
585
|
SEARCHCLAUSE_OR = 'or'
|
552
586
|
|
553
|
-
# SearchClauseType
|
587
|
+
# SearchClauseType
|
554
588
|
SEARCHCLAUSE_NOT_AND = 'not_and'
|
555
589
|
|
556
|
-
# SearchClauseType
|
590
|
+
# SearchClauseType
|
557
591
|
SEARCHCLAUSE_NOT_OR = 'not_or'
|
558
592
|
|
559
593
|
SEARCHOPERATOR_STRING_EQ = 'str_eq'
|
@@ -608,174 +642,283 @@ module Comet
|
|
608
642
|
|
609
643
|
SEARCHOPERATOR_BOOL_NIS = 'bool_nis'
|
610
644
|
|
645
|
+
# 0000 0001. If this value is present in the bitset, then the Calendar service is selected for backup.
|
611
646
|
SERVICE_CALENDAR = 1
|
612
647
|
|
648
|
+
# 0000 0010. If this value is present in the bitset, then the Contact service is selected for backup.
|
613
649
|
SERVICE_CONTACT = 2
|
614
650
|
|
651
|
+
# 0000 0100. If this value is present in the bitset, then the Mail service is selected for backup.
|
615
652
|
SERVICE_MAIL = 4
|
616
653
|
|
654
|
+
# 0000 1000. If this value is present in the bitset, then the SharePoint service is selected for backup.
|
617
655
|
SERVICE_SHAREPOINT = 8
|
618
656
|
|
657
|
+
# 0001 0000. If this value is present in the bitset, then the OneDrive service is selected for backup.
|
619
658
|
SERVICE_ONEDRIVE = 16
|
620
659
|
|
621
|
-
# DefaultSettingMode
|
660
|
+
# DefaultSettingMode
|
622
661
|
SETTING_SYSTEM_DEFAULT = 0
|
623
662
|
|
624
|
-
# DefaultSettingMode
|
663
|
+
# DefaultSettingMode
|
625
664
|
SETTING_OPTIONAL_DEFAULT_ON = 1
|
626
665
|
|
627
|
-
# DefaultSettingMode
|
666
|
+
# DefaultSettingMode
|
628
667
|
SETTING_OPTIONAL_DEFAULT_OFF = 2
|
629
668
|
|
630
|
-
# DefaultSettingMode
|
669
|
+
# DefaultSettingMode
|
631
670
|
SETTING_ENFORCED_ON = 3
|
632
671
|
|
633
|
-
# DefaultSettingMode
|
672
|
+
# DefaultSettingMode
|
634
673
|
SETTING_ENFORCED_OFF = 4
|
635
674
|
|
636
|
-
# Severity
|
675
|
+
# Severity
|
637
676
|
SEVERITY_INFO = 'I'
|
638
677
|
|
639
|
-
# Severity
|
678
|
+
# Severity
|
640
679
|
SEVERITY_WARNING = 'W'
|
641
680
|
|
642
|
-
# Severity
|
681
|
+
# Severity
|
643
682
|
SEVERITY_ERROR = 'E'
|
644
683
|
|
645
|
-
# StreamableEventType
|
684
|
+
# StreamableEventType
|
646
685
|
SEVT__MIN = 4000
|
647
686
|
|
648
|
-
# StreamableEventType:
|
687
|
+
# StreamableEventType: New websocket connection. Data is typically ServerMetaVersionInfo
|
649
688
|
SEVT_META_HELLO = 4000
|
650
689
|
|
651
|
-
# StreamableEventType: Data is the profile object
|
690
|
+
# StreamableEventType: User created. Data is the profile object
|
652
691
|
SEVT_ACCOUNT_NEW = 4100
|
653
692
|
|
654
|
-
# StreamableEventType:
|
693
|
+
# StreamableEventType: User deleted
|
655
694
|
SEVT_ACCOUNT_REMOVED = 4101
|
656
695
|
|
657
|
-
# StreamableEventType: Data is the profile object
|
696
|
+
# StreamableEventType: User updated. Data is the profile object
|
658
697
|
SEVT_ACCOUNT_UPDATED = 4102
|
659
698
|
|
660
|
-
# 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
|
661
739
|
SEVT_JOB_NEW = 4200
|
662
740
|
|
663
|
-
# StreamableEventType:
|
741
|
+
# StreamableEventType: Backup job completed. Data is the job object
|
664
742
|
SEVT_JOB_COMPLETED = 4201
|
665
743
|
|
666
|
-
# StreamableEventType:
|
744
|
+
# StreamableEventType: New bucket created
|
667
745
|
SEVT_BUCKET_NEW = 4300
|
668
746
|
|
669
|
-
# StreamableEventType:
|
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
|
+
|
792
|
+
# StreamableEventType
|
670
793
|
SEVT__MAX = 4999
|
671
794
|
|
672
|
-
# SSHAuthMode
|
795
|
+
# SSHAuthMode
|
673
796
|
SSHCONNECTION_AUTHMODE__INVALID = 0
|
674
797
|
|
675
|
-
# SSHAuthMode
|
798
|
+
# SSHAuthMode
|
676
799
|
SSHCONNECTION_AUTHMODE_PASSWORD = 1
|
677
800
|
|
678
|
-
# SSHAuthMode
|
801
|
+
# SSHAuthMode
|
679
802
|
SSHCONNECTION_AUTHMODE_PRIVATEKEY = 2
|
680
803
|
|
681
|
-
# StoredObjectType
|
804
|
+
# StoredObjectType
|
682
805
|
STOREDOBJECTTYPE_FILE = 'file'
|
683
806
|
|
684
|
-
# StoredObjectType
|
807
|
+
# StoredObjectType
|
685
808
|
STOREDOBJECTTYPE_DIRECTORY = 'dir'
|
686
809
|
|
687
|
-
# StoredObjectType
|
810
|
+
# StoredObjectType
|
688
811
|
STOREDOBJECTTYPE_SYMLINK = 'symlink'
|
689
812
|
|
690
|
-
# StoredObjectType
|
813
|
+
# StoredObjectType
|
691
814
|
STOREDOBJECTTYPE_UNIXBLOCKDEVICE = 'dev'
|
692
815
|
|
693
|
-
# StoredObjectType
|
816
|
+
# StoredObjectType
|
694
817
|
STOREDOBJECTTYPE_UNIXCHARDEVICE = 'chardev'
|
695
818
|
|
696
|
-
# StoredObjectType
|
819
|
+
# StoredObjectType
|
697
820
|
STOREDOBJECTTYPE_UNIXFIFO = 'fifo'
|
698
821
|
|
699
|
-
# StoredObjectType
|
822
|
+
# StoredObjectType
|
700
823
|
STOREDOBJECTTYPE_UNIXSOCKET = 'socket'
|
701
824
|
|
702
|
-
# StoredObjectType
|
825
|
+
# StoredObjectType
|
703
826
|
STOREDOBJECTTYPE_WINEFS = 'winefs'
|
704
827
|
|
705
|
-
# StoredObjectType
|
828
|
+
# StoredObjectType
|
706
829
|
STOREDOBJECTTYPE_EMAILMESSAGE = 'emailmessage'
|
707
830
|
|
708
|
-
# StoredObjectType
|
831
|
+
# StoredObjectType
|
709
832
|
STOREDOBJECTTYPE_EMAILFOLDER = 'mailfolder'
|
710
833
|
|
711
|
-
# StoredObjectType
|
834
|
+
# StoredObjectType
|
712
835
|
STOREDOBJECTTYPE_OFFICECONTACT = 'contact'
|
713
836
|
|
714
|
-
# StoredObjectType
|
837
|
+
# StoredObjectType
|
715
838
|
STOREDOBJECTTYPE_OFFICECONTACTFOLDER = 'contactfolder'
|
716
839
|
|
717
|
-
# StoredObjectType
|
840
|
+
# StoredObjectType
|
718
841
|
STOREDOBJECTTYPE_OFFICECALENDAREVENT = 'calendarevent'
|
719
842
|
|
720
|
-
# StoredObjectType
|
843
|
+
# StoredObjectType
|
721
844
|
STOREDOBJECTTYPE_OFFICECALENDAR = 'calendar'
|
722
845
|
|
723
|
-
# StoredObjectType
|
846
|
+
# StoredObjectType
|
724
847
|
STOREDOBJECTTYPE_MSSITE = 'mssite'
|
725
848
|
|
726
|
-
# StoredObjectType
|
849
|
+
# StoredObjectType
|
727
850
|
STOREDOBJECTTYPE_MSSITE_TEAM = 'mssiteteam'
|
728
851
|
|
729
|
-
# StoredObjectType
|
852
|
+
# StoredObjectType
|
730
853
|
STOREDOBJECTTYPE_MSSITELISTENTITY = 'mssitelistentity'
|
731
854
|
|
732
|
-
# StoredObjectType
|
855
|
+
# StoredObjectType
|
733
856
|
STOREDOBJECTTYPE_MSSITEITEMENTITY = 'mssiteitementity'
|
734
857
|
|
735
|
-
# StoredObjectType
|
858
|
+
# StoredObjectType
|
736
859
|
STOREDOBJECTTYPE_MSSITELISTDRIVEENTITY = 'mssitelistdriveentity'
|
737
860
|
|
738
|
-
# StoredObjectType
|
861
|
+
# StoredObjectType
|
739
862
|
STOREDOBJECTTYPE_VMDK_FILE = 'vmdkfile'
|
740
863
|
|
741
|
-
# StoredObjectType
|
864
|
+
# StoredObjectType
|
742
865
|
STOREDOBJECTTYPE_VMDK_DIRECTORY = 'vmdkdir'
|
743
866
|
|
744
|
-
# StoredObjectType
|
867
|
+
# StoredObjectType
|
745
868
|
STOREDOBJECTTYPE_VMDK_WINEFS = 'vmdkwinefs'
|
746
869
|
|
747
|
-
# StoredObjectType
|
870
|
+
# StoredObjectType
|
748
871
|
STOREDOBJECTTYPE_VMDK_SYMLINK = 'vmdksymlink'
|
749
872
|
|
750
|
-
# StoredObjectType
|
873
|
+
# StoredObjectType
|
751
874
|
STOREDOBJECTTYPE_VIRTUALIMAGE_DISK = 'virtualimagedisk'
|
752
875
|
|
753
|
-
# StoredObjectType
|
876
|
+
# StoredObjectType
|
754
877
|
STOREDOBJECTTYPE_VHDX_GPT_PARTITION = 'vhdxpartitiongpt'
|
755
878
|
|
756
|
-
# StoredObjectType
|
879
|
+
# StoredObjectType
|
757
880
|
STOREDOBJECTTYPE_VHDX_MBR_PARTITION = 'vhdxpartitionmbr'
|
758
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
|
+
|
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.
|
759
901
|
TOTPREQUIRED_ERROR = 'ERR_TOTP_REQUIRED'
|
760
902
|
|
761
|
-
# UpdateStatus
|
903
|
+
# UpdateStatus
|
762
904
|
UPDATESTATUS_NOT_SEEN = 0
|
763
905
|
|
764
|
-
# UpdateStatus:
|
906
|
+
# UpdateStatus: The selected device does not meet the filter criteria from the Bulk Update Campaign's configuration.
|
765
907
|
UPDATESTATUS_INELIGIBLE = 1
|
766
908
|
|
767
|
-
# UpdateStatus
|
909
|
+
# UpdateStatus
|
768
910
|
UPDATESTATUS_PENDING = 2
|
769
911
|
|
770
|
-
# UpdateStatus:
|
912
|
+
# 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
913
|
UPDATESTATUS_REQUEST_MADE = 3
|
772
914
|
|
773
|
-
# UpdateStatus:
|
915
|
+
# 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
916
|
UPDATESTATUS_UPDATE_FAILED = 4
|
775
917
|
|
776
|
-
# UpdateStatus:
|
918
|
+
# UpdateStatus: The device has successfully updated to the target version.
|
777
919
|
UPDATESTATUS_UPDATE_CONFIRMED = 5
|
778
920
|
|
921
|
+
# 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
922
|
UNKNOWN_DEVICE_ERROR = 'ERR_UNKNOWN_DEVICE'
|
780
923
|
|
781
924
|
UNSUPPORT_VHDX_FILE_SYSTEM = 'ERR_UNSUPPORT_VHDX_FILE_SYSTEM'
|
@@ -784,41 +927,41 @@ module Comet
|
|
784
927
|
|
785
928
|
VHDX_PARTITON_READ_ERR_MSG = 'ERR_VHDX_PARTITION'
|
786
929
|
|
787
|
-
# WebAuthnDeviceType
|
930
|
+
# WebAuthnDeviceType
|
788
931
|
WEBAUTHN_DEVICE_TYPE__UNKNOWN = 0
|
789
932
|
|
790
|
-
# WebAuthnDeviceType
|
933
|
+
# WebAuthnDeviceType
|
791
934
|
WEBAUTHN_DEVICE_TYPE__HARDWARE_TOKEN = 1
|
792
935
|
|
793
|
-
# WebAuthnDeviceType
|
936
|
+
# WebAuthnDeviceType
|
794
937
|
WEBAUTHN_DEVICE_TYPE__ANDROID = 2
|
795
938
|
|
796
|
-
# WebAuthnDeviceType
|
939
|
+
# WebAuthnDeviceType
|
797
940
|
WEBAUTHN_DEVICE_TYPE__APPLE = 3
|
798
941
|
|
799
|
-
# WebAuthnDeviceType
|
942
|
+
# WebAuthnDeviceType
|
800
943
|
WEBAUTHN_DEVICE_TYPE__TPM_GENERIC = 4
|
801
944
|
|
802
|
-
# WebAuthnDeviceType
|
945
|
+
# WebAuthnDeviceType
|
803
946
|
WEBAUTHN_DEVICE_TYPE__TPM_WINDOWS = 5
|
804
947
|
|
805
|
-
# WebAuthnDeviceType
|
948
|
+
# WebAuthnDeviceType
|
806
949
|
WEBAUTHN_DEVICE_TYPE__TPM_LINUX = 6
|
807
950
|
|
808
|
-
# 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.
|
809
952
|
# @deprecated This const has been deprecated since Comet version 22.12.7
|
810
953
|
WINDOWSCODESIGN_METHOD_AUTO = 0
|
811
954
|
|
812
|
-
# WindowsCodesignMethod:
|
955
|
+
# WindowsCodesignMethod: Do not perform Authenticode codesigning
|
813
956
|
WINDOWSCODESIGN_METHOD_DISABLED = 1
|
814
957
|
|
815
|
-
# WindowsCodesignMethod:
|
958
|
+
# WindowsCodesignMethod: Use a configured PKCS#12 key file for Authenticode codesigning
|
816
959
|
WINDOWSCODESIGN_METHOD_PKCS12FILE = 2
|
817
960
|
|
818
|
-
# WindowsCodesignMethod:
|
961
|
+
# WindowsCodesignMethod: Use a configured PKCS#11 hardware security module (HSM) for Authenticode codesigning
|
819
962
|
WINDOWSCODESIGN_METHOD_PKCS11HSM = 3
|
820
963
|
|
821
|
-
# WindowsCodesignMethod:
|
964
|
+
# WindowsCodesignMethod: Use a configured Azure Key Vault for Authenticode codesigning
|
822
965
|
WINDOWSCODESIGN_METHOD_AZUREKEYVAULT = 4
|
823
966
|
|
824
967
|
end
|