7 using System.Collections.Generic;
16 public class CreateResourceGroupRequest : KineticaData
28 public struct TierAttributes
45 public const string FIRST =
"first";
49 public const string LAST =
"last";
54 public const string BEFORE =
"before";
59 public const string AFTER =
"after";
77 public const string MAX_DATA =
"max_data";
96 public string name {
get;
set; }
111 public IDictionary<string, IDictionary<string, string>>
tier_attributes {
get;
set; } =
new Dictionary<string, IDictionary<string, string>>();
140 public string ranking {
get;
set; }
185 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
287 IDictionary<string, string>
options =
null)
289 this.name =
name ??
"";
300 public class CreateResourceGroupResponse : KineticaData
304 public string name {
get;
set; }
307 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
CreateResourceGroupRequest()
Constructs a CreateResourceGroupRequest object with default parameters.
IDictionary< string, string > info
Additional information.
const string LAST
Make this resource group the new last one in the ordering
const string MAX_DATA
Maximum amount of data, per rank, in bytes, that can be used by all database objects within this grou...
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
Value of name.
IDictionary< string, string > options
Optional parameters.
string name
Name of the group to be created.
const string MAX_TIER_PRIORITY
Maximum priority of a tiered object for this group.
const string MAX_MEMORY
Maximum amount of memory usable at one time, per rank, per GPU, for the VRAM tier; or maximum amount ...
const string MAX_CPU_CONCURRENCY
Maximum number of simultaneous threads that will be used to execute a request, per rank,...
string ranking
Indicates the relative ranking among existing resource groups where this new resource group will be p...
const string BEFORE
Place this resource group before the one specified by adjoining_resource_group in the ordering
string adjoining_resource_group
If ranking is BEFORE or AFTER, this field indicates the resource group before or after which the curr...
const string AFTER
Place this resource group after the one specified by adjoining_resource_group in the ordering
const string FIRST
Make this resource group the new first one in the ordering
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.