Kinetica   C#   API  Version 7.2.3.1
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  {
32  public const string MAX_MEMORY = "max_memory";
33  } // end struct TierAttributes
34 
39  public struct Ranking
40  {
43  public const string FIRST = "first";
44 
47  public const string LAST = "last";
48 
51  public const string BEFORE = "before";
52 
55  public const string AFTER = "after";
56  } // end struct Ranking
57 
61  public struct Options
62  {
66  public const string MAX_CPU_CONCURRENCY = "max_cpu_concurrency";
67 
72  public const string MAX_DATA = "max_data";
73 
78  public const string MAX_SCHEDULING_PRIORITY = "max_scheduling_priority";
79 
84  public const string MAX_TIER_PRIORITY = "max_tier_priority";
85  } // end struct Options
86 
91  public string name { get; set; }
92 
105  public IDictionary<string, IDictionary<string, string>> tier_attributes { get; set; } = new Dictionary<string, IDictionary<string, string>>();
106 
134  public string ranking { get; set; }
135 
142  public string adjoining_resource_group { get; set; } = "";
143 
179  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
180 
184 
277  IDictionary<string, IDictionary<string, string>> tier_attributes,
278  string ranking,
279  string adjoining_resource_group = null,
280  IDictionary<string, string> options = null)
281  {
282  this.name = name ?? "";
283  this.tier_attributes = tier_attributes ?? new Dictionary<string, IDictionary<string, string>>();
284  this.ranking = ranking ?? "";
286  this.options = options ?? new Dictionary<string, string>();
287  } // end constructor
288 } // end class CreateResourceGroupRequest
289 
294 {
297  public string name { get; set; }
298 
300  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
301 } // end class CreateResourceGroupResponse
string ranking
Indicates the relative ranking among existing resource groups where this new resource group will be p...
const string MAX_CPU_CONCURRENCY
Maximum number of simultaneous threads that will be used to execute a request, per rank,...
A set of string constants for the parameter ranking.
IDictionary< string, string > options
Optional parameters.
A set of results returned by Kinetica.createResourceGroup.
IDictionary< string, string > info
Additional information.
A set of string constants for the parameter tier_attributes.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, IDictionary< string, string > > tier_attributes
Optional map containing tier names and their respective attribute group limits.
const string MAX_MEMORY
Maximum amount of memory usable at one time, per rank, per GPU, for the VRAM tier; or maximum amount ...
string adjoining_resource_group
If ranking is BEFORE or AFTER, this field indicates the resource group before or after which the curr...
const string MAX_DATA
Maximum amount of data, per rank, in bytes, that can be used by all database objects within this grou...
A set of parameters for Kinetica.createResourceGroup.
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.
const string AFTER
Place this resource group after the one specified by adjoining_resource_group in the ordering.
const string LAST
Make this resource group the new last one in the ordering.
const string FIRST
Make this resource group the new first one in the ordering.
A set of string constants for the parameter options.
const string MAX_TIER_PRIORITY
Maximum priority of a tiered object for this group.
string name
Name of the group to be created.
CreateResourceGroupRequest()
Constructs a CreateResourceGroupRequest object with default parameters.
const string BEFORE
Place this resource group before the one specified by adjoining_resource_group in the ordering.