Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
10 
11 namespace kinetica
12 {
13 
21  {
22 
41  public struct TierAttributes
42  {
43 
46  public const string MAX_MEMORY = "max_memory";
47  } // end struct TierAttributes
48 
49 
84  public struct Ranking
85  {
86  public const string EMPTY_STRING = "";
87  public const string FIRST = "first";
88  public const string LAST = "last";
89  public const string BEFORE = "before";
90  public const string AFTER = "after";
91  } // end struct Ranking
92 
93 
167  public struct Options
168  {
169 
172  public const string MAX_CPU_CONCURRENCY = "max_cpu_concurrency";
173 
176  public const string MAX_DATA = "max_data";
177 
180  public const string MAX_SCHEDULING_PRIORITY = "max_scheduling_priority";
181 
184  public const string MAX_TIER_PRIORITY = "max_tier_priority";
185 
203  public const string IS_DEFAULT_GROUP = "is_default_group";
204  public const string TRUE = "true";
205  public const string FALSE = "false";
206 
225  public const string PERSIST = "persist";
226  } // end struct Options
227 
228 
232  public string name { get; set; }
233 
250  public IDictionary<string, IDictionary<string, string>> tier_attributes { get; set; } = new Dictionary<string, IDictionary<string, string>>();
251 
285  public string ranking { get; set; } = Ranking.EMPTY_STRING;
286 
291  public string adjoining_resource_group { get; set; } = "";
292 
364  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
365 
366 
370 
504  IDictionary<string, IDictionary<string, string>> tier_attributes = null,
505  string ranking = null,
506  string adjoining_resource_group = null,
507  IDictionary<string, string> options = null)
508  {
509  this.name = name ?? "";
510  this.tier_attributes = tier_attributes ?? new Dictionary<string, IDictionary<string, string>>();
511  this.ranking = ranking ?? Ranking.EMPTY_STRING;
512  this.adjoining_resource_group = adjoining_resource_group ?? "";
513  this.options = options ?? new Dictionary<string, string>();
514  } // end constructor
515 
516  } // end class AlterResourceGroupRequest
517 
518 
519 
524  {
525 
528  public string name { get; set; }
529 
531  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
532 
533  } // end class AlterResourceGroupResponse
534 
535 
536 
537 
538 } // 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(string,IDictionary{string, IDictionary{string, string}},string,string,IDictionary{string, string}).
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,IDictionary{string, IDictionary{string, string}},string,string,IDictionary{string, string}).
string adjoining_resource_group
If is before or after, this field indicates the resource group before or after which the current gro...
Optional map containing tier names and their respective attribute group limits.
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.
If the resource group ranking is to be updated, this indicates the relative ranking among existing re...
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.