comet_backup_ruby_sdk 1.14.0 → 2.1.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/.gitignore +0 -0
- data/.rubocop.yml +0 -0
- data/CHANGELOG.md +26 -1
- data/Gemfile +2 -4
- data/Gemfile.lock +1 -1
- data/LICENSE +0 -0
- data/RELEASING.md +0 -0
- data/Rakefile +2 -4
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/api_response_error.rb +2 -4
- data/lib/comet/comet_server.rb +72 -21
- data/lib/comet/definitions.rb +53 -7
- data/lib/comet/models/add_bucket_response_message.rb +2 -4
- data/lib/comet/models/admin_account_properties_response.rb +2 -4
- data/lib/comet/models/admin_email_options.rb +2 -4
- data/lib/comet/models/admin_resource_response.rb +2 -4
- data/lib/comet/models/admin_security_options.rb +2 -4
- data/lib/comet/models/admin_u2fregistration.rb +2 -4
- data/lib/comet/models/admin_user_permissions.rb +2 -4
- data/lib/comet/models/admin_web_authn_registration.rb +2 -4
- data/lib/comet/models/allowed_admin_user.rb +2 -4
- data/lib/{models/wasabi_virtual_storage_role_settings.rb → comet/models/amazon_awsvirtual_storage_role_settings.rb} +4 -6
- data/lib/comet/models/authentication_role_options.rb +149 -0
- data/lib/comet/models/available_download.rb +2 -4
- data/lib/comet/models/azure_destination_location.rb +2 -4
- data/lib/comet/models/b2destination_location.rb +2 -4
- data/lib/comet/models/b2storage_extra_info.rb +2 -4
- data/lib/comet/models/b2transaction_totals.rb +2 -4
- data/lib/comet/models/b2virtual_storage_role_settings.rb +2 -4
- data/lib/comet/models/backup_job_advanced_options.rb +2 -4
- data/lib/comet/models/backup_job_detail.rb +2 -4
- data/lib/comet/models/backup_job_progress.rb +2 -4
- data/lib/comet/models/backup_rule_config.rb +2 -4
- data/lib/comet/models/backup_rule_event_triggers.rb +2 -4
- data/lib/comet/models/branding_options.rb +11 -4
- data/lib/comet/models/branding_properties.rb +11 -4
- data/lib/comet/models/browse_disk_drives_response.rb +2 -4
- data/lib/comet/models/browse_edbresponse.rb +2 -4
- data/lib/comet/models/browse_hvresponse.rb +2 -4
- data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +2 -4
- data/lib/comet/models/browse_office_365objects_response.rb +2 -4
- data/lib/comet/models/browse_sqlserver_response.rb +2 -4
- data/lib/comet/models/browse_vssresponse.rb +2 -4
- data/lib/comet/models/bucket_properties.rb +2 -4
- data/lib/comet/models/bucket_usage_info.rb +11 -4
- data/lib/comet/models/comet_apiresponse_message.rb +2 -4
- data/lib/comet/models/comet_destination_location.rb +2 -4
- data/lib/comet/models/constellation_check_report.rb +2 -4
- data/lib/{models/software_build_role_options.rb → comet/models/constellation_role_options.rb} +24 -11
- data/lib/comet/models/constellation_stats.rb +2 -4
- data/lib/comet/models/constellation_status_apiresponse.rb +2 -4
- data/lib/comet/models/content_measurement.rb +2 -4
- data/lib/comet/models/content_measurement_component.rb +2 -4
- data/lib/comet/models/create_group_policy_response.rb +2 -4
- data/lib/comet/models/custom_remote_bucket_settings.rb +2 -4
- data/lib/comet/models/days_of_week_config.rb +2 -4
- data/lib/comet/models/default_email_report_policy.rb +2 -4
- data/lib/comet/models/default_source_with_osrestriction.rb +2 -4
- data/lib/comet/models/destination_config.rb +11 -4
- data/lib/comet/models/destination_location.rb +11 -4
- data/lib/comet/models/destination_statistics.rb +2 -4
- data/lib/comet/models/device_config.rb +2 -4
- data/lib/comet/models/disk_drive.rb +2 -4
- data/lib/comet/models/dispatcher_admin_sources_response.rb +2 -4
- data/lib/comet/models/dispatcher_stored_objects_response.rb +2 -4
- data/lib/comet/models/dispatcher_vault_snapshots_response.rb +2 -4
- data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +2 -4
- data/lib/comet/models/edbfile_info.rb +2 -4
- data/lib/comet/models/email_options.rb +2 -4
- data/lib/comet/models/email_report_config.rb +2 -4
- data/lib/comet/models/email_report_generated_preview.rb +2 -4
- data/lib/{models/remote_server_address.rb → comet/models/external_authentication_source.rb} +23 -6
- data/lib/{models/get_profile_hash_response_message.rb → comet/models/external_ldapauthentication_source_server.rb} +30 -26
- data/lib/comet/models/external_ldapauthentication_source_settings.rb +23 -10
- data/lib/comet/models/extra_file_exclusion.rb +2 -4
- data/lib/comet/models/ftpdestination_location.rb +2 -4
- data/lib/comet/models/get_group_policy_response.rb +2 -4
- data/lib/comet/models/get_profile_and_hash_response_message.rb +2 -4
- data/lib/comet/models/get_profile_hash_response_message.rb +2 -4
- data/lib/{models/server_config_options_branding_fragment.rb → comet/models/global_override_options.rb} +14 -13
- data/lib/comet/models/group_policy.rb +2 -4
- data/lib/comet/models/hour_sched_config.rb +2 -4
- data/lib/{models/my_sqlconnection.rb → comet/models/httpconnector_options.rb} +58 -60
- data/lib/comet/models/hyper_vmachine_info.rb +2 -4
- data/lib/comet/models/install_creds.rb +2 -4
- data/lib/comet/models/install_token.rb +2 -4
- data/lib/comet/models/install_token_response.rb +2 -4
- data/lib/comet/models/job_entry.rb +2 -4
- data/lib/{models/web_authn_credential_entity.rb → comet/models/license_options.rb} +17 -19
- data/lib/comet/models/live_user_connection.rb +2 -4
- data/lib/comet/models/local_destination_location.rb +2 -4
- data/lib/{models/custom_remote_bucket_settings.rb → comet/models/local_storage_directory.rb} +10 -12
- data/lib/comet/models/mac_oscode_sign_properties.rb +2 -4
- data/lib/comet/models/mongo_dbconnection.rb +2 -4
- data/lib/comet/models/mssqlconnection.rb +2 -4
- data/lib/comet/models/my_sqlconnection.rb +2 -4
- data/lib/comet/models/new_bucket_detail.rb +2 -4
- data/lib/comet/models/news_entry.rb +2 -4
- data/lib/comet/models/office_365connection.rb +2 -4
- data/lib/comet/models/office_365credential.rb +2 -4
- data/lib/comet/models/office_365custom_setting.rb +2 -4
- data/lib/comet/models/office_365custom_setting_v2.rb +2 -4
- data/lib/comet/models/office_365mixed_virtual_account.rb +13 -4
- data/lib/comet/models/office_365object_info.rb +2 -4
- data/lib/comet/models/organization.rb +5 -7
- data/lib/comet/models/organization_response.rb +2 -4
- data/lib/comet/models/osinfo.rb +2 -4
- data/lib/comet/models/partition.rb +2 -4
- data/lib/comet/models/private_branding_properties.rb +11 -4
- data/lib/comet/models/protected_item_engine_type_policy.rb +2 -4
- data/lib/comet/models/public_branding_properties.rb +2 -4
- data/lib/{models/user_custom_email_settings.rb → comet/models/ratelimit_options.rb} +15 -15
- data/lib/{models/comet_apiresponse_message.rb → comet/models/ratelimit_rule.rb} +18 -20
- data/lib/comet/models/register_office_application_begin_response.rb +2 -4
- data/lib/comet/models/register_office_application_check_response.rb +2 -4
- data/lib/comet/models/remote_server_address.rb +23 -4
- data/lib/comet/models/remote_storage_option.rb +23 -4
- data/lib/{models/remote_storage_option.rb → comet/models/replica_server.rb} +24 -25
- data/lib/comet/models/replicator_state_apiresponse.rb +2 -4
- data/lib/comet/models/request_storage_vault_response_message.rb +2 -4
- data/lib/comet/models/restore_job_advanced_options.rb +8 -4
- data/lib/comet/models/retention_policy.rb +2 -4
- data/lib/comet/models/retention_range.rb +2 -4
- data/lib/comet/models/s3destination_location.rb +11 -4
- data/lib/{models → comet/models}/s3generic_virtual_storage_role.rb +2 -4
- data/lib/comet/models/schedule_config.rb +13 -4
- data/lib/comet/models/search_clause.rb +2 -4
- data/lib/{models/spanned_storage_extra_info.rb → comet/models/self_backup_options.rb} +6 -8
- data/lib/comet/models/self_backup_statistics.rb +2 -4
- data/lib/comet/models/self_backup_target.rb +137 -0
- data/lib/comet/models/server_config_options.rb +253 -0
- data/lib/comet/models/server_config_options_branding_fragment.rb +2 -4
- data/lib/comet/models/server_config_options_software_build_role_fragment.rb +2 -4
- data/lib/comet/models/server_meta_branding_properties.rb +2 -4
- data/lib/comet/models/server_meta_version_info.rb +2 -4
- data/lib/comet/models/session_key_regenerated_response.rb +2 -4
- data/lib/{models/update_campaign_device_status.rb → comet/models/session_options.rb} +10 -12
- data/lib/comet/models/sftpdestination_location.rb +2 -4
- data/lib/comet/models/size_measurement.rb +2 -4
- data/lib/comet/models/software_build_role_options.rb +2 -4
- data/lib/comet/models/software_update_news_response.rb +2 -4
- data/lib/comet/models/source_basic_info.rb +2 -4
- data/lib/comet/models/source_config.rb +2 -4
- data/lib/comet/models/source_include_pattern.rb +2 -4
- data/lib/comet/models/source_statistics.rb +2 -4
- data/lib/comet/models/spanned_destination_location.rb +2 -4
- data/lib/comet/models/spanned_storage_extra_info.rb +2 -4
- data/lib/comet/models/sshconnection.rb +2 -4
- data/lib/comet/models/stat_result.rb +2 -4
- data/lib/comet/models/storage_free_space_info.rb +2 -4
- data/lib/{models/constellation_status_apiresponse.rb → comet/models/storage_role_options.rb} +35 -39
- data/lib/comet/models/storage_vault_provider_policy.rb +2 -4
- data/lib/comet/models/stored_object.rb +2 -4
- data/lib/comet/models/streamable_event.rb +2 -4
- data/lib/comet/models/swift_destination_location.rb +2 -4
- data/lib/comet/models/test_response.rb +2 -4
- data/lib/comet/models/totp_regenerated_response.rb +2 -4
- data/lib/comet/models/u2fregister_request.rb +2 -4
- data/lib/comet/models/u2fregistered_key.rb +2 -4
- data/lib/comet/models/u2fregistration_challenge_response.rb +2 -4
- data/lib/comet/models/u2fsign_request.rb +2 -4
- data/lib/comet/models/u2fsign_response.rb +2 -4
- data/lib/comet/models/uninstall_config.rb +2 -4
- data/lib/comet/models/update_campaign_device_status.rb +2 -4
- data/lib/comet/models/update_campaign_options.rb +4 -6
- data/lib/comet/models/update_campaign_properties.rb +2 -4
- data/lib/comet/models/update_campaign_status.rb +2 -4
- data/lib/comet/models/update_campaign_status_device_entry.rb +2 -4
- data/lib/comet/models/user_custom_email_settings.rb +2 -4
- data/lib/comet/models/user_on_server.rb +2 -4
- data/lib/comet/models/user_policy.rb +13 -4
- data/lib/comet/models/user_profile_config.rb +12 -4
- data/lib/comet/models/user_profile_fragment.rb +2 -4
- data/lib/{models/user_profile_fragment.rb → comet/models/user_server_config.rb} +13 -13
- data/lib/comet/models/vault_snapshot.rb +2 -4
- data/lib/comet/models/vmdksnapshot_view_options.rb +2 -4
- data/lib/comet/models/vsscomponent.rb +2 -4
- data/lib/comet/models/vsswriter_info.rb +2 -4
- data/lib/comet/models/wasabi_virtual_storage_role_settings.rb +2 -4
- data/lib/comet/models/web_authn_authenticator_selection.rb +2 -4
- data/lib/comet/models/web_authn_credential.rb +2 -4
- data/lib/comet/models/web_authn_credential_assertion.rb +2 -4
- data/lib/comet/models/web_authn_credential_descriptor.rb +2 -4
- data/lib/comet/models/web_authn_credential_entity.rb +2 -4
- data/lib/comet/models/web_authn_credential_parameter.rb +2 -4
- data/lib/comet/models/web_authn_public_key_credential_creation_options.rb +2 -4
- data/lib/comet/models/web_authn_public_key_credential_request_options.rb +2 -4
- data/lib/comet/models/web_authn_registration_challenge_response.rb +2 -4
- data/lib/comet/models/web_authn_relying_party_entity.rb +2 -4
- data/lib/comet/models/web_authn_sign_request.rb +2 -4
- data/lib/comet/models/web_authn_sign_response.rb +2 -4
- data/lib/comet/models/web_authn_user_entity.rb +2 -4
- data/lib/comet/models/web_interface_branding_properties.rb +2 -4
- data/lib/comet/models/webhook_option.rb +2 -4
- data/lib/comet/models/win_smbauth.rb +2 -4
- data/lib/comet/models/windows_code_sign_properties.rb +2 -4
- data/lib/comet_backup_ruby_sdk.rb +21 -4
- metadata +21 -171
- data/lib/api_response_error.rb +0 -27
- data/lib/comet_server.rb +0 -3785
- data/lib/definitions.rb +0 -710
- data/lib/models/add_bucket_response_message.rb +0 -102
- data/lib/models/admin_account_properties_response.rb +0 -91
- data/lib/models/admin_email_options.rb +0 -84
- data/lib/models/admin_resource_response.rb +0 -93
- data/lib/models/admin_security_options.rb +0 -177
- data/lib/models/admin_u2fregistration.rb +0 -93
- data/lib/models/admin_user_permissions.rb +0 -106
- data/lib/models/admin_web_authn_registration.rb +0 -121
- data/lib/models/allowed_admin_user.rb +0 -214
- data/lib/models/available_download.rb +0 -90
- data/lib/models/azure_destination_location.rb +0 -111
- data/lib/models/b2destination_location.rb +0 -130
- data/lib/models/b2storage_extra_info.rb +0 -81
- data/lib/models/b2transaction_totals.rb +0 -93
- data/lib/models/b2virtual_storage_role_settings.rb +0 -99
- data/lib/models/backup_job_advanced_options.rb +0 -117
- data/lib/models/backup_job_detail.rb +0 -328
- data/lib/models/backup_job_progress.rb +0 -111
- data/lib/models/backup_rule_config.rb +0 -233
- data/lib/models/backup_rule_event_triggers.rb +0 -82
- data/lib/models/branding_options.rb +0 -335
- data/lib/models/branding_properties.rb +0 -293
- data/lib/models/browse_disk_drives_response.rb +0 -99
- data/lib/models/browse_edbresponse.rb +0 -99
- data/lib/models/browse_hvresponse.rb +0 -99
- data/lib/models/browse_office_365list_virtual_accounts_response.rb +0 -99
- data/lib/models/browse_office_365objects_response.rb +0 -99
- data/lib/models/browse_sqlserver_response.rb +0 -100
- data/lib/models/browse_vssresponse.rb +0 -99
- data/lib/models/bucket_properties.rb +0 -110
- data/lib/models/bucket_usage_info.rb +0 -97
- data/lib/models/comet_destination_location.rb +0 -93
- data/lib/models/constellation_check_report.rb +0 -99
- data/lib/models/constellation_stats.rb +0 -102
- data/lib/models/content_measurement.rb +0 -99
- data/lib/models/content_measurement_component.rb +0 -91
- data/lib/models/create_group_policy_response.rb +0 -93
- data/lib/models/days_of_week_config.rb +0 -108
- data/lib/models/default_email_report_policy.rb +0 -87
- data/lib/models/default_source_with_osrestriction.rb +0 -83
- data/lib/models/destination_config.rb +0 -562
- data/lib/models/destination_location.rb +0 -421
- data/lib/models/destination_statistics.rb +0 -115
- data/lib/models/device_config.rb +0 -124
- data/lib/models/disk_drive.rb +0 -180
- data/lib/models/dispatcher_admin_sources_response.rb +0 -100
- data/lib/models/dispatcher_stored_objects_response.rb +0 -99
- data/lib/models/dispatcher_vault_snapshots_response.rb +0 -99
- data/lib/models/dispatcher_windisk_snapshot_response.rb +0 -99
- data/lib/models/edbfile_info.rb +0 -99
- data/lib/models/email_options.rb +0 -153
- data/lib/models/email_report_config.rb +0 -98
- data/lib/models/email_report_generated_preview.rb +0 -136
- data/lib/models/external_ldapauthentication_source_settings.rb +0 -135
- data/lib/models/extra_file_exclusion.rb +0 -90
- data/lib/models/ftpdestination_location.rb +0 -141
- data/lib/models/get_group_policy_response.rb +0 -101
- data/lib/models/get_profile_and_hash_response_message.rb +0 -101
- data/lib/models/group_policy.rb +0 -98
- data/lib/models/hour_sched_config.rb +0 -84
- data/lib/models/hyper_vmachine_info.rb +0 -84
- data/lib/models/install_creds.rb +0 -99
- data/lib/models/install_token.rb +0 -117
- data/lib/models/install_token_response.rb +0 -92
- data/lib/models/job_entry.rb +0 -94
- data/lib/models/live_user_connection.rb +0 -149
- data/lib/models/local_destination_location.rb +0 -102
- data/lib/models/mac_oscode_sign_properties.rb +0 -197
- data/lib/models/mongo_dbconnection.rb +0 -230
- data/lib/models/mssqlconnection.rb +0 -120
- data/lib/models/new_bucket_detail.rb +0 -84
- data/lib/models/news_entry.rb +0 -93
- data/lib/models/office_365connection.rb +0 -131
- data/lib/models/office_365credential.rb +0 -111
- data/lib/models/office_365custom_setting.rb +0 -133
- data/lib/models/office_365custom_setting_v2.rb +0 -108
- data/lib/models/office_365mixed_virtual_account.rb +0 -211
- data/lib/models/office_365object_info.rb +0 -118
- data/lib/models/organization.rb +0 -151
- data/lib/models/organization_response.rb +0 -101
- data/lib/models/osinfo.rb +0 -99
- data/lib/models/partition.rb +0 -172
- data/lib/models/private_branding_properties.rb +0 -227
- data/lib/models/protected_item_engine_type_policy.rb +0 -88
- data/lib/models/public_branding_properties.rb +0 -132
- data/lib/models/register_office_application_begin_response.rb +0 -93
- data/lib/models/register_office_application_check_response.rb +0 -100
- data/lib/models/replicator_state_apiresponse.rb +0 -174
- data/lib/models/request_storage_vault_response_message.rb +0 -93
- data/lib/models/restore_job_advanced_options.rb +0 -131
- data/lib/models/retention_policy.rb +0 -90
- data/lib/models/retention_range.rb +0 -138
- data/lib/models/s3destination_location.rb +0 -123
- data/lib/models/schedule_config.rb +0 -131
- data/lib/models/search_clause.rb +0 -119
- data/lib/models/self_backup_statistics.rb +0 -108
- data/lib/models/server_config_options_software_build_role_fragment.rb +0 -74
- data/lib/models/server_meta_branding_properties.rb +0 -144
- data/lib/models/server_meta_version_info.rb +0 -261
- data/lib/models/session_key_regenerated_response.rb +0 -102
- data/lib/models/sftpdestination_location.rb +0 -135
- data/lib/models/size_measurement.rb +0 -93
- data/lib/models/software_update_news_response.rb +0 -109
- data/lib/models/source_basic_info.rb +0 -101
- data/lib/models/source_config.rb +0 -202
- data/lib/models/source_include_pattern.rb +0 -84
- data/lib/models/source_statistics.rb +0 -82
- data/lib/models/spanned_destination_location.rb +0 -87
- data/lib/models/sshconnection.rb +0 -126
- data/lib/models/stat_result.rb +0 -111
- data/lib/models/storage_free_space_info.rb +0 -110
- data/lib/models/storage_vault_provider_policy.rb +0 -88
- data/lib/models/stored_object.rb +0 -238
- data/lib/models/streamable_event.rb +0 -92
- data/lib/models/swift_destination_location.rb +0 -209
- data/lib/models/test_response.rb +0 -90
- data/lib/models/totp_regenerated_response.rb +0 -111
- data/lib/models/u2fregister_request.rb +0 -85
- data/lib/models/u2fregistered_key.rb +0 -94
- data/lib/models/u2fregistration_challenge_response.rb +0 -133
- data/lib/models/u2fsign_request.rb +0 -109
- data/lib/models/u2fsign_response.rb +0 -103
- data/lib/models/uninstall_config.rb +0 -78
- data/lib/models/update_campaign_options.rb +0 -113
- data/lib/models/update_campaign_properties.rb +0 -128
- data/lib/models/update_campaign_status.rb +0 -143
- data/lib/models/update_campaign_status_device_entry.rb +0 -93
- data/lib/models/user_on_server.rb +0 -84
- data/lib/models/user_policy.rb +0 -339
- data/lib/models/user_profile_config.rb +0 -349
- data/lib/models/vault_snapshot.rb +0 -99
- data/lib/models/vmdksnapshot_view_options.rb +0 -90
- data/lib/models/vsscomponent.rb +0 -99
- data/lib/models/vsswriter_info.rb +0 -90
- data/lib/models/web_authn_authenticator_selection.rb +0 -96
- data/lib/models/web_authn_credential.rb +0 -105
- data/lib/models/web_authn_credential_assertion.rb +0 -74
- data/lib/models/web_authn_credential_descriptor.rb +0 -101
- data/lib/models/web_authn_credential_parameter.rb +0 -84
- data/lib/models/web_authn_public_key_credential_creation_options.rb +0 -172
- data/lib/models/web_authn_public_key_credential_request_options.rb +0 -140
- data/lib/models/web_authn_registration_challenge_response.rb +0 -101
- data/lib/models/web_authn_relying_party_entity.rb +0 -95
- data/lib/models/web_authn_sign_request.rb +0 -83
- data/lib/models/web_authn_sign_response.rb +0 -84
- data/lib/models/web_authn_user_entity.rb +0 -105
- data/lib/models/web_interface_branding_properties.rb +0 -108
- data/lib/models/webhook_option.rb +0 -107
- data/lib/models/win_smbauth.rb +0 -102
- data/lib/models/windows_code_sign_properties.rb +0 -147
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1541c88beaa1b7b97887d18d1ba96cf31c271f509d3f379affe65e6c6d3ab48
|
|
4
|
+
data.tar.gz: cab918f37bf9e129add1555a8f39a88e32495335c70a72aee8e0f1c660573722
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae6df3cc659a753e6f3638e17988af6e0e8b5bf4ea2b88be4150b05a421b9bdfaebbcd3d6cbe4e9284f1bd2d14d5e56bd4b9c8dff83fdf66a435f1c84c7773ab
|
|
7
|
+
data.tar.gz: cdbf3a20dc309b0285f3b08b5668e6e556becbd064fa2c8b0815c5df158490db582ce4018bf3e09e7270a5da290dd70af90d49d4934bd0711065a3a4015c3371
|
data/.gitignore
CHANGED
|
File without changes
|
data/.rubocop.yml
CHANGED
|
File without changes
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 2022-07-27 v2.1.0
|
|
4
|
+
- Based on 22.6.7
|
|
5
|
+
- Add support enforcing the `RandomDelaySecs` for both whole-server and in policies
|
|
6
|
+
- Add support for username filter parameter in `AdminDispatcherListActive`
|
|
7
|
+
- Add custom region parameters for S3-compatible storage
|
|
8
|
+
- Add IDrive e2 as a Storage Template provider and in Constellation, including access-key cleanup
|
|
9
|
+
- Add `OverwriteIfNewer` to `RestoreJobAdvancedOptions`
|
|
10
|
+
- Add Office365 User Principal names
|
|
11
|
+
|
|
12
|
+
## 2022-06-28 v2.0.0
|
|
13
|
+
- Based on 22.6.2
|
|
14
|
+
- **BREAKING:** The `Organization.Email` class member is now declared as `EmailOptions` type instead of `AdminEmailOptions`. This change is fully backward-compatible on the HTTP/JSON level, but may cause issues if your application code checked this type explicitly
|
|
15
|
+
- **BREAKING:** The `AdminOrganizationDeleteRequest` API's response type has changed to be `APIResponseMessage`, not `OrganizationResponse`. The Comet Server API had only ever filled in the `APIResponseMessage`-compatible fields of the `OrganizationResponse` structure, so the HTTP/JSON response is unchanged, but this may cause issues if your application code checked this type explicitly
|
|
16
|
+
- Move `frozen_string_literal` declaration to the top line of all `*.rb` files
|
|
17
|
+
- "Requestable" Storage Vaults have been renamed to "Storage Templates". The API endpoint is unchanged, so this is backward-compatible with older Comet Server instances
|
|
18
|
+
- Document all `ServerConfigOptions` types for the `AdminMetaServerConfigSet` and `AdminMetaServerConfigGet` APIs
|
|
19
|
+
- Add new `FallbackServers` option for LDAP external authentication sources
|
|
20
|
+
- Add new `RandomDelaySecs` option for job schedules
|
|
21
|
+
|
|
22
|
+
## 2022-06-03 v1.15.0
|
|
23
|
+
- Based on 22.5.0
|
|
24
|
+
- Add `COMPRESS_*` compression settings for Self-Backups
|
|
25
|
+
- Add `RESTOREARCHIVEFORMAT_TARZSTD` for using the tar.zst archive restore format
|
|
26
|
+
- Add `target_organization` parameter to support cross-tenant operations in some API methods
|
|
27
|
+
|
|
3
28
|
## 2022-05-25 v1.14.0
|
|
4
29
|
- Based on 22.3.7
|
|
5
30
|
- Add new `REMOTESERVER_S3_GENERIC` `RemoteServerType`
|
|
6
|
-
-
|
|
31
|
+
- Add new `S3GenericVirtualStorageRole` support to the `RemoteServerAddress`
|
|
7
32
|
|
|
8
33
|
## 2022-05-10 v1.13.0
|
|
9
34
|
- Based on 22.3.5
|
data/Gemfile
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
source 'https://rubygems.org'
|
|
11
9
|
|
data/Gemfile.lock
CHANGED
data/LICENSE
CHANGED
|
File without changes
|
data/RELEASING.md
CHANGED
|
File without changes
|
data/Rakefile
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'rake/testtask'
|
|
11
9
|
require 'rubocop/rake_task'
|
|
@@ -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 = '1.
|
|
15
|
+
spec.version = '2.1.0'
|
|
16
16
|
spec.authors = ['Comet Licensing Ltd.']
|
|
17
17
|
spec.email = ['hello@cometbackup.com']
|
|
18
18
|
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
module Comet
|
|
11
9
|
|
data/lib/comet/comet_server.rb
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'net/http'
|
|
11
9
|
require 'json'
|
|
@@ -314,8 +312,9 @@ module Comet
|
|
|
314
312
|
# @param [String] target_password New account password
|
|
315
313
|
# @param [Number] store_recovery_code (Optional) If set to 1, store and keep a password recovery code for the generated user (>= 18.3.9)
|
|
316
314
|
# @param [Number] require_password_change (Optional) If set to 1, require to reset password at the first login for the generated user (>= 20.3.4)
|
|
315
|
+
# @param [String] target_organization (Optional) If present, create the user account on behalf of another organization. Only allowed for administrator accounts in the top-level organization. (>= 22.3.7)
|
|
317
316
|
# @return [Comet::CometAPIResponseMessage]
|
|
318
|
-
def admin_add_user(target_user, target_password, store_recovery_code = nil, require_password_change = nil)
|
|
317
|
+
def admin_add_user(target_user, target_password, store_recovery_code = nil, require_password_change = nil, target_organization = nil)
|
|
319
318
|
submit_params = {}
|
|
320
319
|
raise TypeError, "'target_user' expected String, got #{target_user.class}" unless target_user.is_a? String
|
|
321
320
|
|
|
@@ -333,6 +332,11 @@ module Comet
|
|
|
333
332
|
|
|
334
333
|
submit_params['RequirePasswordChange'] = require_password_change
|
|
335
334
|
end
|
|
335
|
+
unless target_organization.nil?
|
|
336
|
+
raise TypeError, "'target_organization' expected String, got #{target_organization.class}" unless target_organization.is_a? String
|
|
337
|
+
|
|
338
|
+
submit_params['TargetOrganization'] = target_organization
|
|
339
|
+
end
|
|
336
340
|
|
|
337
341
|
body = perform_request('api/v1/admin/add-user', submit_params)
|
|
338
342
|
json_body = JSON.parse body
|
|
@@ -352,8 +356,9 @@ module Comet
|
|
|
352
356
|
#
|
|
353
357
|
# @param [String] target_user New account username
|
|
354
358
|
# @param [Comet::UserProfileConfig] profile_data New account profile
|
|
359
|
+
# @param [String] target_organization (Optional) If present, create the user account on behalf of another organization. Only allowed for administrator accounts in the top-level organization. (>= 22.3.7)
|
|
355
360
|
# @return [Comet::CometAPIResponseMessage]
|
|
356
|
-
def admin_add_user_from_profile(target_user, profile_data)
|
|
361
|
+
def admin_add_user_from_profile(target_user, profile_data, target_organization = nil)
|
|
357
362
|
submit_params = {}
|
|
358
363
|
raise TypeError, "'target_user' expected String, got #{target_user.class}" unless target_user.is_a? String
|
|
359
364
|
|
|
@@ -361,6 +366,11 @@ module Comet
|
|
|
361
366
|
raise TypeError, "'profile_data' expected Comet::UserProfileConfig, got #{profile_data.class}" unless profile_data.is_a? Comet::UserProfileConfig
|
|
362
367
|
|
|
363
368
|
submit_params['ProfileData'] = profile_data.to_json
|
|
369
|
+
unless target_organization.nil?
|
|
370
|
+
raise TypeError, "'target_organization' expected String, got #{target_organization.class}" unless target_organization.is_a? String
|
|
371
|
+
|
|
372
|
+
submit_params['TargetOrganization'] = target_organization
|
|
373
|
+
end
|
|
364
374
|
|
|
365
375
|
body = perform_request('api/v1/admin/add-user-from-profile', submit_params)
|
|
366
376
|
json_body = JSON.parse body
|
|
@@ -1202,9 +1212,17 @@ module Comet
|
|
|
1202
1212
|
# You must supply administrator authentication credentials to use this API.
|
|
1203
1213
|
# This API requires the Auth Role to be enabled.
|
|
1204
1214
|
#
|
|
1215
|
+
# @param [String] user_name_filter (Optional) User name filter string
|
|
1205
1216
|
# @return [Hash{String => Comet::LiveUserConnection}]
|
|
1206
|
-
def admin_dispatcher_list_active
|
|
1207
|
-
|
|
1217
|
+
def admin_dispatcher_list_active(user_name_filter = nil)
|
|
1218
|
+
submit_params = {}
|
|
1219
|
+
unless user_name_filter.nil?
|
|
1220
|
+
raise TypeError, "'user_name_filter' expected String, got #{user_name_filter.class}" unless user_name_filter.is_a? String
|
|
1221
|
+
|
|
1222
|
+
submit_params['UserNameFilter'] = user_name_filter
|
|
1223
|
+
end
|
|
1224
|
+
|
|
1225
|
+
body = perform_request('api/v1/admin/dispatcher/list-active', submit_params)
|
|
1208
1226
|
json_body = JSON.parse body
|
|
1209
1227
|
check_status json_body
|
|
1210
1228
|
ret = {}
|
|
@@ -2180,7 +2198,9 @@ module Comet
|
|
|
2180
2198
|
#
|
|
2181
2199
|
# This API will return all jobs that either started or ended within the supplied range.
|
|
2182
2200
|
#
|
|
2183
|
-
# Incomplete jobs have an end time of `0`. You can use this API to find incomplete jobs by setting both `Start` and `End` to `0`.
|
|
2201
|
+
# Incomplete jobs have an end time of `0`. You can use this API to find only incomplete jobs by setting both `Start` and `End` to `0`.
|
|
2202
|
+
#
|
|
2203
|
+
# Prior to Comet Server 22.6.0, additional Incomplete jobs may have been returned if you specified non-zero arguments for both `Start` and `End`.
|
|
2184
2204
|
#
|
|
2185
2205
|
# You must supply administrator authentication credentials to use this API.
|
|
2186
2206
|
# This API requires the Auth Role to be enabled.
|
|
@@ -2586,7 +2606,7 @@ module Comet
|
|
|
2586
2606
|
|
|
2587
2607
|
# AdminMetaRemoteStorageVaultSet
|
|
2588
2608
|
#
|
|
2589
|
-
# Set
|
|
2609
|
+
# Set Storage template vault options.
|
|
2590
2610
|
#
|
|
2591
2611
|
# You must supply administrator authentication credentials to use this API.
|
|
2592
2612
|
# Access to this API may be prevented on a per-administrator basis.
|
|
@@ -2974,12 +2994,14 @@ module Comet
|
|
|
2974
2994
|
#
|
|
2975
2995
|
# Delete an organization and all related users.
|
|
2976
2996
|
#
|
|
2997
|
+
# Prior to Comet 22.6.0, this API was documented as returning the OrganizationResponse type. However, it always has returned only a CometAPIResponseMessage.
|
|
2998
|
+
#
|
|
2977
2999
|
# You must supply administrator authentication credentials to use this API.
|
|
2978
3000
|
# This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
|
|
2979
3001
|
#
|
|
2980
3002
|
# @param [String] organization_id (Optional) (No description available)
|
|
2981
3003
|
# @param [Comet::UninstallConfig] uninstall_config (Optional) Uninstall software configuration
|
|
2982
|
-
# @return [Comet::
|
|
3004
|
+
# @return [Comet::CometAPIResponseMessage]
|
|
2983
3005
|
def admin_organization_delete(organization_id = nil, uninstall_config = nil)
|
|
2984
3006
|
submit_params = {}
|
|
2985
3007
|
unless organization_id.nil?
|
|
@@ -2996,7 +3018,7 @@ module Comet
|
|
|
2996
3018
|
body = perform_request('api/v1/admin/organization/delete', submit_params)
|
|
2997
3019
|
json_body = JSON.parse body
|
|
2998
3020
|
check_status json_body
|
|
2999
|
-
ret = Comet::
|
|
3021
|
+
ret = Comet::CometAPIResponseMessage.new
|
|
3000
3022
|
ret.from_hash(json_body)
|
|
3001
3023
|
ret
|
|
3002
3024
|
end
|
|
@@ -3029,6 +3051,8 @@ module Comet
|
|
|
3029
3051
|
#
|
|
3030
3052
|
# Create or Update an Organization.
|
|
3031
3053
|
#
|
|
3054
|
+
# Prior to Comet 22.6.0, the 'ID' and 'Organization' fields were not present in the response.
|
|
3055
|
+
#
|
|
3032
3056
|
# You must supply administrator authentication credentials to use this API.
|
|
3033
3057
|
# This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
|
|
3034
3058
|
#
|
|
@@ -3106,13 +3130,22 @@ module Comet
|
|
|
3106
3130
|
# AdminPoliciesList
|
|
3107
3131
|
#
|
|
3108
3132
|
# List all policy object names.
|
|
3133
|
+
# For the top-level organization, the API result includes all policies for all organizations, unless the TargetOrganization parameter is present.
|
|
3109
3134
|
#
|
|
3110
3135
|
# You must supply administrator authentication credentials to use this API.
|
|
3111
3136
|
# This API requires the Auth Role to be enabled.
|
|
3112
3137
|
#
|
|
3138
|
+
# @param [String] target_organization (Optional) If present, list the policies belonging to another organization. Only allowed for administrator accounts in the top-level organization. (>= 22.3.7)
|
|
3113
3139
|
# @return [Hash{String => String}]
|
|
3114
|
-
def admin_policies_list
|
|
3115
|
-
|
|
3140
|
+
def admin_policies_list(target_organization = nil)
|
|
3141
|
+
submit_params = {}
|
|
3142
|
+
unless target_organization.nil?
|
|
3143
|
+
raise TypeError, "'target_organization' expected String, got #{target_organization.class}" unless target_organization.is_a? String
|
|
3144
|
+
|
|
3145
|
+
submit_params['TargetOrganization'] = target_organization
|
|
3146
|
+
end
|
|
3147
|
+
|
|
3148
|
+
body = perform_request('api/v1/admin/policies/list', submit_params)
|
|
3116
3149
|
json_body = JSON.parse body
|
|
3117
3150
|
check_status json_body
|
|
3118
3151
|
ret = {}
|
|
@@ -3131,13 +3164,22 @@ module Comet
|
|
|
3131
3164
|
# AdminPoliciesListFull
|
|
3132
3165
|
#
|
|
3133
3166
|
# Get all policy objects.
|
|
3167
|
+
# For the top-level organization, the API result includes all policies for all organizations, unless the TargetOrganization parameter is present.
|
|
3134
3168
|
#
|
|
3135
3169
|
# You must supply administrator authentication credentials to use this API.
|
|
3136
3170
|
# This API requires the Auth Role to be enabled.
|
|
3137
3171
|
#
|
|
3172
|
+
# @param [String] target_organization (Optional) If present, list the policies belonging to another organization. Only allowed for administrator accounts in the top-level organization. (>= 22.3.7)
|
|
3138
3173
|
# @return [Hash{String => Comet::GroupPolicy}]
|
|
3139
|
-
def admin_policies_list_full
|
|
3140
|
-
|
|
3174
|
+
def admin_policies_list_full(target_organization = nil)
|
|
3175
|
+
submit_params = {}
|
|
3176
|
+
unless target_organization.nil?
|
|
3177
|
+
raise TypeError, "'target_organization' expected String, got #{target_organization.class}" unless target_organization.is_a? String
|
|
3178
|
+
|
|
3179
|
+
submit_params['TargetOrganization'] = target_organization
|
|
3180
|
+
end
|
|
3181
|
+
|
|
3182
|
+
body = perform_request('api/v1/admin/policies/list-full', submit_params)
|
|
3141
3183
|
json_body = JSON.parse body
|
|
3142
3184
|
check_status json_body
|
|
3143
3185
|
ret = {}
|
|
@@ -3272,12 +3314,13 @@ module Comet
|
|
|
3272
3314
|
# Request a new Storage Vault on behalf of a user.
|
|
3273
3315
|
# This action does not respect the "Prevent creating new Storage Vaults (via Request)" policy setting. New Storage Vaults can be requested regardless of the policy setting.
|
|
3274
3316
|
# Prior to Comet 19.8.0, the response type was CometAPIResponseMessage (i.e. no DestinationID field in response).
|
|
3317
|
+
# The StorageProvider must exist for the target user account's organization.
|
|
3275
3318
|
#
|
|
3276
3319
|
# You must supply administrator authentication credentials to use this API.
|
|
3277
3320
|
# This API requires the Auth Role to be enabled.
|
|
3278
3321
|
#
|
|
3279
3322
|
# @param [String] target_user The user to receive the new Storage Vault
|
|
3280
|
-
# @param [String] storage_provider ID for the
|
|
3323
|
+
# @param [String] storage_provider ID for the storage template destination
|
|
3281
3324
|
# @param [String] self_address (Optional) The external URL for this server. Used to resolve conflicts
|
|
3282
3325
|
# @return [Comet::RequestStorageVaultResponseMessage]
|
|
3283
3326
|
def admin_request_storage_vault(target_user, storage_provider, self_address = nil)
|
|
@@ -3311,9 +3354,17 @@ module Comet
|
|
|
3311
3354
|
# You must supply administrator authentication credentials to use this API.
|
|
3312
3355
|
# This API requires the Auth Role to be enabled.
|
|
3313
3356
|
#
|
|
3357
|
+
# @param [String] target_organization (Optional) If present, list the storage template options belonging to another organization. Only allowed for administrator accounts in the top-level organization. (>= 22.3.7)
|
|
3314
3358
|
# @return [Hash{String => String}]
|
|
3315
|
-
def admin_request_storage_vault_providers
|
|
3316
|
-
|
|
3359
|
+
def admin_request_storage_vault_providers(target_organization = nil)
|
|
3360
|
+
submit_params = {}
|
|
3361
|
+
unless target_organization.nil?
|
|
3362
|
+
raise TypeError, "'target_organization' expected String, got #{target_organization.class}" unless target_organization.is_a? String
|
|
3363
|
+
|
|
3364
|
+
submit_params['TargetOrganization'] = target_organization
|
|
3365
|
+
end
|
|
3366
|
+
|
|
3367
|
+
body = perform_request('api/v1/admin/request-storage-vault-providers', submit_params)
|
|
3317
3368
|
json_body = JSON.parse body
|
|
3318
3369
|
check_status json_body
|
|
3319
3370
|
ret = {}
|
|
@@ -3730,7 +3781,7 @@ module Comet
|
|
|
3730
3781
|
|
|
3731
3782
|
ret_error = Comet::CometAPIResponseMessage.new
|
|
3732
3783
|
ret_error.from_hash(obj)
|
|
3733
|
-
raise Comet::APIResponseError
|
|
3784
|
+
raise Comet::APIResponseError.new(ret_error)
|
|
3734
3785
|
end
|
|
3735
3786
|
|
|
3736
3787
|
# Perform a synchronous HTTP request.
|
|
@@ -3767,7 +3818,7 @@ module Comet
|
|
|
3767
3818
|
|
|
3768
3819
|
form_params = []
|
|
3769
3820
|
params.each do |k, v|
|
|
3770
|
-
form_params.append [k, v, {
|
|
3821
|
+
form_params.append [k, v, {:filename => k}]
|
|
3771
3822
|
end
|
|
3772
3823
|
req.set_form(form_params, 'multipart/form-data')
|
|
3773
3824
|
|
data/lib/comet/definitions.rb
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
module Comet
|
|
11
9
|
|
|
@@ -235,6 +233,9 @@ module Comet
|
|
|
235
233
|
# RestoreArchiveFormat: SquashFS container
|
|
236
234
|
RESTOREARCHIVEFORMAT_SQFS = 3
|
|
237
235
|
|
|
236
|
+
# RestoreArchiveFormat:
|
|
237
|
+
RESTOREARCHIVEFORMAT_TARZSTD = 4
|
|
238
|
+
|
|
238
239
|
# RetentionMode: If this mode is set in a RetentionPolicy, then RetentionPolicy.Ranges should be ignored.
|
|
239
240
|
RETENTIONMODE_KEEP_EVERYTHING = 801
|
|
240
241
|
|
|
@@ -319,6 +320,9 @@ module Comet
|
|
|
319
320
|
|
|
320
321
|
SCHEDULE_FREQUENCY_HIGHEST = 8015
|
|
321
322
|
|
|
323
|
+
# Maximum random delay (5 hours)
|
|
324
|
+
SCHEDULE_MAX_RANDOM_DELAY_SECS = 18_000
|
|
325
|
+
|
|
322
326
|
# 2^50 (1 << 50)
|
|
323
327
|
SCHEDULE_MAXINT = 1_125_899_906_842_624
|
|
324
328
|
|
|
@@ -465,13 +469,13 @@ module Comet
|
|
|
465
469
|
|
|
466
470
|
DEFAULT_TIMEZONE = 'UTC'
|
|
467
471
|
|
|
468
|
-
APPLICATION_VERSION = '22.
|
|
472
|
+
APPLICATION_VERSION = '22.6.7'
|
|
469
473
|
|
|
470
474
|
APPLICATION_VERSION_MAJOR = 22
|
|
471
475
|
|
|
472
|
-
APPLICATION_VERSION_MINOR =
|
|
476
|
+
APPLICATION_VERSION_MINOR = 6
|
|
473
477
|
|
|
474
|
-
APPLICATION_VERSION_REVISION =
|
|
478
|
+
APPLICATION_VERSION_REVISION = 7
|
|
475
479
|
|
|
476
480
|
RELEASE_CODENAME = 'Voyager'
|
|
477
481
|
|
|
@@ -652,10 +656,22 @@ module Comet
|
|
|
652
656
|
# RemoteServerType:
|
|
653
657
|
REMOTESERVER_CUSTOM = 'custom'
|
|
654
658
|
|
|
659
|
+
# RemoteServerType:
|
|
660
|
+
REMOTESERVER_S3_GENERIC = 's3'
|
|
661
|
+
|
|
662
|
+
# RemoteServerType:
|
|
663
|
+
REMOTESERVER_AWS = 'aws'
|
|
664
|
+
|
|
665
|
+
# RemoteServerType:
|
|
666
|
+
REMOTESERVER_IDRIVEE2 = 'idrivee2'
|
|
667
|
+
|
|
668
|
+
# LDAPSecurityMethod:
|
|
655
669
|
LDAPSECURITYMETHOD_PLAIN = 'plain'
|
|
656
670
|
|
|
671
|
+
# LDAPSecurityMethod:
|
|
657
672
|
LDAPSECURITYMETHOD_LDAPS = 'ldaps'
|
|
658
673
|
|
|
674
|
+
# LDAPSecurityMethod:
|
|
659
675
|
LDAPSECURITYMETHOD_STARTTLS = 'starttls'
|
|
660
676
|
|
|
661
677
|
# MacOSCodesignLevel:
|
|
@@ -667,6 +683,12 @@ module Comet
|
|
|
667
683
|
# MacOSCodesignLevel:
|
|
668
684
|
MACOSCODESIGN_LEVEL_SIGN_NOTARISE_STAPLE = 2
|
|
669
685
|
|
|
686
|
+
# ClientBrandingBuildMode: Public-Doc: The software client will be custom-built by this Comet Server, allowing custom branding, default server URL, and codesigning.
|
|
687
|
+
CLIENTBRANDINGBUILD_CUSTOM = 0
|
|
688
|
+
|
|
689
|
+
# ClientBrandingBuildMode: Public-Doc: A pre-built software client will be served, with Comet-branding, no server URL, and Comet codesigning.
|
|
690
|
+
CLIENTBRANDINGBUILD_PREBUILT = 1
|
|
691
|
+
|
|
670
692
|
# StreamableEventType:
|
|
671
693
|
SEVT__MIN = 4000
|
|
672
694
|
|
|
@@ -694,6 +716,30 @@ module Comet
|
|
|
694
716
|
# StreamableEventType:
|
|
695
717
|
SEVT__MAX = 4999
|
|
696
718
|
|
|
719
|
+
# CompressMode:
|
|
720
|
+
COMPRESS_INVALID = 0
|
|
721
|
+
|
|
722
|
+
# CompressMode:
|
|
723
|
+
COMPRESS_LVL_1 = 1
|
|
724
|
+
|
|
725
|
+
# CompressMode:
|
|
726
|
+
COMPRESS_LVL_2 = 2
|
|
727
|
+
|
|
728
|
+
# CompressMode:
|
|
729
|
+
COMPRESS_LVL_3 = 3
|
|
730
|
+
|
|
731
|
+
# CompressMode:
|
|
732
|
+
COMPRESS_LVL_4 = 4
|
|
733
|
+
|
|
734
|
+
# CompressMode:
|
|
735
|
+
COMPRESS_LVL_5 = 5
|
|
736
|
+
|
|
737
|
+
# CompressMode:
|
|
738
|
+
COMPRESS_MAX = COMPRESS_LVL_5
|
|
739
|
+
|
|
740
|
+
# CompressMode:
|
|
741
|
+
COMPRESS_DEFAULT = COMPRESS_LVL_4
|
|
742
|
+
|
|
697
743
|
OFFICE365_REGION_PUBLIC = 'GlobalPublicCloud'
|
|
698
744
|
|
|
699
745
|
OFFICE365_REGION_CHINA = 'ChinaCloud'
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'json'
|
|
11
9
|
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'json'
|
|
11
9
|
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'json'
|
|
11
9
|
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'json'
|
|
11
9
|
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'json'
|
|
11
9
|
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'base64'
|
|
11
9
|
require 'json'
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'json'
|
|
11
9
|
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'base64'
|
|
11
9
|
require 'json'
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'json'
|
|
11
9
|
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
3
|
# Copyright (c) 2020-2022 Comet Licensing Ltd.
|
|
4
4
|
# Please see the LICENSE file for usage information.
|
|
5
5
|
#
|
|
6
6
|
# SPDX-License-Identifier: MIT
|
|
7
|
-
#
|
|
8
|
-
# frozen_string_literal: true
|
|
9
7
|
|
|
10
8
|
require 'json'
|
|
11
9
|
|
|
12
10
|
module Comet
|
|
13
11
|
|
|
14
|
-
#
|
|
15
|
-
class
|
|
12
|
+
# AmazonAWSVirtualStorageRoleSettings is a typed class wrapper around the underlying Comet Server API data structure.
|
|
13
|
+
class AmazonAWSVirtualStorageRoleSettings
|
|
16
14
|
|
|
17
15
|
# @type [String] master_bucket
|
|
18
16
|
attr_accessor :master_bucket
|