comet_backup_ruby_sdk 2.4.0 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -1
  3. data/Gemfile.lock +1 -1
  4. data/comet_backup_ruby_sdk.gemspec +1 -1
  5. data/lib/comet/api_response_error.rb +0 -0
  6. data/lib/comet/comet_server.rb +43 -25
  7. data/lib/comet/definitions.rb +39 -4
  8. data/lib/comet/models/add_bucket_response_message.rb +0 -0
  9. data/lib/comet/models/admin_account_properties_response.rb +0 -0
  10. data/lib/comet/models/admin_email_options.rb +0 -0
  11. data/lib/comet/models/admin_resource_response.rb +0 -0
  12. data/lib/comet/models/admin_security_options.rb +0 -0
  13. data/lib/comet/models/admin_u2fregistration.rb +0 -0
  14. data/lib/comet/models/admin_user_permissions.rb +0 -0
  15. data/lib/comet/models/admin_web_authn_registration.rb +0 -0
  16. data/lib/comet/models/allowed_admin_user.rb +0 -0
  17. data/lib/comet/models/amazon_awsvirtual_storage_role_settings.rb +21 -0
  18. data/lib/comet/models/authentication_role_options.rb +0 -0
  19. data/lib/comet/models/available_download.rb +0 -0
  20. data/lib/comet/models/azure_destination_location.rb +0 -0
  21. data/lib/comet/models/b2destination_location.rb +0 -0
  22. data/lib/comet/models/b2storage_extra_info.rb +0 -0
  23. data/lib/comet/models/b2transaction_totals.rb +0 -0
  24. data/lib/comet/models/b2virtual_storage_role_settings.rb +0 -0
  25. data/lib/comet/models/backup_job_advanced_options.rb +0 -0
  26. data/lib/comet/models/backup_job_detail.rb +0 -0
  27. data/lib/comet/models/backup_job_progress.rb +0 -0
  28. data/lib/comet/models/backup_rule_config.rb +0 -0
  29. data/lib/comet/models/backup_rule_event_triggers.rb +0 -0
  30. data/lib/comet/models/branding_options.rb +64 -0
  31. data/lib/comet/models/branding_properties.rb +64 -0
  32. data/lib/comet/models/browse_disk_drives_response.rb +0 -0
  33. data/lib/comet/models/browse_edbresponse.rb +0 -0
  34. data/lib/comet/models/browse_hvresponse.rb +0 -0
  35. data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +0 -0
  36. data/lib/comet/models/browse_office_365objects_response.rb +0 -0
  37. data/lib/comet/models/browse_sqlserver_response.rb +0 -0
  38. data/lib/comet/models/browse_vssresponse.rb +0 -0
  39. data/lib/comet/models/bucket_properties.rb +0 -0
  40. data/lib/comet/models/bucket_usage_info.rb +0 -0
  41. data/lib/comet/models/comet_apiresponse_message.rb +0 -0
  42. data/lib/comet/models/comet_destination_location.rb +0 -0
  43. data/lib/comet/models/constellation_check_report.rb +0 -0
  44. data/lib/comet/models/constellation_role_options.rb +0 -0
  45. data/lib/comet/models/constellation_stats.rb +0 -0
  46. data/lib/comet/models/constellation_status_apiresponse.rb +0 -0
  47. data/lib/comet/models/content_measurement.rb +0 -0
  48. data/lib/comet/models/content_measurement_component.rb +0 -0
  49. data/lib/comet/models/count_jobs_response.rb +0 -0
  50. data/lib/comet/models/create_group_policy_response.rb +0 -0
  51. data/lib/comet/models/custom_remote_bucket_settings.rb +0 -0
  52. data/lib/comet/models/days_of_week_config.rb +0 -0
  53. data/lib/comet/models/default_email_report_policy.rb +0 -0
  54. data/lib/comet/models/default_source_with_osrestriction.rb +0 -0
  55. data/lib/comet/models/destination_config.rb +15 -0
  56. data/lib/comet/models/destination_location.rb +15 -0
  57. data/lib/comet/models/destination_statistics.rb +0 -0
  58. data/lib/comet/models/device_config.rb +0 -0
  59. data/lib/comet/models/disk_drive.rb +0 -0
  60. data/lib/comet/models/dispatcher_admin_sources_response.rb +0 -0
  61. data/lib/comet/models/dispatcher_stored_objects_response.rb +0 -0
  62. data/lib/comet/models/dispatcher_vault_snapshots_response.rb +0 -0
  63. data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +0 -0
  64. data/lib/comet/models/edbfile_info.rb +0 -0
  65. data/lib/comet/models/email_options.rb +0 -0
  66. data/lib/comet/models/email_report_config.rb +10 -0
  67. data/lib/comet/models/email_report_generated_preview.rb +0 -0
  68. data/lib/comet/models/email_reporting_option.rb +0 -0
  69. data/lib/comet/models/external_authentication_source.rb +0 -0
  70. data/lib/comet/models/external_ldapauthentication_source_server.rb +0 -0
  71. data/lib/comet/models/external_ldapauthentication_source_settings.rb +0 -0
  72. data/lib/comet/models/extra_file_exclusion.rb +0 -0
  73. data/lib/comet/models/ftpdestination_location.rb +0 -0
  74. data/lib/comet/models/get_group_policy_response.rb +0 -0
  75. data/lib/comet/models/get_profile_and_hash_response_message.rb +0 -0
  76. data/lib/comet/models/get_profile_hash_response_message.rb +0 -0
  77. data/lib/comet/models/global_override_options.rb +0 -0
  78. data/lib/comet/models/group_policy.rb +0 -0
  79. data/lib/comet/models/hour_sched_config.rb +0 -0
  80. data/lib/comet/models/httpconnector_options.rb +0 -0
  81. data/lib/comet/models/hyper_vmachine_info.rb +0 -0
  82. data/lib/comet/models/install_creds.rb +0 -0
  83. data/lib/comet/models/install_token.rb +0 -0
  84. data/lib/comet/models/install_token_response.rb +0 -0
  85. data/lib/comet/models/job_entry.rb +0 -0
  86. data/lib/comet/models/license_options.rb +0 -0
  87. data/lib/comet/models/live_user_connection.rb +0 -0
  88. data/lib/comet/models/local_destination_location.rb +0 -0
  89. data/lib/comet/models/local_storage_directory.rb +0 -0
  90. data/lib/comet/models/mac_oscode_sign_properties.rb +0 -0
  91. data/lib/comet/models/mongo_dbconnection.rb +1 -0
  92. data/lib/comet/models/mssqlconnection.rb +0 -0
  93. data/lib/comet/models/mssqllogin_args.rb +0 -0
  94. data/lib/comet/models/my_sqlconnection.rb +0 -0
  95. data/lib/comet/models/new_bucket_detail.rb +0 -0
  96. data/lib/comet/models/news_entry.rb +0 -0
  97. data/lib/comet/models/office_365connection.rb +0 -0
  98. data/lib/comet/models/office_365credential.rb +0 -0
  99. data/lib/comet/models/office_365custom_setting.rb +0 -0
  100. data/lib/comet/models/office_365custom_setting_v2.rb +0 -0
  101. data/lib/comet/models/office_365mixed_virtual_account.rb +0 -0
  102. data/lib/comet/models/office_365object_info.rb +0 -0
  103. data/lib/comet/models/organization.rb +0 -0
  104. data/lib/comet/models/organization_login_urlresponse.rb +0 -0
  105. data/lib/comet/models/organization_response.rb +0 -0
  106. data/lib/comet/models/osinfo.rb +0 -0
  107. data/lib/comet/models/partition.rb +0 -0
  108. data/lib/comet/models/private_branding_properties.rb +64 -0
  109. data/lib/comet/models/protected_item_engine_type_policy.rb +0 -0
  110. data/lib/comet/models/psaconfig.rb +20 -14
  111. data/lib/comet/models/public_branding_properties.rb +0 -0
  112. data/lib/comet/models/ratelimit_options.rb +0 -0
  113. data/lib/comet/models/ratelimit_rule.rb +0 -0
  114. data/lib/comet/models/register_office_application_begin_response.rb +0 -0
  115. data/lib/comet/models/register_office_application_check_response.rb +0 -0
  116. data/lib/comet/models/remote_server_address.rb +0 -0
  117. data/lib/comet/models/remote_storage_option.rb +0 -0
  118. data/lib/comet/models/replica_server.rb +0 -0
  119. data/lib/comet/models/replicator_state_apiresponse.rb +0 -0
  120. data/lib/comet/models/request_storage_vault_response_message.rb +0 -0
  121. data/lib/comet/models/restore_job_advanced_options.rb +0 -0
  122. data/lib/comet/models/retention_policy.rb +0 -0
  123. data/lib/comet/models/retention_range.rb +0 -0
  124. data/lib/comet/models/s3destination_location.rb +15 -0
  125. data/lib/comet/models/s3generic_virtual_storage_role.rb +21 -0
  126. data/lib/comet/models/schedule_config.rb +0 -0
  127. data/lib/comet/models/search_clause.rb +0 -0
  128. data/lib/comet/models/self_backup_export_options.rb +0 -0
  129. data/lib/comet/models/self_backup_options.rb +0 -0
  130. data/lib/comet/models/self_backup_statistics.rb +0 -0
  131. data/lib/comet/models/self_backup_target.rb +0 -0
  132. data/lib/comet/models/server_config_options.rb +0 -0
  133. data/lib/comet/models/server_config_options_branding_fragment.rb +0 -0
  134. data/lib/comet/models/server_config_options_software_build_role_fragment.rb +0 -0
  135. data/lib/comet/models/server_meta_branding_properties.rb +0 -0
  136. data/lib/comet/models/server_meta_version_info.rb +0 -0
  137. data/lib/comet/models/session_key_regenerated_response.rb +0 -0
  138. data/lib/comet/models/session_options.rb +0 -0
  139. data/lib/comet/models/sftpdestination_location.rb +0 -0
  140. data/lib/comet/models/single_field_source.rb +106 -0
  141. data/lib/comet/models/size_measurement.rb +0 -0
  142. data/lib/comet/models/software_build_role_options.rb +0 -0
  143. data/lib/comet/models/software_update_news_response.rb +0 -0
  144. data/lib/comet/models/source_basic_info.rb +0 -0
  145. data/lib/comet/models/source_config.rb +0 -0
  146. data/lib/comet/models/source_include_pattern.rb +0 -0
  147. data/lib/comet/models/source_statistics.rb +0 -0
  148. data/lib/comet/models/spanned_destination_location.rb +0 -0
  149. data/lib/comet/models/spanned_storage_extra_info.rb +0 -0
  150. data/lib/comet/models/sshconnection.rb +0 -0
  151. data/lib/comet/models/stat_result.rb +0 -0
  152. data/lib/comet/models/storage_free_space_info.rb +0 -0
  153. data/lib/comet/models/storage_role_options.rb +0 -0
  154. data/lib/comet/models/storage_vault_provider_policy.rb +0 -0
  155. data/lib/comet/models/stored_object.rb +0 -0
  156. data/lib/comet/models/storj_destination_location.rb +0 -0
  157. data/lib/comet/models/storj_virtual_storage_role_setting.rb +0 -0
  158. data/lib/comet/models/streamable_event.rb +0 -0
  159. data/lib/comet/models/swift_destination_location.rb +0 -0
  160. data/lib/comet/models/test_response.rb +0 -0
  161. data/lib/comet/models/time_span.rb +82 -0
  162. data/lib/comet/models/totp_regenerated_response.rb +0 -0
  163. data/lib/comet/models/u2fregister_request.rb +0 -0
  164. data/lib/comet/models/u2fregistered_key.rb +0 -0
  165. data/lib/comet/models/u2fregistration_challenge_response.rb +0 -0
  166. data/lib/comet/models/u2fsign_request.rb +0 -0
  167. data/lib/comet/models/u2fsign_response.rb +0 -0
  168. data/lib/comet/models/uninstall_config.rb +0 -0
  169. data/lib/comet/models/update_campaign_device_status.rb +0 -0
  170. data/lib/comet/models/update_campaign_options.rb +0 -0
  171. data/lib/comet/models/update_campaign_properties.rb +0 -0
  172. data/lib/comet/models/update_campaign_status.rb +0 -0
  173. data/lib/comet/models/update_campaign_status_device_entry.rb +0 -0
  174. data/lib/comet/models/user_custom_email_settings.rb +0 -0
  175. data/lib/comet/models/user_on_server.rb +0 -0
  176. data/lib/comet/models/user_policy.rb +0 -0
  177. data/lib/comet/models/user_profile_config.rb +11 -0
  178. data/lib/comet/models/user_profile_fragment.rb +0 -0
  179. data/lib/comet/models/user_server_config.rb +0 -0
  180. data/lib/comet/models/vault_snapshot.rb +0 -0
  181. data/lib/comet/models/vmdksnapshot_view_options.rb +9 -0
  182. data/lib/comet/models/vsscomponent.rb +0 -0
  183. data/lib/comet/models/vsswriter_info.rb +0 -0
  184. data/lib/comet/models/wasabi_virtual_storage_role_settings.rb +21 -0
  185. data/lib/comet/models/web_authn_authenticator_selection.rb +0 -0
  186. data/lib/comet/models/web_authn_credential.rb +0 -0
  187. data/lib/comet/models/web_authn_credential_assertion.rb +0 -0
  188. data/lib/comet/models/web_authn_credential_descriptor.rb +0 -0
  189. data/lib/comet/models/web_authn_credential_entity.rb +0 -0
  190. data/lib/comet/models/web_authn_credential_parameter.rb +0 -0
  191. data/lib/comet/models/web_authn_public_key_credential_creation_options.rb +0 -0
  192. data/lib/comet/models/web_authn_public_key_credential_request_options.rb +0 -0
  193. data/lib/comet/models/web_authn_registration_challenge_response.rb +0 -0
  194. data/lib/comet/models/web_authn_relying_party_entity.rb +0 -0
  195. data/lib/comet/models/web_authn_sign_request.rb +0 -0
  196. data/lib/comet/models/web_authn_sign_response.rb +0 -0
  197. data/lib/comet/models/web_authn_user_entity.rb +0 -0
  198. data/lib/comet/models/web_interface_branding_properties.rb +0 -0
  199. data/lib/comet/models/webhook_option.rb +0 -0
  200. data/lib/comet/models/win_smbauth.rb +0 -0
  201. data/lib/comet/models/windows_code_sign_properties.rb +64 -0
  202. data/lib/comet_backup_ruby_sdk.rb +2 -0
  203. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e25663bd2981d72004508afa32d6bbd82e6618ecfc9502d326a74bf7601e5ba
4
- data.tar.gz: a31154c4fc007ac666eb30bacce04f570193387466d7a8458050bfdb901fca83
3
+ metadata.gz: 1b5e28127380597ea90859ac7f6d8bfc0577e55ae772621809a406923d966859
4
+ data.tar.gz: 9688cfb057919eb7ba1ef32b0466b264555d87081e17d3e18891cb46fee5e82e
5
5
  SHA512:
6
- metadata.gz: 91f0c27cd10765ddc7e4804b306aaa85f07ded7abd5c90a308a02100041c1aa0e2b20144ce6b4f9391d516509af0beac581eee832382a913bcf3db9c5e6c86b6
7
- data.tar.gz: 5aa36f2a530a61860938cbf1bc78bd55571d0caf9748a7f8bdca842d7a13671b762562382474aa7a5acaca8e7735c9432fae9fe13074309c13de2836bf65b7b3
6
+ metadata.gz: 8e00d003558c7df673a1c25dd8e223a59163e60fa12dbcc26d23479e469cc3aadecfe91d3bb82051769f887cacad1b2c916886a0f91f7e3711a9316788a0fa6f
7
+ data.tar.gz: a58dc8f7d1f47f82ed49031221d91b6e6b508f5cc35c52e22e2e342b95ca44a3d80753d7687aae38ea67fc33d4ea66825f5f27a8650c15142603f34ae0e5bff3
data/CHANGELOG.md CHANGED
@@ -1,4 +1,18 @@
1
- # CHANGELOG
1
+ # CHANGELOG
2
+
3
+ ## 2023-03-23 v2.6.0
4
+
5
+ - Based on Comet 23.3.1
6
+ - Support filter parameters on `AdminGetJobLogEntries`
7
+ - Support S3 Object Lock
8
+ - Support Azure Key Vault codesigning
9
+
10
+ ## 2023-02-15 v2.5.0
11
+ - Based on 22.12.8
12
+ - Add `TimeSpan` option to `EmailReportOptions`
13
+ - Add `AlertsDisabled` (default: false) toggle for `PSAConfig` objects
14
+ - Add `LastSuspended` for tracking `UserProfileConfig` suspensions
15
+ - Improve documentation
2
16
 
3
17
  ## 2023-01-11 v2.4.0
4
18
  - Based on 22.12.2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comet_backup_ruby_sdk (2.4.0)
4
+ comet_backup_ruby_sdk (2.6.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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.4.0'
15
+ spec.version = '2.6.0'
16
16
  spec.authors = ['Comet Licensing Ltd.']
17
17
  spec.email = ['hello@cometbackup.com']
18
18
 
File without changes
@@ -388,7 +388,7 @@ module Comet
388
388
  #
389
389
  # You must supply administrator authentication credentials to use this API.
390
390
  # Access to this API may be prevented on a per-administrator basis.
391
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
391
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
392
392
  #
393
393
  # @param [String] target_user the username of the admin to be deleted
394
394
  # @return [Comet::CometAPIResponseMessage]
@@ -412,7 +412,7 @@ module Comet
412
412
  #
413
413
  # You must supply administrator authentication credentials to use this API.
414
414
  # Access to this API may be prevented on a per-administrator basis.
415
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
415
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
416
416
  #
417
417
  # @return [Array<Comet::AllowedAdminUser>]
418
418
  def admin_admin_user_list
@@ -437,7 +437,7 @@ module Comet
437
437
  #
438
438
  # You must supply administrator authentication credentials to use this API.
439
439
  # Access to this API may be prevented on a per-administrator basis.
440
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
440
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
441
441
  #
442
442
  # @param [String] target_user the username for this new admin
443
443
  # @param [String] target_password the password for this new admin user
@@ -874,7 +874,7 @@ module Comet
874
874
  # Prune unused buckets.
875
875
  #
876
876
  # You must supply administrator authentication credentials to use this API.
877
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
877
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
878
878
  # This API requires the Constellation Role to be enabled.
879
879
  #
880
880
  # @return [Comet::CometAPIResponseMessage]
@@ -1204,7 +1204,7 @@ module Comet
1204
1204
  #
1205
1205
  # You must supply administrator authentication credentials to use this API.
1206
1206
  # This API requires the Auth Role to be enabled.
1207
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
1207
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
1208
1208
  #
1209
1209
  # @param [String] organization_id Target organization
1210
1210
  # @return [Comet::OrganizationLoginURLResponse]
@@ -2161,12 +2161,24 @@ module Comet
2161
2161
  # This API requires the Auth Role to be enabled.
2162
2162
  #
2163
2163
  # @param [String] job_id Selected job ID
2164
+ # @param [String] min_severity (Optional) Return only job log entries with equal or higher severity
2165
+ # @param [String] message_contains (Optional) Return only job log entries that contain exact string
2164
2166
  # @return [Array<Comet::JobEntry>]
2165
- def admin_get_job_log_entries(job_id)
2167
+ def admin_get_job_log_entries(job_id, min_severity = nil, message_contains = nil)
2166
2168
  submit_params = {}
2167
2169
  raise TypeError, "'job_id' expected String, got #{job_id.class}" unless job_id.is_a? String
2168
2170
 
2169
2171
  submit_params['JobID'] = job_id
2172
+ unless min_severity.nil?
2173
+ raise TypeError, "'min_severity' expected String, got #{min_severity.class}" unless min_severity.is_a? String
2174
+
2175
+ submit_params['MinSeverity'] = min_severity
2176
+ end
2177
+ unless message_contains.nil?
2178
+ raise TypeError, "'message_contains' expected String, got #{message_contains.class}" unless message_contains.is_a? String
2179
+
2180
+ submit_params['MessageContains'] = message_contains
2181
+ end
2170
2182
 
2171
2183
  body = perform_request('api/v1/admin/get-job-log-entries', submit_params)
2172
2184
  json_body = JSON.parse body
@@ -2533,7 +2545,7 @@ module Comet
2533
2545
  # AdminMetaBrandingConfigSet
2534
2546
  #
2535
2547
  # Set Branding configuration.
2536
- # Note that file resources must be provided using a resource URI I.E `"resource://05ba0b90ee66bda433169581188aba8d29faa938f9464cccd651a02fdf2e5b57"`. See AdminMetaResourceNew for the API documentation to create new file resources.
2548
+ # Note that file resources must be provided using a resource URI, i.e `"resource://05ba0b90ee66bda433169581188aba8d29faa938f9464cccd651a02fdf2e5b57"`. See AdminMetaResourceNew for the API documentation to create new file resources.
2537
2549
  #
2538
2550
  # You must supply administrator authentication credentials to use this API.
2539
2551
  # Access to this API may be prevented on a per-administrator basis.
@@ -2639,6 +2651,7 @@ module Comet
2639
2651
  # Get the email options.
2640
2652
  #
2641
2653
  # You must supply administrator authentication credentials to use this API.
2654
+ # Access to this API may be prevented on a per-administrator basis.
2642
2655
  #
2643
2656
  # @return [Comet::EmailOptions]
2644
2657
  def admin_meta_email_options_get
@@ -2655,6 +2668,7 @@ module Comet
2655
2668
  # Set the email options.
2656
2669
  #
2657
2670
  # You must supply administrator authentication credentials to use this API.
2671
+ # Access to this API may be prevented on a per-administrator basis.
2658
2672
  #
2659
2673
  # @param [Comet::EmailOptions] email_options The replacement email reporting options.
2660
2674
  # @return [Comet::CometAPIResponseMessage]
@@ -2677,7 +2691,7 @@ module Comet
2677
2691
  # Get log files.
2678
2692
  #
2679
2693
  # You must supply administrator authentication credentials to use this API.
2680
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
2694
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
2681
2695
  #
2682
2696
  # @return [Array<Number>]
2683
2697
  def admin_meta_list_available_log_days
@@ -2767,7 +2781,7 @@ module Comet
2767
2781
  # This API does not automatically convert line endings; around the 18.3.2 timeframe, log content may even contain mixed line-endings.
2768
2782
  #
2769
2783
  # You must supply administrator authentication credentials to use this API.
2770
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
2784
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
2771
2785
  #
2772
2786
  # @return [String]
2773
2787
  def admin_meta_read_all_logs
@@ -2781,7 +2795,7 @@ module Comet
2781
2795
  # This API does not automatically convert line endings; around the 18.3.2 timeframe, log content may even contain mixed line-endings.
2782
2796
  #
2783
2797
  # You must supply administrator authentication credentials to use this API.
2784
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
2798
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
2785
2799
  #
2786
2800
  # @param [Number] log A log day, selected from the options returned by the Get Log Files API
2787
2801
  # @return [String]
@@ -2892,7 +2906,7 @@ module Comet
2892
2906
  # Prior to 18.9.2, this API terminated the server immediately without returning a response. In 18.9.2 and later, it returns a successful response before shutting down.
2893
2907
  #
2894
2908
  # You must supply administrator authentication credentials to use this API.
2895
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
2909
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
2896
2910
  # Access to this API may be prevented on a per-administrator basis.
2897
2911
  #
2898
2912
  # @return [Comet::CometAPIResponseMessage]
@@ -2911,6 +2925,7 @@ module Comet
2911
2925
  # This allows the Comet Server web interface to support testing different email credentials during setup.
2912
2926
  #
2913
2927
  # You must supply administrator authentication credentials to use this API.
2928
+ # Access to this API may be prevented on a per-administrator basis.
2914
2929
  #
2915
2930
  # @param [Comet::EmailOptions] email_options Updated configuration content
2916
2931
  # @param [String] recipient Target email address to send test email
@@ -2938,6 +2953,7 @@ module Comet
2938
2953
  # This allows a user to send a test email report
2939
2954
  #
2940
2955
  # You must supply administrator authentication credentials to use this API.
2956
+ # Access to this API may be prevented on a per-administrator basis.
2941
2957
  #
2942
2958
  # @param [Comet::EmailReportingOption] email_reporting_option Test email reporting option for sending
2943
2959
  # @return [Comet::CometAPIResponseMessage]
@@ -2961,7 +2977,7 @@ module Comet
2961
2977
  #
2962
2978
  # You must supply administrator authentication credentials to use this API.
2963
2979
  # Access to this API may be prevented on a per-administrator basis.
2964
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
2980
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
2965
2981
  #
2966
2982
  # @return [Comet::ServerConfigOptions]
2967
2983
  def admin_meta_server_config_get
@@ -2980,7 +2996,7 @@ module Comet
2980
2996
  #
2981
2997
  # You must supply administrator authentication credentials to use this API.
2982
2998
  # Access to this API may be prevented on a per-administrator basis.
2983
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
2999
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
2984
3000
  #
2985
3001
  # @return [Array<String>]
2986
3002
  def admin_meta_server_config_network_interfaces
@@ -3009,7 +3025,7 @@ module Comet
3009
3025
  #
3010
3026
  # You must supply administrator authentication credentials to use this API.
3011
3027
  # Access to this API may be prevented on a per-administrator basis.
3012
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3028
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3013
3029
  #
3014
3030
  # @param [Comet::ServerConfigOptions] config Updated configuration content
3015
3031
  # @return [Comet::CometAPIResponseMessage]
@@ -3035,7 +3051,7 @@ module Comet
3035
3051
  # Prior to 18.9.2, this API terminated the server immediately without returning a response. In 18.9.2 and later, it returns a successful response before shutting down.
3036
3052
  #
3037
3053
  # You must supply administrator authentication credentials to use this API.
3038
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3054
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3039
3055
  # Access to this API may be prevented on a per-administrator basis.
3040
3056
  #
3041
3057
  # @return [Comet::CometAPIResponseMessage]
@@ -3114,6 +3130,7 @@ module Comet
3114
3130
  # Get the server webhook configuration.
3115
3131
  #
3116
3132
  # You must supply administrator authentication credentials to use this API.
3133
+ # Access to this API may be prevented on a per-administrator basis.
3117
3134
  #
3118
3135
  # @return [Hash{String => Comet::WebhookOption}]
3119
3136
  def admin_meta_webhook_options_get
@@ -3138,6 +3155,7 @@ module Comet
3138
3155
  # Calling this endpoint will interrupt any messages currently queued for existing webhook destinations.
3139
3156
  #
3140
3157
  # You must supply administrator authentication credentials to use this API.
3158
+ # Access to this API may be prevented on a per-administrator basis.
3141
3159
  #
3142
3160
  # @param [Hash{String => Comet::WebhookOption}] webhook_options The replacement webhook target options.
3143
3161
  # @return [Comet::CometAPIResponseMessage]
@@ -3232,7 +3250,7 @@ module Comet
3232
3250
  # Prior to Comet 22.6.0, this API was documented as returning the OrganizationResponse type. However, it always has returned only a CometAPIResponseMessage.
3233
3251
  #
3234
3252
  # You must supply administrator authentication credentials to use this API.
3235
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3253
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3236
3254
  #
3237
3255
  # @param [String] organization_id (Optional) (No description available)
3238
3256
  # @param [Comet::UninstallConfig] uninstall_config (Optional) Uninstall software configuration
@@ -3263,7 +3281,7 @@ module Comet
3263
3281
  # Run self-backup for a specific tenant.
3264
3282
  #
3265
3283
  # You must supply administrator authentication credentials to use this API.
3266
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3284
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3267
3285
  #
3268
3286
  # @param [Comet::SelfBackupExportOptions] options The export config options
3269
3287
  # @return [Comet::CometAPIResponseMessage]
@@ -3286,7 +3304,7 @@ module Comet
3286
3304
  # List Organizations.
3287
3305
  #
3288
3306
  # You must supply administrator authentication credentials to use this API.
3289
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3307
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3290
3308
  #
3291
3309
  # @return [Hash{String => Comet::Organization}]
3292
3310
  def admin_organization_list
@@ -3312,7 +3330,7 @@ module Comet
3312
3330
  # Prior to Comet 22.6.0, the 'ID' and 'Organization' fields were not present in the response.
3313
3331
  #
3314
3332
  # You must supply administrator authentication credentials to use this API.
3315
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3333
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3316
3334
  #
3317
3335
  # @param [String] organization_id (Optional) (No description available)
3318
3336
  # @param [Comet::Organization] organization (Optional) (No description available)
@@ -3548,7 +3566,7 @@ module Comet
3548
3566
  # Get Replication status.
3549
3567
  #
3550
3568
  # You must supply administrator authentication credentials to use this API.
3551
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3569
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3552
3570
  #
3553
3571
  # @return [Array<Comet::ReplicatorStateAPIResponse>]
3554
3572
  def admin_replication_state
@@ -3705,7 +3723,7 @@ module Comet
3705
3723
  # Run self-backup on all targets.
3706
3724
  #
3707
3725
  # You must supply administrator authentication credentials to use this API.
3708
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3726
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3709
3727
  #
3710
3728
  # @return [Comet::CometAPIResponseMessage]
3711
3729
  def admin_self_backup_start
@@ -3838,7 +3856,7 @@ module Comet
3838
3856
  # You must supply administrator authentication credentials to use this API.
3839
3857
  # Access to this API may be prevented on a per-administrator basis.
3840
3858
  # This API requires the Storage Role to be enabled.
3841
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3859
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3842
3860
  #
3843
3861
  # @param [String] bucket_id (Optional) (This parameter is not used)
3844
3862
  # @return [Comet::StorageFreeSpaceInfo]
@@ -3889,7 +3907,7 @@ module Comet
3889
3907
  # You must supply administrator authentication credentials to use this API.
3890
3908
  # Access to this API may be prevented on a per-administrator basis.
3891
3909
  # This API requires the Storage Role to be enabled.
3892
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3910
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3893
3911
  #
3894
3912
  # @param [Comet::DestinationLocation] extra_data The destination location settings
3895
3913
  # @return [Comet::CometAPIResponseMessage]
@@ -3957,7 +3975,7 @@ module Comet
3957
3975
  # Start a new software update campaign.
3958
3976
  #
3959
3977
  # You must supply administrator authentication credentials to use this API.
3960
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
3978
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3961
3979
  # This API requires the Software Build Role to be enabled.
3962
3980
  # This API requires the Auth Role to be enabled.
3963
3981
  #
@@ -3982,7 +4000,7 @@ module Comet
3982
4000
  # Get current campaign status.
3983
4001
  #
3984
4002
  # You must supply administrator authentication credentials to use this API.
3985
- # This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
4003
+ # This API is only available for top-level administrator accounts, not for Tenant administrator accounts.
3986
4004
  # This API requires the Software Build Role to be enabled.
3987
4005
  # This API requires the Auth Role to be enabled.
3988
4006
  #
@@ -147,6 +147,12 @@ module Comet
147
147
  # EmailReportType:
148
148
  EMAILREPORTTYPE_SUMMARY = 1
149
149
 
150
+ # EmailReportType:
151
+ EMAILREPORTTYPE_GROUPED_STATUS = 2
152
+
153
+ # EmailReportType:
154
+ EMAILREPORTTYPE_RECENT_ACTIVITY = 3
155
+
150
156
  # FtpsModeType:
151
157
  FTPS_MODE_PLAINTEXT = 0
152
158
 
@@ -443,6 +449,15 @@ module Comet
443
449
  # StoredObjectType:
444
450
  STOREDOBJECTTYPE_VMDK_SYMLINK = 'vmdksymlink'
445
451
 
452
+ # StoredObjectType:
453
+ STOREDOBJECTTYPE_VIRTUALIMAGE_DISK = 'virtualimagedisk'
454
+
455
+ # StoredObjectType:
456
+ STOREDOBJECTTYPE_VHDX_GPT_PARTITION = 'vhdxpartitiongpt'
457
+
458
+ # StoredObjectType:
459
+ STOREDOBJECTTYPE_VHDX_MBR_PARTITION = 'vhdxpartitionmbr'
460
+
446
461
  # ExtraFileExclusionOSRestriction:
447
462
  OS_ANY = 0
448
463
 
@@ -481,13 +496,13 @@ module Comet
481
496
 
482
497
  DEFAULT_TIMEZONE = 'UTC'
483
498
 
484
- APPLICATION_VERSION = '22.12.2'
499
+ APPLICATION_VERSION = '23.3.1'
485
500
 
486
- APPLICATION_VERSION_MAJOR = 22
501
+ APPLICATION_VERSION_MAJOR = 23
487
502
 
488
- APPLICATION_VERSION_MINOR = 12
503
+ APPLICATION_VERSION_MINOR = 3
489
504
 
490
- APPLICATION_VERSION_REVISION = 2
505
+ APPLICATION_VERSION_REVISION = 1
491
506
 
492
507
  RELEASE_CODENAME = 'Voyager'
493
508
 
@@ -501,6 +516,10 @@ module Comet
501
516
 
502
517
  UNSUPPORT_VMDK_FILE_SYSTEM = 'ERR_UNSUPPORT_VMDK_FILE_SYSTEM'
503
518
 
519
+ UNSUPPORT_VHDX_FILE_SYSTEM = 'ERR_UNSUPPORT_VHDX_FILE_SYSTEM'
520
+
521
+ VHDX_PARTITON_READ_ERR_MSG = 'ERR_VHDX_PARTITION'
522
+
504
523
  EMAIL_WORKER_STATE_NOT_STARTED = 0
505
524
 
506
525
  EMAIL_WORKER_STATE_STARTED = 1
@@ -696,6 +715,22 @@ module Comet
696
715
  # LDAPSecurityMethod:
697
716
  LDAPSECURITYMETHOD_STARTTLS = 'starttls'
698
717
 
718
+ # 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..
719
+ # @deprecated This const has been deprecated since Comet version 22.12.7
720
+ WINDOWSCODESIGN_METHOD_AUTO = 0
721
+
722
+ # WindowsCodesignMethod:
723
+ WINDOWSCODESIGN_METHOD_DISABLED = 1
724
+
725
+ # WindowsCodesignMethod:
726
+ WINDOWSCODESIGN_METHOD_PKCS12FILE = 2
727
+
728
+ # WindowsCodesignMethod:
729
+ WINDOWSCODESIGN_METHOD_PKCS11HSM = 3
730
+
731
+ # WindowsCodesignMethod:
732
+ WINDOWSCODESIGN_METHOD_AZUREKEYVAULT = 4
733
+
699
734
  # MacOSCodesignLevel:
700
735
  MACOSCODESIGN_LEVEL_SIGN = 0
701
736
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -21,6 +21,15 @@ module Comet
21
21
  # @type [String] secret_key
22
22
  attr_accessor :secret_key
23
23
 
24
+ # @type [Boolean] use_object_lock
25
+ attr_accessor :use_object_lock
26
+
27
+ # @type [Number] object_lock_days
28
+ attr_accessor :object_lock_days
29
+
30
+ # @type [Boolean] remove_deleted
31
+ attr_accessor :remove_deleted
32
+
24
33
  # @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
25
34
  attr_accessor :unknown_json_fields
26
35
 
@@ -32,6 +41,7 @@ module Comet
32
41
  @master_bucket = ''
33
42
  @access_key = ''
34
43
  @secret_key = ''
44
+ @object_lock_days = 0
35
45
  @unknown_json_fields = {}
36
46
  end
37
47
 
@@ -60,6 +70,14 @@ module Comet
60
70
  raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
61
71
 
62
72
  @secret_key = v
73
+ when 'UseObjectLock'
74
+ @use_object_lock = v
75
+ when 'ObjectLockDays'
76
+ raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
77
+
78
+ @object_lock_days = v
79
+ when 'RemoveDeleted'
80
+ @remove_deleted = v
63
81
  else
64
82
  @unknown_json_fields[k] = v
65
83
  end
@@ -72,6 +90,9 @@ module Comet
72
90
  ret['MasterBucket'] = @master_bucket
73
91
  ret['AccessKey'] = @access_key
74
92
  ret['SecretKey'] = @secret_key
93
+ ret['UseObjectLock'] = @use_object_lock
94
+ ret['ObjectLockDays'] = @object_lock_days
95
+ ret['RemoveDeleted'] = @remove_deleted
75
96
  @unknown_json_fields.each do |k, v|
76
97
  ret[k] = v
77
98
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -78,6 +78,9 @@ module Comet
78
78
  # @type [String] package_identifier
79
79
  attr_accessor :package_identifier
80
80
 
81
+ # @type [Number] windows_code_sign_method
82
+ attr_accessor :windows_code_sign_method
83
+
81
84
  # @type [String] windows_code_sign_pkcs12file_path
82
85
  attr_accessor :windows_code_sign_pkcs12file_path
83
86
 
@@ -94,6 +97,7 @@ module Comet
94
97
  attr_accessor :windows_code_sign_pkcs11module
95
98
 
96
99
  # @type [String] windows_code_sign_pkcs11certfile
100
+ # @deprecated This member has been deprecated since Comet version 22.12.7
97
101
  attr_accessor :windows_code_sign_pkcs11certfile
98
102
 
99
103
  # @type [String] windows_code_sign_pkcs11key_id
@@ -105,6 +109,24 @@ module Comet
105
109
  # @type [String] windows_code_sign_pkcs11password
106
110
  attr_accessor :windows_code_sign_pkcs11password
107
111
 
112
+ # @type [String] windows_code_sign_azure_vault_name
113
+ attr_accessor :windows_code_sign_azure_vault_name
114
+
115
+ # @type [String] windows_code_sign_azure_cert_name
116
+ attr_accessor :windows_code_sign_azure_cert_name
117
+
118
+ # @type [String] windows_code_sign_azure_app_id
119
+ attr_accessor :windows_code_sign_azure_app_id
120
+
121
+ # @type [Number] windows_code_sign_azure_app_secret_format
122
+ attr_accessor :windows_code_sign_azure_app_secret_format
123
+
124
+ # @type [String] windows_code_sign_azure_app_secret
125
+ attr_accessor :windows_code_sign_azure_app_secret
126
+
127
+ # @type [String] windows_code_sign_azure_tenant_id
128
+ attr_accessor :windows_code_sign_azure_tenant_id
129
+
108
130
  # @type [Comet::MacOSCodeSignProperties] mac_oscode_sign
109
131
  attr_accessor :mac_oscode_sign
110
132
 
@@ -135,6 +157,7 @@ module Comet
135
157
  @path_header_image = ''
136
158
  @path_app_icon_image = ''
137
159
  @package_identifier = ''
160
+ @windows_code_sign_method = 0
138
161
  @windows_code_sign_pkcs12file_path = ''
139
162
  @windows_code_sign_pkcs12password_format = 0
140
163
  @windows_code_sign_pkcs12password = ''
@@ -144,6 +167,12 @@ module Comet
144
167
  @windows_code_sign_pkcs11key_id = ''
145
168
  @windows_code_sign_pkcs11password_format = 0
146
169
  @windows_code_sign_pkcs11password = ''
170
+ @windows_code_sign_azure_vault_name = ''
171
+ @windows_code_sign_azure_cert_name = ''
172
+ @windows_code_sign_azure_app_id = ''
173
+ @windows_code_sign_azure_app_secret_format = 0
174
+ @windows_code_sign_azure_app_secret = ''
175
+ @windows_code_sign_azure_tenant_id = ''
147
176
  @mac_oscode_sign = Comet::MacOSCodeSignProperties.new
148
177
  @unknown_json_fields = {}
149
178
  end
@@ -243,6 +272,10 @@ module Comet
243
272
  raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
244
273
 
245
274
  @package_identifier = v
275
+ when 'WindowsCodeSignMethod'
276
+ raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
277
+
278
+ @windows_code_sign_method = v
246
279
  when 'WindowsCodeSignPKCS12FilePath'
247
280
  raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
248
281
 
@@ -279,6 +312,30 @@ module Comet
279
312
  raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
280
313
 
281
314
  @windows_code_sign_pkcs11password = v
315
+ when 'WindowsCodeSignAzureVaultName'
316
+ raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
317
+
318
+ @windows_code_sign_azure_vault_name = v
319
+ when 'WindowsCodeSignAzureCertName'
320
+ raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
321
+
322
+ @windows_code_sign_azure_cert_name = v
323
+ when 'WindowsCodeSignAzureAppID'
324
+ raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
325
+
326
+ @windows_code_sign_azure_app_id = v
327
+ when 'WindowsCodeSignAzureAppSecretFormat'
328
+ raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
329
+
330
+ @windows_code_sign_azure_app_secret_format = v
331
+ when 'WindowsCodeSignAzureAppSecret'
332
+ raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
333
+
334
+ @windows_code_sign_azure_app_secret = v
335
+ when 'WindowsCodeSignAzureTenantID'
336
+ raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
337
+
338
+ @windows_code_sign_azure_tenant_id = v
282
339
  when 'MacOSCodeSign'
283
340
  @mac_oscode_sign = Comet::MacOSCodeSignProperties.new
284
341
  @mac_oscode_sign.from_hash(v)
@@ -313,6 +370,7 @@ module Comet
313
370
  ret['PathHeaderImage'] = @path_header_image
314
371
  ret['PathAppIconImage'] = @path_app_icon_image
315
372
  ret['PackageIdentifier'] = @package_identifier
373
+ ret['WindowsCodeSignMethod'] = @windows_code_sign_method
316
374
  ret['WindowsCodeSignPKCS12FilePath'] = @windows_code_sign_pkcs12file_path
317
375
  ret['WindowsCodeSignPKCS12PasswordFormat'] = @windows_code_sign_pkcs12password_format
318
376
  ret['WindowsCodeSignPKCS12Password'] = @windows_code_sign_pkcs12password
@@ -322,6 +380,12 @@ module Comet
322
380
  ret['WindowsCodeSignPKCS11KeyID'] = @windows_code_sign_pkcs11key_id
323
381
  ret['WindowsCodeSignPKCS11PasswordFormat'] = @windows_code_sign_pkcs11password_format
324
382
  ret['WindowsCodeSignPKCS11Password'] = @windows_code_sign_pkcs11password
383
+ ret['WindowsCodeSignAzureVaultName'] = @windows_code_sign_azure_vault_name
384
+ ret['WindowsCodeSignAzureCertName'] = @windows_code_sign_azure_cert_name
385
+ ret['WindowsCodeSignAzureAppID'] = @windows_code_sign_azure_app_id
386
+ ret['WindowsCodeSignAzureAppSecretFormat'] = @windows_code_sign_azure_app_secret_format
387
+ ret['WindowsCodeSignAzureAppSecret'] = @windows_code_sign_azure_app_secret
388
+ ret['WindowsCodeSignAzureTenantID'] = @windows_code_sign_azure_tenant_id
325
389
  ret['MacOSCodeSign'] = @mac_oscode_sign
326
390
  @unknown_json_fields.each do |k, v|
327
391
  ret[k] = v