Kinetica   C#   API  Version 7.2.3.1
AlterTier.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 
23 {
27  public struct Options
28  {
31  public const string CAPACITY = "capacity";
32 
38  public const string HIGH_WATERMARK = "high_watermark";
39 
46  public const string LOW_WATERMARK = "low_watermark";
47 
51  public const string WAIT_TIMEOUT = "wait_timeout";
52 
67  public const string PERSIST = "persist";
68 
69  public const string TRUE = "true";
70  public const string FALSE = "false";
71 
76  public const string RANK = "rank";
77  } // end struct Options
78 
82  public string name { get; set; }
83 
141  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
142 
145  public AlterTierRequest() { }
146 
209  public AlterTierRequest( string name,
210  IDictionary<string, string> options = null)
211  {
212  this.name = name ?? "";
213  this.options = options ?? new Dictionary<string, string>();
214  } // end constructor
215 } // end class AlterTierRequest
216 
221 {
224  public string name { get; set; }
225 
227  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
228 } // end class AlterTierResponse
A set of parameters for Kinetica.alterTier.
Definition: AlterTier.cs:22
const string FALSE
Definition: AlterTier.cs:70
const string PERSIST
If TRUE the system configuration will be written to disk upon successful application of this request.
Definition: AlterTier.cs:67
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string name
Name of the tier to be altered.
Definition: AlterTier.cs:82
AlterTierRequest()
Constructs an AlterTierRequest object with default parameters.
Definition: AlterTier.cs:145
A set of string constants for the parameter options.
Definition: AlterTier.cs:27
const string RANK
Apply the requested change only to a specific rank.
Definition: AlterTier.cs:76
const string WAIT_TIMEOUT
Timeout in seconds for reading from or writing to this resource.
Definition: AlterTier.cs:51
AlterTierRequest(string name, IDictionary< string, string > options=null)
Constructs an AlterTierRequest object with the specified parameters.
Definition: AlterTier.cs:209
IDictionary< string, string > options
Optional parameters.
Definition: AlterTier.cs:141
const string CAPACITY
Maximum size in bytes this tier may hold at once, per rank.
Definition: AlterTier.cs:31
IDictionary< string, string > info
Additional information.
Definition: AlterTier.cs:227
A set of results returned by Kinetica.alterTier.
Definition: AlterTier.cs:220
string name
Value of name.
Definition: AlterTier.cs:224
const string LOW_WATERMARK
Threshold of resource usage that once fallen below after crossing the HIGH_WATERMARK,...
Definition: AlterTier.cs:46
const string HIGH_WATERMARK
Threshold of usage of this tier's resource that once exceeded, will trigger watermark-based eviction ...
Definition: AlterTier.cs:38