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 {
16  public class AlterBackupRequest : KineticaData
17  {
21  public struct Action
22  {
24  public const string CHECKSUM = "checksum";
25 
27  public const string DDL_ONLY = "ddl_only";
28 
31  public const string MAX_INCREMENTAL_BACKUPS_TO_KEEP = "max_incremental_backups_to_keep";
32 
35  public const string MERGE = "merge";
36 
38  public const string PURGE = "purge";
39  } // end struct Action
40 
44  public struct Options
45  {
48  public const string COMMENT = "comment";
49 
62  public const string DRY_RUN = "dry_run";
63 
64  public const string FALSE = "false";
65  public const string TRUE = "true";
66  } // end struct Options
67 
69  public string backup_name { get; set; }
70 
101  public string action { get; set; }
102 
104  public string _value { get; set; }
105 
107  public string datasink_name { get; set; }
108 
133  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
134 
137  public AlterBackupRequest() { }
138 
202  string action,
203  string _value,
204  string datasink_name,
205  IDictionary<string, string> options = null)
206  {
207  this.backup_name = backup_name ?? "";
208  this.action = action ?? "";
209  this._value = _value ?? "";
210  this.datasink_name = datasink_name ?? "";
211  this.options = options ?? new Dictionary<string, string>();
212  } // end constructor
213  } // end class AlterBackupRequest
214 
218  public class AlterBackupResponse : KineticaData
219  {
222  public string backup_name { get; set; }
223 
225  public long backup_id { get; set; }
226 
228  public long total_bytes { get; set; }
229 
231  public long total_number_of_records { get; set; }
232 
234  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
235  } // end class AlterBackupResponse
236 } // 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:201
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:137
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