Kinetica   C#   API  Version 7.2.3.0
kinetica.CreateResourceGroupRequest Class Reference

A set of parameters for Kinetica.createResourceGroup. More...

+ Inheritance diagram for kinetica.CreateResourceGroupRequest:
+ Collaboration diagram for kinetica.CreateResourceGroupRequest:

Classes

struct  Options
 A set of string constants for the parameter options. More...
 
struct  Ranking
 A set of string constants for the parameter ranking. More...
 
struct  TierAttributes
 A set of string constants for the parameter tier_attributes. More...
 

Public Member Functions

 CreateResourceGroupRequest ()
 Constructs a CreateResourceGroupRequest object with default parameters. More...
 
 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. More...
 
- Public Member Functions inherited from kinetica.KineticaData
 KineticaData (KineticaType type)
 Constructor from Kinetica Type More...
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type More...
 
object Get (int fieldPos)
 Retrieve a specific property from this object More...
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object More...
 

Properties

string name [get, set]
 Name of the group to be created. More...
 
IDictionary< string, IDictionary< string, string > > tier_attributes = new Dictionary<string, IDictionary<string, string>>() [get, set]
 Optional map containing tier names and their respective attribute group limits. More...
 
string ranking [get, set]
 Indicates the relative ranking among existing resource groups where this new resource group will be placed. More...
 
string adjoining_resource_group = "" [get, set]
 If ranking is BEFORE or AFTER, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank. More...
 
IDictionary< string, string > options = new Dictionary<string, string>() [get, set]
 Optional parameters. More...
 
- Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 

Additional Inherited Members

- Static Public Member Functions inherited from kinetica.KineticaData
static ? RecordSchema SchemaFromType (System.Type t, KineticaType? ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 

Detailed Description

A set of parameters for Kinetica.createResourceGroup.

Creates a new resource group to facilitate resource management.

Definition at line 16 of file CreateResourceGroup.cs.

Constructor & Destructor Documentation

◆ CreateResourceGroupRequest() [1/2]

kinetica.CreateResourceGroupRequest.CreateResourceGroupRequest ( )
inline

Constructs a CreateResourceGroupRequest object with default parameters.

Definition at line 164 of file CreateResourceGroup.cs.

◆ CreateResourceGroupRequest() [2/2]

kinetica.CreateResourceGroupRequest.CreateResourceGroupRequest ( string  name,
IDictionary< string, IDictionary< string, string >>  tier_attributes,
string  ranking,
string  adjoining_resource_group = null,
IDictionary< string, string >  options = null 
)
inline

Constructs a CreateResourceGroupRequest object with the specified parameters.

Parameters
nameName of the group to be created. Must contain only letters, digits, and underscores, and cannot begin with a digit. Must not match existing resource group name.
tier_attributesOptional map containing tier names and their respective attribute group limits. The only valid attribute limit that can be set is max_memory (in bytes) for the VRAM & RAM tiers. For instance, to set max VRAM capacity to 1GB and max RAM capacity to 10GB, use: {'VRAM':{'max_memory':'1000000000'}, 'RAM':{'max_memory':'10000000000'}}.
  • MAX_MEMORY: Maximum amount of memory usable in the given tier at one time for this group.
The default value is an empty Dictionary.
rankingIndicates the relative ranking among existing resource groups where this new resource group will be placed. When using BEFORE or AFTER, specify which resource group this one will be inserted before or after in adjoining_resource_group . Supported values:
adjoining_resource_groupIf ranking is BEFORE or AFTER, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank. The default value is ''.
optionsOptional parameters.
  • MAX_CPU_CONCURRENCY: Maximum number of simultaneous threads that will be used to execute a request for this group. The minimum allowed value is '4'.
  • MAX_DATA: Maximum amount of cumulative ram usage regardless of tier status for this group. The minimum allowed value is '-1'.
  • MAX_SCHEDULING_PRIORITY: Maximum priority of a scheduled task for this group. The minimum allowed value is '1'. The maximum allowed value is '100'.
  • MAX_TIER_PRIORITY: Maximum priority of a tiered object for this group. The minimum allowed value is '1'. The maximum allowed value is '10'.
The default value is an empty Dictionary.

Definition at line 248 of file CreateResourceGroup.cs.

Property Documentation

◆ adjoining_resource_group

string kinetica.CreateResourceGroupRequest.adjoining_resource_group = ""
getset

If ranking is BEFORE or AFTER, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank.

The default value is ''.

Definition at line 124 of file CreateResourceGroup.cs.

◆ name

string kinetica.CreateResourceGroupRequest.name
getset

Name of the group to be created.

Must contain only letters, digits, and underscores, and cannot begin with a digit. Must not match existing resource group name.

Definition at line 84 of file CreateResourceGroup.cs.

◆ options

IDictionary<string, string> kinetica.CreateResourceGroupRequest.options = new Dictionary<string, string>()
getset

Optional parameters.

  • MAX_CPU_CONCURRENCY: Maximum number of simultaneous threads that will be used to execute a request for this group. The minimum allowed value is '4'.
  • MAX_DATA: Maximum amount of cumulative ram usage regardless of tier status for this group. The minimum allowed value is '-1'.
  • MAX_SCHEDULING_PRIORITY: Maximum priority of a scheduled task for this group. The minimum allowed value is '1'. The maximum allowed value is '100'.
  • MAX_TIER_PRIORITY: Maximum priority of a tiered object for this group. The minimum allowed value is '1'. The maximum allowed value is '10'.

The default value is an empty Dictionary.

Definition at line 160 of file CreateResourceGroup.cs.

◆ ranking

string kinetica.CreateResourceGroupRequest.ranking
getset

Indicates the relative ranking among existing resource groups where this new resource group will be placed.

Supported values:

Definition at line 116 of file CreateResourceGroup.cs.

◆ tier_attributes

IDictionary<string, IDictionary<string, string> > kinetica.CreateResourceGroupRequest.tier_attributes = new Dictionary<string, IDictionary<string, string>>()
getset

Optional map containing tier names and their respective attribute group limits.

  • MAX_MEMORY: Maximum amount of memory usable in the given tier at one time for this group.

The default value is an empty Dictionary.

Definition at line 97 of file CreateResourceGroup.cs.


The documentation for this class was generated from the following file: