7 using System.Collections.Generic;
19 public class AlterBackupRequest : KineticaData
27 public const string CHECKSUM =
"checksum";
33 public const string DDL_ONLY =
"ddl_only";
42 public const string MERGE =
"merge";
46 public const string PURGE =
"purge";
55 public const string COMMENT =
"comment";
70 public const string DRY_RUN =
"dry_run";
72 public const string TRUE =
"true";
73 public const string FALSE =
"false";
113 public string action {
get;
set; }
117 public string _value {
get;
set; }
148 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
227 IDictionary<string, string>
options =
null)
230 this.action =
action ??
"";
231 this._value =
_value ??
"";
240 public class AlterBackupResponse : KineticaData
259 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
AlterBackupRequest(string backup_name, string action, string _value, string datasink_name, IDictionary< string, string > options=null)
Constructs an AlterBackupRequest object with the specified parameters.
string _value
Action specific argument.
const string PURGE
Purges backup instances
IDictionary< string, string > options
Optional parameters.
const string CHECKSUM
Calculate checksum for backup files
const string MERGE
Merges all backup instances and creates a single full backup
long total_number_of_records
Total number of records affected alter operation
const string DRY_RUN
Dry run of backup changes.
const string MAX_INCREMENTAL_BACKUPS_TO_KEEP
Maximum number of incremental backups to keep
AlterBackupRequest()
Constructs an AlterBackupRequest object with default parameters.
string backup_name
Value of backup_name.
string backup_name
Name of the backup object to be altered
string action
Operation to be applied.
string datasink_name
Datasink where backup will be stored.
long total_bytes
Total size of files affected by alter operation
IDictionary< string, string > info
Additional information.
const string DDL_ONLY
Only save the DDL, do not backup table data
const string COMMENT
Comments to store with the new backup instance