Kinetica   C#   API  Version 7.2.3.0
AlterBackup.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica
10 {
19  public class AlterBackupRequest : KineticaData
20  {
24  public struct Action
25  {
27  public const string CHECKSUM = "checksum";
28 
33  public const string DDL_ONLY = "ddl_only";
34 
38  public const string MAX_INCREMENTAL_BACKUPS_TO_KEEP = "max_incremental_backups_to_keep";
39 
42  public const string MERGE = "merge";
43 
46  public const string PURGE = "purge";
47  } // end struct Action
48 
52  public struct Options
53  {
55  public const string COMMENT = "comment";
56 
70  public const string DRY_RUN = "dry_run";
71 
72  public const string TRUE = "true";
73  public const string FALSE = "false";
74  } // end struct Options
75 
77  public string backup_name { get; set; }
78 
113  public string action { get; set; }
114 
117  public string _value { get; set; }
118 
121  public string datasink_name { get; set; }
122 
148  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
149 
152  public AlterBackupRequest() { }
153 
224  string action,
225  string _value,
226  string datasink_name,
227  IDictionary<string, string> options = null)
228  {
229  this.backup_name = backup_name ?? "";
230  this.action = action ?? "";
231  this._value = _value ?? "";
232  this.datasink_name = datasink_name ?? "";
233  this.options = options ?? new Dictionary<string, string>();
234  } // end constructor
235  } // end class AlterBackupRequest
236 
240  public class AlterBackupResponse : KineticaData
241  {
244  public string backup_name { get; set; }
245 
248  public long backup_id { get; set; }
249 
252  public long total_bytes { get; set; }
253 
256  public long total_number_of_records { get; set; }
257 
259  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
260  } // end class AlterBackupResponse
261 } // end namespace kinetica
AlterBackupRequest(string backup_name, string action, string _value, string datasink_name, IDictionary< string, string > options=null)
Constructs an AlterBackupRequest object with the specified parameters.
Definition: AlterBackup.cs:223
string _value
Action specific argument.
Definition: AlterBackup.cs:104
const string PURGE
Purges backup instances
Definition: AlterBackup.cs:38
IDictionary< string, string > options
Optional parameters.
Definition: AlterBackup.cs:133
const string CHECKSUM
Calculate checksum for backup files
Definition: AlterBackup.cs:24
const string MERGE
Merges all backup instances and creates a single full backup
Definition: AlterBackup.cs:35
long total_number_of_records
Total number of records affected alter operation
Definition: AlterBackup.cs:231
const string DRY_RUN
Dry run of backup changes.
Definition: AlterBackup.cs:62
const string MAX_INCREMENTAL_BACKUPS_TO_KEEP
Maximum number of incremental backups to keep
Definition: AlterBackup.cs:31
AlterBackupRequest()
Constructs an AlterBackupRequest object with default parameters.
Definition: AlterBackup.cs:152
string backup_name
Value of backup_name.
Definition: AlterBackup.cs:222
string backup_name
Name of the backup object to be altered
Definition: AlterBackup.cs:69
string action
Operation to be applied.
Definition: AlterBackup.cs:101
string datasink_name
Datasink where backup will be stored.
Definition: AlterBackup.cs:107
long total_bytes
Total size of files affected by alter operation
Definition: AlterBackup.cs:228
IDictionary< string, string > info
Additional information.
Definition: AlterBackup.cs:234
const string DDL_ONLY
Only save the DDL, do not backup table data
Definition: AlterBackup.cs:27
const string COMMENT
Comments to store with the new backup instance
Definition: AlterBackup.cs:48