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.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/Gemfile.lock +1 -1
  4. data/comet_backup_ruby_sdk.gemspec +1 -1
  5. data/lib/comet/definitions.rb +331 -188
  6. data/lib/comet/models/add_bucket_response_message.rb +1 -0
  7. data/lib/comet/models/admin_resource_response.rb +1 -0
  8. data/lib/comet/models/azure_destination_location.rb +3 -0
  9. data/lib/comet/models/b2destination_location.rb +7 -0
  10. data/lib/comet/models/backup_job_advanced_options.rb +9 -0
  11. data/lib/comet/models/backup_job_detail.rb +15 -0
  12. data/lib/comet/models/backup_job_progress.rb +4 -0
  13. data/lib/comet/models/backup_rule_config.rb +17 -0
  14. data/lib/comet/models/backup_rule_event_triggers.rb +3 -0
  15. data/lib/comet/models/branding_options.rb +2 -0
  16. data/lib/comet/models/browse_disk_drives_response.rb +1 -0
  17. data/lib/comet/models/browse_edbresponse.rb +1 -0
  18. data/lib/comet/models/browse_hvresponse.rb +1 -0
  19. data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +1 -0
  20. data/lib/comet/models/browse_office_365objects_response.rb +1 -0
  21. data/lib/comet/models/browse_sqlserver_response.rb +1 -0
  22. data/lib/comet/models/browse_vssresponse.rb +1 -0
  23. data/lib/comet/models/bucket_usage_info.rb +2 -0
  24. data/lib/comet/models/comet_apiresponse_message.rb +1 -0
  25. data/lib/comet/models/comet_destination_location.rb +1 -0
  26. data/lib/comet/models/constellation_check_report.rb +2 -0
  27. data/lib/comet/models/constellation_status_apiresponse.rb +1 -0
  28. data/lib/comet/models/content_measurement.rb +2 -0
  29. data/lib/comet/models/content_measurement_component.rb +12 -0
  30. data/lib/comet/models/create_group_policy_response.rb +1 -0
  31. data/lib/comet/models/default_email_report_policy.rb +4 -0
  32. data/lib/comet/models/destination_config.rb +47 -0
  33. data/lib/comet/models/destination_location.rb +36 -0
  34. data/lib/comet/models/destination_statistics.rb +2 -0
  35. data/lib/comet/models/device_config.rb +5 -0
  36. data/lib/comet/models/dispatcher_admin_sources_response.rb +1 -0
  37. data/lib/comet/models/dispatcher_stored_objects_response.rb +1 -0
  38. data/lib/comet/models/dispatcher_vault_snapshots_response.rb +1 -0
  39. data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +1 -0
  40. data/lib/comet/models/email_options.rb +1 -0
  41. data/lib/comet/models/email_report_config.rb +3 -0
  42. data/lib/comet/models/email_report_generated_preview.rb +1 -0
  43. data/lib/comet/models/extra_file_exclusion.rb +4 -0
  44. data/lib/comet/models/file_option.rb +132 -0
  45. data/lib/comet/models/ftpdestination_location.rb +5 -0
  46. data/lib/comet/models/get_group_policy_response.rb +1 -0
  47. data/lib/comet/models/get_profile_and_hash_response_message.rb +4 -0
  48. data/lib/comet/models/get_profile_hash_response_message.rb +1 -0
  49. data/lib/comet/models/group_policy.rb +4 -0
  50. data/lib/comet/models/install_token_response.rb +1 -0
  51. data/lib/comet/models/job_entry.rb +2 -0
  52. data/lib/comet/models/live_user_connection.rb +11 -0
  53. data/lib/comet/models/local_destination_location.rb +5 -0
  54. data/lib/comet/models/mac_oscode_sign_properties.rb +1 -0
  55. data/lib/comet/models/mongo_dbconnection.rb +2 -0
  56. data/lib/comet/models/mssqllogin_args.rb +2 -0
  57. data/lib/comet/models/my_sqlconnection.rb +2 -0
  58. data/lib/comet/models/office_365custom_setting.rb +3 -0
  59. data/lib/comet/models/office_365custom_setting_v2.rb +9 -0
  60. data/lib/comet/models/office_365object_info.rb +1 -0
  61. data/lib/comet/models/organization.rb +85 -70
  62. data/lib/comet/models/request_storage_vault_response_message.rb +1 -0
  63. data/lib/comet/models/restore_job_advanced_options.rb +19 -0
  64. data/lib/comet/models/retention_policy.rb +1 -0
  65. data/lib/comet/models/retention_range.rb +1 -0
  66. data/lib/comet/models/s3destination_location.rb +1 -0
  67. data/lib/comet/models/search_result_file_info.rb +39 -17
  68. data/lib/comet/models/search_snapshots_response.rb +1 -0
  69. data/lib/comet/models/self_backup_export_options.rb +3 -0
  70. data/lib/comet/models/self_backup_target.rb +4 -0
  71. data/lib/comet/models/server_config_options.rb +28 -0
  72. data/lib/comet/models/server_meta_branding_properties.rb +4 -0
  73. data/lib/comet/models/server_meta_version_info.rb +8 -0
  74. data/lib/comet/models/session_key_regenerated_response.rb +1 -0
  75. data/lib/comet/models/session_options.rb +2 -0
  76. data/lib/comet/models/sftpdestination_location.rb +8 -0
  77. data/lib/comet/models/size_measurement.rb +3 -0
  78. data/lib/comet/models/source_basic_info.rb +1 -0
  79. data/lib/comet/models/source_config.rb +53 -0
  80. data/lib/comet/models/source_include_pattern.rb +5 -0
  81. data/lib/comet/models/spanned_destination_location.rb +11 -0
  82. data/lib/comet/models/sshconnection.rb +7 -0
  83. data/lib/comet/models/stored_object.rb +7 -0
  84. data/lib/comet/models/streamable_event.rb +42 -0
  85. data/lib/comet/models/swift_destination_location.rb +7 -0
  86. data/lib/comet/models/test_response.rb +1 -0
  87. data/lib/comet/models/time_span.rb +2 -0
  88. data/lib/comet/models/totp_regenerated_response.rb +1 -0
  89. data/lib/comet/models/u2fregistration_challenge_response.rb +1 -0
  90. data/lib/comet/models/uninstall_config.rb +4 -0
  91. data/lib/comet/models/update_campaign_options.rb +3 -0
  92. data/lib/comet/models/update_campaign_properties.rb +3 -0
  93. data/lib/comet/models/update_campaign_status.rb +3 -0
  94. data/lib/comet/models/user_on_server.rb +2 -0
  95. data/lib/comet/models/user_profile_config.rb +45 -0
  96. data/lib/comet/models/user_profile_fragment.rb +1 -0
  97. data/lib/comet/models/vmdksnapshot_view_options.rb +4 -0
  98. data/lib/comet/models/web_authn_registration_challenge_response.rb +1 -0
  99. data/lib/comet/models/web_interface_branding_properties.rb +2 -0
  100. data/lib/comet/models/webhook_option.rb +35 -16
  101. data/lib/comet/models/win_smbauth.rb +6 -0
  102. data/lib/comet_backup_ruby_sdk.rb +1 -0
  103. metadata +3 -2
@@ -12,6 +12,7 @@ module Comet
12
12
  # AddBucketResponseMessage is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class AddBucketResponseMessage
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # AdminResourceResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class AdminResourceResponse
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -10,6 +10,8 @@ require 'json'
10
10
  module Comet
11
11
 
12
12
  # AzureDestinationLocation is a typed class wrapper around the underlying Comet Server API data structure.
13
+ # AzureDestinationLocation allows configuring connection settings for storage locations using the
14
+ # Azure Blob Storage API (DESTINATIONTYPE_AZURE).
13
15
  class AzureDestinationLocation
14
16
 
15
17
  # @type [String] azbaccount_name
@@ -21,6 +23,7 @@ module Comet
21
23
  # @type [String] azbcontainer
22
24
  attr_accessor :azbcontainer
23
25
 
26
+ # The base URL for the Azure Blob Storage service. Leave blank to use the global default URL.
24
27
  # @type [String] azbrealm
25
28
  attr_accessor :azbrealm
26
29
 
@@ -10,11 +10,15 @@ require 'json'
10
10
  module Comet
11
11
 
12
12
  # B2DestinationLocation is a typed class wrapper around the underlying Comet Server API data structure.
13
+ # B2DestinationLocation allows configuring connection settings for storage locations using the
14
+ # Backblaze B2 native API (DESTINATIONTYPE_B2).
13
15
  class B2DestinationLocation
14
16
 
17
+ # Key ID
15
18
  # @type [String] account_id
16
19
  attr_accessor :account_id
17
20
 
21
+ # Application Key
18
22
  # @type [String] key
19
23
  attr_accessor :key
20
24
 
@@ -28,6 +32,9 @@ module Comet
28
32
  # @deprecated This member has been deprecated since Comet version 21.9.7
29
33
  attr_accessor :max_connections
30
34
 
35
+ # Hide files instead of deleting them. This can be used for ransomware protection if (A) the B2
36
+ # credentials have the hideFile permission but not the deleteFile permission, and (B) you use the
37
+ # Backblaze B2 server-side lifecycle policies to clean up old hidden files.
31
38
  # @type [Boolean] hide_deleted_files
32
39
  attr_accessor :hide_deleted_files
33
40
 
@@ -10,26 +10,35 @@ require 'json'
10
10
  module Comet
11
11
 
12
12
  # BackupJobAdvancedOptions is a typed class wrapper around the underlying Comet Server API data structure.
13
+ # BackupJobAdvancedOptions control additional advanced options for running a backup job. They can be
14
+ # specified as part of a schedule in the BackupRuleConfig type, or supplied immediately when running
15
+ # a job.
13
16
  class BackupJobAdvancedOptions
14
17
 
15
18
  # @type [Boolean] skip_already_running
16
19
  attr_accessor :skip_already_running
17
20
 
21
+ # If Zero: disabled
18
22
  # @type [Number] stop_after
19
23
  attr_accessor :stop_after
20
24
 
25
+ # If Zero: disabled
21
26
  # @type [Number] limit_vault_speed_bps
22
27
  attr_accessor :limit_vault_speed_bps
23
28
 
29
+ # Default disabled
24
30
  # @type [Boolean] reduce_disk_concurrency
25
31
  attr_accessor :reduce_disk_concurrency
26
32
 
33
+ # Default disabled
27
34
  # @type [Boolean] use_on_disk_indexes
28
35
  attr_accessor :use_on_disk_indexes
29
36
 
37
+ # Default disabled
30
38
  # @type [Boolean] allow_zero_files_success
31
39
  attr_accessor :allow_zero_files_success
32
40
 
41
+ # If Zero: default Automatic (BACKUPJOBAUTORETENTION_AUTOMATIC)
33
42
  # @type [Number] auto_retention_level
34
43
  attr_accessor :auto_retention_level
35
44
 
@@ -24,15 +24,19 @@ module Comet
24
24
  # @type [Number] status
25
25
  attr_accessor :status
26
26
 
27
+ # Unix timestamp in seconds
27
28
  # @type [Number] start_time
28
29
  attr_accessor :start_time
29
30
 
31
+ # Unix timestamp in seconds. Will be zero if the job is still running.
30
32
  # @type [Number] end_time
31
33
  attr_accessor :end_time
32
34
 
35
+ # The Protected Item that this job is for
33
36
  # @type [String] source_guid
34
37
  attr_accessor :source_guid
35
38
 
39
+ # The Storage Vault that this job is for
36
40
  # @type [String] destination_guid
37
41
  attr_accessor :destination_guid
38
42
 
@@ -63,33 +67,44 @@ module Comet
63
67
  # @type [Number] download_size
64
68
  attr_accessor :download_size
65
69
 
70
+ # For Hyper-V and VMware backup jobs, the total number of virtual machines.
66
71
  # @type [Number] total_vm_count
67
72
  attr_accessor :total_vm_count
68
73
 
74
+ # For Office 365 backup jobs, the total number of mailboxes.
69
75
  # @type [Number] total_mails_count
70
76
  attr_accessor :total_mails_count
71
77
 
78
+ # For Office 365 backup jobs, the total number of SharePoint sites.
72
79
  # @type [Number] total_sites_count
73
80
  attr_accessor :total_sites_count
74
81
 
82
+ # For Office 365 backup jobs, the calculated effective number of protected accounts.
75
83
  # @type [Number] total_accounts_count
76
84
  attr_accessor :total_accounts_count
77
85
 
86
+ # For Office 365 backup jobs, the number of licensed mailboxes.
78
87
  # @type [Number] total_licensed_mails_count
79
88
  attr_accessor :total_licensed_mails_count
80
89
 
90
+ # For Office 365 backup jobs, the number of unlicensed mailboxes.
81
91
  # @type [Number] total_unlicensed_mails_count
82
92
  attr_accessor :total_unlicensed_mails_count
83
93
 
94
+ # If this field is present, it is possible to request cancellation of this job via the API.
84
95
  # @type [String] cancellation_id
85
96
  attr_accessor :cancellation_id
86
97
 
98
+ # If this backup job is still running, additional partial-progress information may be present in
99
+ # this field.
87
100
  # @type [Comet::BackupJobProgress] progress
88
101
  attr_accessor :progress
89
102
 
103
+ # The size of the Storage Vault, as measured at the start of the job.
90
104
  # @type [Comet::SizeMeasurement] destination_size_start
91
105
  attr_accessor :destination_size_start
92
106
 
107
+ # The size of the Storage Vault, as measured at the end of the job.
93
108
  # @type [Comet::SizeMeasurement] destination_size_end
94
109
  attr_accessor :destination_size_end
95
110
 
@@ -12,12 +12,16 @@ module Comet
12
12
  # BackupJobProgress is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BackupJobProgress
14
14
 
15
+ # This field will always increase monotonically, exactly once, for every change to the
16
+ # BackupJobProgress for a given backup job.
15
17
  # @type [Number] counter
16
18
  attr_accessor :counter
17
19
 
20
+ # Unix timestamp in seconds
18
21
  # @type [Number] sent_time
19
22
  attr_accessor :sent_time
20
23
 
24
+ # Unix timestamp in seconds. The typo is preserved for backwards-compatibility reasons.
21
25
  # @type [Number] recieved_time
22
26
  attr_accessor :recieved_time
23
27
 
@@ -10,56 +10,73 @@ require 'json'
10
10
  module Comet
11
11
 
12
12
  # BackupRuleConfig is a typed class wrapper around the underlying Comet Server API data structure.
13
+ # A backup rule connects one source Protected Item and one destination Storage Vault, with multiple
14
+ # time schedules or event triggers
13
15
  class BackupRuleConfig
14
16
 
15
17
  # @type [String] description
16
18
  attr_accessor :description
17
19
 
20
+ # Unix timestamp in seconds
18
21
  # @type [Number] create_time
19
22
  attr_accessor :create_time
20
23
 
24
+ # Unix timestamp in seconds. The caller is responsible for updating this themselves.
21
25
  # @type [Number] modify_time
22
26
  attr_accessor :modify_time
23
27
 
28
+ # Custom commands to run before the job
24
29
  # @type [Array<String>] pre_exec
25
30
  attr_accessor :pre_exec
26
31
 
32
+ # Custom commands to run after taking a disk snapshot
27
33
  # @type [Array<String>] thaw_exec
28
34
  attr_accessor :thaw_exec
29
35
 
36
+ # Custom commands to run after the job
30
37
  # @type [Array<String>] post_exec
31
38
  attr_accessor :post_exec
32
39
 
40
+ # The source Protected Item ID to back up from, during this schedule
33
41
  # @type [String] source
34
42
  attr_accessor :source
35
43
 
44
+ # The destination Storage Vault ID to back up to, during this schedule
36
45
  # @type [String] destination
37
46
  attr_accessor :destination
38
47
 
39
48
  # @type [Boolean] skip_already_running
40
49
  attr_accessor :skip_already_running
41
50
 
51
+ # If Zero: disabled
42
52
  # @type [Number] stop_after
43
53
  attr_accessor :stop_after
44
54
 
55
+ # If Zero: disabled
45
56
  # @type [Number] limit_vault_speed_bps
46
57
  attr_accessor :limit_vault_speed_bps
47
58
 
59
+ # Default disabled
48
60
  # @type [Boolean] reduce_disk_concurrency
49
61
  attr_accessor :reduce_disk_concurrency
50
62
 
63
+ # Default disabled
51
64
  # @type [Boolean] use_on_disk_indexes
52
65
  attr_accessor :use_on_disk_indexes
53
66
 
67
+ # Default disabled
54
68
  # @type [Boolean] allow_zero_files_success
55
69
  attr_accessor :allow_zero_files_success
56
70
 
71
+ # If Zero: default Automatic (BACKUPJOBAUTORETENTION_AUTOMATIC)
57
72
  # @type [Number] auto_retention_level
58
73
  attr_accessor :auto_retention_level
59
74
 
75
+ # Scheduled start times
60
76
  # @type [Array<Comet::ScheduleConfig>] schedules
61
77
  attr_accessor :schedules
62
78
 
79
+ # Other events that will cause this scheduled job to start
63
80
  # @type [Comet::BackupRuleEventTriggers] event_triggers
64
81
  attr_accessor :event_triggers
65
82
 
@@ -12,9 +12,12 @@ module Comet
12
12
  # BackupRuleEventTriggers is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BackupRuleEventTriggers
14
14
 
15
+ # The "When PC Starts" option
15
16
  # @type [Boolean] on_pcboot
16
17
  attr_accessor :on_pcboot
17
18
 
19
+ # The "If the last job was Missed" option. In Comet 23.12.3 and later, this condition is evaluated
20
+ # when the PC starts and/or when the live connection is resumed.
18
21
  # @type [Boolean] on_pcboot_if_last_job_missed
19
22
  attr_accessor :on_pcboot_if_last_job_missed
20
23
 
@@ -12,6 +12,8 @@ module Comet
12
12
  # BrandingOptions is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrandingOptions
14
14
 
15
+ # One of the BRANDINGSTYLETYPE_ constants
16
+ # This field is available in Comet 23.3.3 and later.
15
17
  # @type [Number] branding_style_type
16
18
  attr_accessor :branding_style_type
17
19
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # BrowseDiskDrivesResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseDiskDrivesResponse
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # BrowseEDBResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseEDBResponse
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # BrowseHVResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseHVResponse
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # BrowseOffice365ListVirtualAccountsResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseOffice365ListVirtualAccountsResponse
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # BrowseOffice365ObjectsResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseOffice365ObjectsResponse
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # BrowseSQLServerResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseSQLServerResponse
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # BrowseVSSResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class BrowseVSSResponse
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -15,6 +15,8 @@ module Comet
15
15
  # @type [String] access_key
16
16
  attr_accessor :access_key
17
17
 
18
+ # The servers where this bucket was found. The 0-based indexes here correspond to the entries inside
19
+ # ConstellationRoleOptions->Servers.
18
20
  # @type [Array<Number>] exists_on_servers
19
21
  attr_accessor :exists_on_servers
20
22
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # CometAPIResponseMessage is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class CometAPIResponseMessage
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # CometDestinationLocation is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class CometDestinationLocation
14
14
 
15
+ # The URL for the target Comet Server Storage Role, including http/https and trailing slash
15
16
  # @type [String] comet_server
16
17
  attr_accessor :comet_server
17
18
 
@@ -12,9 +12,11 @@ module Comet
12
12
  # ConstellationCheckReport is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class ConstellationCheckReport
14
14
 
15
+ # Unix timestamp in seconds
15
16
  # @type [Number] check_started
16
17
  attr_accessor :check_started
17
18
 
19
+ # Unix timestamp in seconds
18
20
  # @type [Number] check_completed
19
21
  attr_accessor :check_completed
20
22
 
@@ -18,6 +18,7 @@ module Comet
18
18
  # @type [Array<String>] targets
19
19
  attr_accessor :targets
20
20
 
21
+ # This field is available in Comet 18.6.2 and later.
21
22
  # @type [Array<String>] target_names
22
23
  attr_accessor :target_names
23
24
 
@@ -12,9 +12,11 @@ module Comet
12
12
  # ContentMeasurement is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class ContentMeasurement
14
14
 
15
+ # Unix timestamp in seconds
15
16
  # @type [Number] measure_started
16
17
  attr_accessor :measure_started
17
18
 
19
+ # Unix timestamp in seconds
18
20
  # @type [Number] measure_completed
19
21
  attr_accessor :measure_completed
20
22
 
@@ -15,6 +15,18 @@ module Comet
15
15
  # @type [Number] bytes
16
16
  attr_accessor :bytes
17
17
 
18
+ # A list of strings describing which groups of snapshots rely on reaching this component of data.
19
+ # The strings may take the following formats:
20
+ # - source_id/CURRENT - this data is required by the most recent backup job snapshot for the listed
21
+ # Protected Item source.
22
+ # - source_id/HISTORIC - this data is required by an older backup job snapshot for the listed
23
+ # Protected Item source.
24
+ # - TRUNCATED/* - there are too many separate components to show, and this component represents data
25
+ # that is used by some other combination of components. If present, it will be the only entry in the
26
+ # UsedBy array.
27
+ # - the empty string - this amount of data is not currently referenced by any backup job snapshots.
28
+ # If that remains the case by the next retention pass, this much data will be deleted to free up
29
+ # space. If present, it will be the only entry in the UsedBy array.
18
30
  # @type [Array<String>] used_by
19
31
  attr_accessor :used_by
20
32
 
@@ -12,6 +12,7 @@ module Comet
12
12
  # CreateGroupPolicyResponse is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class CreateGroupPolicyResponse
14
14
 
15
+ # If the operation was successful, the status will be in the 200-299 range.
15
16
  # @type [Number] status
16
17
  attr_accessor :status
17
18
 
@@ -12,6 +12,10 @@ module Comet
12
12
  # DefaultEmailReportPolicy is a typed class wrapper around the underlying Comet Server API data structure.
13
13
  class DefaultEmailReportPolicy
14
14
 
15
+ # If true, the email reports will use the custom configuration that is defined in
16
+ # UserCustomEmailSettings / Reports fields.
17
+ # If false, the email reports will use configuration from the policy setting if present, or else
18
+ # from the built-in system default email report configuration.
15
19
  # @type [Boolean] should_override_default_reports
16
20
  attr_accessor :should_override_default_reports
17
21
 
@@ -15,24 +15,31 @@ module Comet
15
15
  # @type [String] description
16
16
  attr_accessor :description
17
17
 
18
+ # Unix timestamp in seconds
18
19
  # @type [Number] create_time
19
20
  attr_accessor :create_time
20
21
 
22
+ # Unix timestamp in seconds
21
23
  # @type [Number] modify_time
22
24
  attr_accessor :modify_time
23
25
 
26
+ # Custom commands to run before the job
24
27
  # @type [Array<String>] pre_exec
25
28
  attr_accessor :pre_exec
26
29
 
30
+ # Custom commands to run after taking a disk snapshot
27
31
  # @type [Array<String>] thaw_exec
28
32
  attr_accessor :thaw_exec
29
33
 
34
+ # Custom commands to run after the job
30
35
  # @type [Array<String>] post_exec
31
36
  attr_accessor :post_exec
32
37
 
38
+ # One of the DESTINATIONTYPE_ constants
33
39
  # @type [Number] destination_type
34
40
  attr_accessor :destination_type
35
41
 
42
+ # The URL for the target Comet Server Storage Role, including http/https and trailing slash
36
43
  # @type [String] comet_server
37
44
  attr_accessor :comet_server
38
45
 
@@ -63,6 +70,7 @@ module Comet
63
70
  # @type [String] s3custom_region
64
71
  attr_accessor :s3custom_region
65
72
 
73
+ # If true, use legacy v2 signing. If false (default), use modern v4 signing
66
74
  # @type [Boolean] s3uses_v2signing
67
75
  attr_accessor :s3uses_v2signing
68
76
 
@@ -78,21 +86,29 @@ module Comet
78
86
  # @type [String] sftpusername
79
87
  attr_accessor :sftpusername
80
88
 
89
+ # The directory on the SFTP server in which data is stored.
81
90
  # @type [String] sftpremote_path
82
91
  attr_accessor :sftpremote_path
83
92
 
93
+ # One of the DESTINATION_SFTP_AUTHMODE_ constants
84
94
  # @type [Number] sftpauth_mode
85
95
  attr_accessor :sftpauth_mode
86
96
 
97
+ # For use with DESTINATION_SFTP_AUTHMODE_PASSWORD only: the SSH password to connect with
87
98
  # @type [String] sftppassword
88
99
  attr_accessor :sftppassword
89
100
 
101
+ # For use with DESTINATION_SFTP_AUTHMODE_PRIVATEKEY only: the SSH private key to connect with, in
102
+ # OpenSSH format.
90
103
  # @type [String] sftpprivate_key
91
104
  attr_accessor :sftpprivate_key
92
105
 
106
+ # If true, then the SFTPCustomAuth_KnownHostsFile will be used to verify the remote SSH server's
107
+ # host key, using Trust On First Use (TOFU).
93
108
  # @type [Boolean] sftpcustom_auth__use_known_hosts_file
94
109
  attr_accessor :sftpcustom_auth__use_known_hosts_file
95
110
 
111
+ # If SFTPCustomAuth_UseKnownHostFile is true, the path to the SSH known_hosts file.
96
112
  # @type [String] sftpcustom_auth__known_hosts_file
97
113
  attr_accessor :sftpcustom_auth__known_hosts_file
98
114
 
@@ -105,18 +121,23 @@ module Comet
105
121
  # @type [String] ftppassword
106
122
  attr_accessor :ftppassword
107
123
 
124
+ # If true, store data in the default home directory given by the FTP server. If false, store data in
125
+ # the FTPCustomBaseDirectory path.
108
126
  # @type [Boolean] ftpbase_use_home_directory
109
127
  attr_accessor :ftpbase_use_home_directory
110
128
 
129
+ # If FTPBaseUseHomeDirectory is false, this field controls the path where data is stored.
111
130
  # @type [String] ftpcustom_base_directory
112
131
  attr_accessor :ftpcustom_base_directory
113
132
 
133
+ # Control whether this is plaintext FTP or secure FTPS by using one of the FTPS_MODE_ constants.
114
134
  # @type [Number] ftpsmode
115
135
  attr_accessor :ftpsmode
116
136
 
117
137
  # @type [Number] ftpport
118
138
  attr_accessor :ftpport
119
139
 
140
+ # If set to zero, uses a system default value that is not unlimited.
120
141
  # @type [Number] ftpmax_connections
121
142
  attr_accessor :ftpmax_connections
122
143
 
@@ -132,6 +153,7 @@ module Comet
132
153
  # @type [String] azbcontainer
133
154
  attr_accessor :azbcontainer
134
155
 
156
+ # The base URL for the Azure Blob Storage service. Leave blank to use the global default URL.
135
157
  # @type [String] azbrealm
136
158
  attr_accessor :azbrealm
137
159
 
@@ -141,12 +163,17 @@ module Comet
141
163
  # @type [String] localcopy_path
142
164
  attr_accessor :localcopy_path
143
165
 
166
+ # If logging in to a Windows network share (SMB/CIFS) is required, enter the username here.
144
167
  # @type [String] localcopy_win_smbusername
145
168
  attr_accessor :localcopy_win_smbusername
146
169
 
170
+ # If logging in to a Windows network share (SMB/CIFS) is required, enter the password here. The
171
+ # password may be hashed as per the LocalcopyWinSMBPasswordFormat field.
147
172
  # @type [String] localcopy_win_smbpassword
148
173
  attr_accessor :localcopy_win_smbpassword
149
174
 
175
+ # One of the PASSWORD_FORMAT_ constants. It controls the hash format of the LocalcopyWinSMBPassword
176
+ # field.
150
177
  # @type [Number] localcopy_win_smbpassword_format
151
178
  attr_accessor :localcopy_win_smbpassword_format
152
179
 
@@ -159,33 +186,53 @@ module Comet
159
186
  # @type [Comet::StorjDestinationLocation] storj
160
187
  attr_accessor :storj
161
188
 
189
+ # A list of underlying destinations, that will be combined and presented as one.
162
190
  # @type [Array<Comet::DestinationLocation>] span_targets
163
191
  attr_accessor :span_targets
164
192
 
193
+ # If true, this Spanned destination will use a consistent hashing scheme
194
+ # to immediately find specific files on exactly one of the target destinations.
195
+ # In the Static Slots mode, the span targets cannot be moved or merged, and
196
+ # the files must always remain in their original location.
197
+ #
198
+ # If false, the Spanned destination system will search all targets to find
199
+ # the requested file. This is slightly slower, but allows you to freely merge,
200
+ # split, and reorder the underlying destination locations.
201
+ #
202
+ # The default option is false.
165
203
  # @type [Boolean] span_use_static_slots
166
204
  attr_accessor :span_use_static_slots
167
205
 
206
+ # One of the ENCRYPTIONMETHOD_ constants
168
207
  # @type [Number] encryption_key_encryption_method
169
208
  attr_accessor :encryption_key_encryption_method
170
209
 
171
210
  # @type [String] encrypted_encryption_key
172
211
  attr_accessor :encrypted_encryption_key
173
212
 
213
+ # Unix timestamp in seconds. If zero, the Storage Vault has not yet been initialized for the first
214
+ # time.
174
215
  # @type [Number] repo_init_timestamp
175
216
  attr_accessor :repo_init_timestamp
176
217
 
218
+ # Storage Vault quota
177
219
  # @type [Boolean] storage_limit_enabled
178
220
  attr_accessor :storage_limit_enabled
179
221
 
222
+ # Storage Vault quota
180
223
  # @type [Number] storage_limit_bytes
181
224
  attr_accessor :storage_limit_bytes
182
225
 
183
226
  # @type [Comet::DestinationStatistics] statistics
184
227
  attr_accessor :statistics
185
228
 
229
+ # Configure the retention policy for this Storage Vault. The rules will be applied to any snapshot
230
+ # inside this Storage Vault, unless that snapshot belongs to a Protected Item source that has an
231
+ # overriding retention policy.
186
232
  # @type [Comet::RetentionPolicy] default_retention
187
233
  attr_accessor :default_retention
188
234
 
235
+ # The "Prevent users from viewing the actual storage type" option
189
236
  # @type [Boolean] rebrand_storage
190
237
  attr_accessor :rebrand_storage
191
238