Kinetica   C#   API  Version 7.2.3.0
AlterResourceGroup.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 {
17  {
27  public struct TierAttributes
28  {
31  public const string MAX_MEMORY = "max_memory";
32  } // end struct TierAttributes
33 
43  public struct Ranking
44  {
45  public const string EMPTY_STRING = "";
46  public const string FIRST = "first";
47  public const string LAST = "last";
48  public const string BEFORE = "before";
49  public const string AFTER = "after";
50  } // end struct Ranking
51 
55  public struct Options
56  {
61  public const string MAX_CPU_CONCURRENCY = "max_cpu_concurrency";
62 
67  public const string MAX_DATA = "max_data";
68 
73  public const string MAX_SCHEDULING_PRIORITY = "max_scheduling_priority";
74 
79  public const string MAX_TIER_PRIORITY = "max_tier_priority";
80 
94  public const string IS_DEFAULT_GROUP = "is_default_group";
95 
96  public const string TRUE = "true";
97  public const string FALSE = "false";
98 
114  public const string PERSIST = "persist";
115  } // end struct Options
116 
121  public string name { get; set; }
122 
134  public IDictionary<string, IDictionary<string, string>> tier_attributes { get; set; } = new Dictionary<string, IDictionary<string, string>>();
135 
161  public string ranking { get; set; } = Ranking.EMPTY_STRING;
162 
169  public string adjoining_resource_group { get; set; } = "";
170 
245  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
246 
250 
382  IDictionary<string, IDictionary<string, string>> tier_attributes = null,
383  string ranking = null,
384  string adjoining_resource_group = null,
385  IDictionary<string, string> options = null)
386  {
387  this.name = name ?? "";
388  this.tier_attributes = tier_attributes ?? new Dictionary<string, IDictionary<string, string>>();
389  this.ranking = ranking ?? Ranking.EMPTY_STRING;
391  this.options = options ?? new Dictionary<string, string>();
392  } // end constructor
393  } // end class AlterResourceGroupRequest
394 
399  {
402  public string name { get; set; }
403 
405  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
406  } // end class AlterResourceGroupResponse
407 } // end namespace kinetica
const string MAX_DATA
Maximum amount of cumulative ram usage regardless of tier status for this group.
A set of parameters for Kinetica.alterResourceGroup.
const string MAX_MEMORY
Maximum amount of memory usable in the given tier at one time for this group.
AlterResourceGroupRequest()
Constructs an AlterResourceGroupRequest object with default parameters.
A set of results returned by Kinetica.alterResourceGroup.
string adjoining_resource_group
If ranking is BEFORE or AFTER, this field indicates the resource group before or after which the curr...
A set of string constants for the parameter tier_attributes.
A set of string constants for the parameter options.
AlterResourceGroupRequest(string name, IDictionary< string, IDictionary< string, string >> tier_attributes=null, string ranking=null, string adjoining_resource_group=null, IDictionary< string, string > options=null)
Constructs an AlterResourceGroupRequest object with the specified parameters.
A set of string constants for the parameter ranking.
const string PERSIST
If TRUE and a system-level change was requested, the system configuration will be written to disk upo...
const string MAX_TIER_PRIORITY
Maximum priority of a tiered object for this group.
string ranking
If the resource group ranking is to be updated, this indicates the relative ranking among existing re...
const string MAX_CPU_CONCURRENCY
Maximum number of simultaneous threads that will be used to execute a request for this group.
IDictionary< string, string > info
Additional information.
IDictionary< string, IDictionary< string, string > > tier_attributes
Optional map containing tier names and their respective attribute group limits.
const string IS_DEFAULT_GROUP
If TRUE, this request applies to the global default resource group.
IDictionary< string, string > options
Optional parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string name
Name of the group to be altered.
const string MAX_SCHEDULING_PRIORITY
Maximum priority of a scheduled task for this group.