Kinetica C# API  Version 7.0.19.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 
109  public struct Options
110  {
111 
114  public const string MAX_CPU_CONCURRENCY = "max_cpu_concurrency";
115 
118  public const string MAX_SCHEDULING_PRIORITY = "max_scheduling_priority";
119 
122  public const string MAX_TIER_PRIORITY = "max_tier_priority";
123  } // end struct Options
124 
125 
129  public string name { get; set; }
130 
147  public IDictionary<string, IDictionary<string, string>> tier_attributes { get; set; } = new Dictionary<string, IDictionary<string, string>>();
148 
173  public string ranking { get; set; }
174 
179  public string adjoining_resource_group { get; set; } = "";
180 
203  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
204 
205 
209 
285  IDictionary<string, IDictionary<string, string>> tier_attributes,
286  string ranking,
287  string adjoining_resource_group = null,
288  IDictionary<string, string> options = null)
289  {
290  this.name = name ?? "";
291  this.tier_attributes = tier_attributes ?? new Dictionary<string, IDictionary<string, string>>();
292  this.ranking = ranking ?? "";
293  this.adjoining_resource_group = adjoining_resource_group ?? "";
294  this.options = options ?? new Dictionary<string, string>();
295  } // end constructor
296 
297  } // end class CreateResourceGroupRequest
298 
299 
300 
305  {
306 
309  public string name { get; set; }
310 
312  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
313 
314  } // end class CreateResourceGroupResponse
315 
316 
317 
318 
319 } // 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.
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.