Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
CreateResourceGroup.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 
76  public struct Ranking
77  {
78  public const string FIRST = "first";
79  public const string LAST = "last";
80  public const string BEFORE = "before";
81  public const string AFTER = "after";
82  } // end struct Ranking
83 
84 
115  public struct Options
116  {
117 
120  public const string MAX_CPU_CONCURRENCY = "max_cpu_concurrency";
121 
124  public const string MAX_DATA = "max_data";
125 
128  public const string MAX_SCHEDULING_PRIORITY = "max_scheduling_priority";
129 
132  public const string MAX_TIER_PRIORITY = "max_tier_priority";
133  } // end struct Options
134 
135 
139  public string name { get; set; }
140 
157  public IDictionary<string, IDictionary<string, string>> tier_attributes { get; set; } = new Dictionary<string, IDictionary<string, string>>();
158 
183  public string ranking { get; set; }
184 
189  public string adjoining_resource_group { get; set; } = "";
190 
219  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
220 
221 
225 
307  IDictionary<string, IDictionary<string, string>> tier_attributes,
308  string ranking,
309  string adjoining_resource_group = null,
310  IDictionary<string, string> options = null)
311  {
312  this.name = name ?? "";
313  this.tier_attributes = tier_attributes ?? new Dictionary<string, IDictionary<string, string>>();
314  this.ranking = ranking ?? "";
315  this.adjoining_resource_group = adjoining_resource_group ?? "";
316  this.options = options ?? new Dictionary<string, string>();
317  } // end constructor
318 
319  } // end class CreateResourceGroupRequest
320 
321 
322 
327  {
328 
331  public string name { get; set; }
332 
334  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
335 
336  } // end class CreateResourceGroupResponse
337 
338 
339 
340 
341 } // end namespace kinetica
CreateResourceGroupRequest()
Constructs a CreateResourceGroupRequest object with default parameters.
IDictionary< string, IDictionary< string, string > > tier_attributes
Optional map containing tier names and their respective attribute group limits.
const string MAX_SCHEDULING_PRIORITY
Maximum priority of a scheduled task for this group.
CreateResourceGroupRequest(string name, IDictionary< string, IDictionary< string, string >> tier_attributes, string ranking, string adjoining_resource_group=null, IDictionary< string, string > options=null)
Constructs a CreateResourceGroupRequest object with the specified parameters.
string name
Name of the group to be created.
string ranking
Indicates the relative ranking among existing resource groups where this new resource group will be p...
string adjoining_resource_group
If is before or after, this field indicates the resource group before or after which the current gro...
IDictionary< string, string > info
Additional information.
const string MAX_MEMORY
Maximum amount of memory usable in the given tier at one time for this group.
const string MAX_DATA
Maximum amount of cumulative ram usage regardless of tier status for this group.
IDictionary< string, string > options
Optional parameters.
const string MAX_CPU_CONCURRENCY
Maximum number of simultaneous threads that will be used to execute a request for this group...
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
Indicates the relative ranking among existing resource groups where this new resource group will be p...
A set of results returned by Kinetica.createResourceGroup(string,IDictionary{string, IDictionary{string, string}},string,string,IDictionary{string, string}).
const string MAX_TIER_PRIORITY
Maximum priority of a tiered object for this group.
A set of parameters for Kinetica.createResourceGroup(string,IDictionary{string, IDictionary{string, string}},string,string,IDictionary{string, string}).
Optional map containing tier names and their respective attribute group limits.