Kinetica C# API  Version 7.0.19.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 
139  public struct Options
140  {
141 
144  public const string MAX_CPU_CONCURRENCY = "max_cpu_concurrency";
145 
148  public const string MAX_SCHEDULING_PRIORITY = "max_scheduling_priority";
149 
152  public const string MAX_TIER_PRIORITY = "max_tier_priority";
153 
171  public const string IS_DEFAULT_GROUP = "is_default_group";
172  public const string TRUE = "true";
173  public const string FALSE = "false";
174  } // end struct Options
175 
176 
179  public string name { get; set; }
180 
197  public IDictionary<string, IDictionary<string, string>> tier_attributes { get; set; } = new Dictionary<string, IDictionary<string, string>>();
198 
232  public string ranking { get; set; } = Ranking.EMPTY_STRING;
233 
238  public string adjoining_resource_group { get; set; } = "";
239 
283  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
284 
285 
289 
394  IDictionary<string, IDictionary<string, string>> tier_attributes = null,
395  string ranking = null,
396  string adjoining_resource_group = null,
397  IDictionary<string, string> options = null)
398  {
399  this.name = name ?? "";
400  this.tier_attributes = tier_attributes ?? new Dictionary<string, IDictionary<string, string>>();
401  this.ranking = ranking ?? Ranking.EMPTY_STRING;
402  this.adjoining_resource_group = adjoining_resource_group ?? "";
403  this.options = options ?? new Dictionary<string, string>();
404  } // end constructor
405 
406  } // end class AlterResourceGroupRequest
407 
408 
409 
414  {
415 
418  public string name { get; set; }
419 
421  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
422 
423  } // end class AlterResourceGroupResponse
424 
425 
426 
427 
428 } // end namespace kinetica
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 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.