Kinetica   C#   API  Version 7.2.3.0
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 namespace kinetica
10 {
17  {
27  public struct TierAttributes
28  {
31  public const string MAX_MEMORY = "max_memory";
32  } // end struct TierAttributes
33 
42  public struct Ranking
43  {
44  public const string FIRST = "first";
45  public const string LAST = "last";
46  public const string BEFORE = "before";
47  public const string AFTER = "after";
48  } // end struct Ranking
49 
53  public struct Options
54  {
59  public const string MAX_CPU_CONCURRENCY = "max_cpu_concurrency";
60 
65  public const string MAX_DATA = "max_data";
66 
71  public const string MAX_SCHEDULING_PRIORITY = "max_scheduling_priority";
72 
77  public const string MAX_TIER_PRIORITY = "max_tier_priority";
78  } // end struct Options
79 
84  public string name { get; set; }
85 
97  public IDictionary<string, IDictionary<string, string>> tier_attributes { get; set; } = new Dictionary<string, IDictionary<string, string>>();
98 
116  public string ranking { get; set; }
117 
124  public string adjoining_resource_group { get; set; } = "";
125 
160  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
161 
165 
249  IDictionary<string, IDictionary<string, string>> tier_attributes,
250  string ranking,
251  string adjoining_resource_group = null,
252  IDictionary<string, string> options = null)
253  {
254  this.name = name ?? "";
255  this.tier_attributes = tier_attributes ?? new Dictionary<string, IDictionary<string, string>>();
256  this.ranking = ranking ?? "";
258  this.options = options ?? new Dictionary<string, string>();
259  } // end constructor
260  } // end class CreateResourceGroupRequest
261 
266  {
269  public string name { get; set; }
270 
272  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
273  } // end class CreateResourceGroupResponse
274 } // 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 ranking is BEFORE or AFTER, this field indicates the resource group before or after which the curr...
IDictionary< string, string > info
Additional information.
A set of string constants for the parameter options.
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
A set of string constants for the parameter ranking.
A set of results returned by Kinetica.createResourceGroup.
const string MAX_TIER_PRIORITY
Maximum priority of a tiered object for this group.
A set of parameters for Kinetica.createResourceGroup.
A set of string constants for the parameter tier_attributes.