7 using System.Collections.Generic;
16 public class AlterBackupRequest : KineticaData
24 public const string CHECKSUM =
"checksum";
27 public const string DDL_ONLY =
"ddl_only";
35 public const string MERGE =
"merge";
38 public const string PURGE =
"purge";
48 public const string COMMENT =
"comment";
62 public const string DRY_RUN =
"dry_run";
64 public const string FALSE =
"false";
65 public const string TRUE =
"true";
101 public string action {
get;
set; }
104 public string _value {
get;
set; }
133 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
205 IDictionary<string, string>
options =
null)
208 this.action =
action ??
"";
209 this._value =
_value ??
"";
218 public class AlterBackupResponse : KineticaData
234 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