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 {
16  public class AlterResourceGroupRequest : KineticaData
17  {
28  public struct TierAttributes
29  {
33  public const string MAX_MEMORY = "max_memory";
34  } // end struct TierAttributes
35 
41  public struct Ranking
42  {
44  public const string EMPTY_STRING = "";
45 
48  public const string FIRST = "first";
49 
52  public const string LAST = "last";
53 
57  public const string BEFORE = "before";
58 
62  public const string AFTER = "after";
63  } // end struct Ranking
64 
68  public struct Options
69  {
74  public const string MAX_CPU_CONCURRENCY = "max_cpu_concurrency";
75 
80  public const string MAX_DATA = "max_data";
81 
86  public const string MAX_SCHEDULING_PRIORITY = "max_scheduling_priority";
87 
92  public const string MAX_TIER_PRIORITY = "max_tier_priority";
93 
107  public const string IS_DEFAULT_GROUP = "is_default_group";
108 
109  public const string TRUE = "true";
110  public const string FALSE = "false";
111 
127  public const string PERSIST = "persist";
128  } // end struct Options
129 
135  public string name { get; set; }
136 
150  public IDictionary<string, IDictionary<string, string>> tier_attributes { get; set; } = new Dictionary<string, IDictionary<string, string>>();
151 
187  public string ranking { get; set; } = Ranking.EMPTY_STRING;
188 
195  public string adjoining_resource_group { get; set; } = "";
196 
272  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
273 
277 
420  IDictionary<string, IDictionary<string, string>> tier_attributes = null,
421  string ranking = null,
422  string adjoining_resource_group = null,
423  IDictionary<string, string> options = null)
424  {
425  this.name = name ?? "";
426  this.tier_attributes = tier_attributes ?? new Dictionary<string, IDictionary<string, string>>();
427  this.ranking = ranking ?? Ranking.EMPTY_STRING;
429  this.options = options ?? new Dictionary<string, string>();
430  } // end constructor
431  } // end class AlterResourceGroupRequest
432 
436  public class AlterResourceGroupResponse : KineticaData
437  {
440  public string name { get; set; }
441 
443  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
444  } // end class AlterResourceGroupResponse
445 } // end namespace kinetica
const string BEFORE
Place this resource group before the one specified by adjoining_resource_group in the ordering
const string EMPTY_STRING
Don't change the ranking
string adjoining_resource_group
If ranking is BEFORE or AFTER, this field indicates the resource group before or after which the curr...
AlterResourceGroupRequest()
Constructs an AlterResourceGroupRequest object with default parameters.
string name
Name of the group to be altered.
IDictionary< string, string > options
Optional parameters.
IDictionary< string, IDictionary< string, string > > tier_attributes
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.
A set of string constants for the parameter ranking.
const string MAX_DATA
Maximum amount of data, per rank, in bytes, that can be used by all database objects within this grou...
const string MAX_TIER_PRIORITY
Maximum priority of a tiered object for this group.
const string FIRST
Make this resource group the new first one in the ordering
const string IS_DEFAULT_GROUP
If TRUE, this request applies to the global default resource group.
const string PERSIST
If TRUE and a system-level change was requested, the system configuration will be written to disk upo...
const string MAX_CPU_CONCURRENCY
Maximum number of simultaneous threads that will be used to execute a request, per rank,...
const string LAST
Make this resource group the new last one in the ordering
string ranking
If the resource group ranking is to be updated, this indicates the relative ranking among existing re...
const string AFTER
Place this resource group after the one specified by adjoining_resource_group in the ordering
IDictionary< string, string > info
Additional information.
const string MAX_MEMORY
Maximum amount of memory usable at one time, per rank, per GPU, for the VRAM tier; or maximum amount ...
const string MAX_SCHEDULING_PRIORITY
Maximum priority of a scheduled task for this group.