Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
ShowResourceGroups.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 
22  {
23 
88  public struct Options
89  {
90 
106  public const string SHOW_DEFAULT_VALUES = "show_default_values";
107  public const string TRUE = "true";
108  public const string FALSE = "false";
109 
126  public const string SHOW_DEFAULT_GROUP = "show_default_group";
127 
143  public const string SHOW_TIER_USAGE = "show_tier_usage";
144  } // end struct Options
145 
146 
149  public IList<string> names { get; set; } = new List<string>();
150 
213  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
214 
215 
219 
288  public ShowResourceGroupsRequest( IList<string> names,
289  IDictionary<string, string> options = null)
290  {
291  this.names = names ?? new List<string>();
292  this.options = options ?? new Dictionary<string, string>();
293  } // end constructor
294 
295  } // end class ShowResourceGroupsRequest
296 
297 
298 
303  {
304 
306  public IList<IDictionary<string, string>> groups { get; set; } = new List<IDictionary<string, string>>();
307 
311  public IDictionary<string, string> rank_usage { get; set; } = new Dictionary<string, string>();
312 
314  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
315 
316  } // end class ShowResourceGroupsResponse
317 
318 
319 
320 
321 } // end namespace kinetica
ShowResourceGroupsRequest(IList< string > names, IDictionary< string, string > options=null)
Constructs a ShowResourceGroupsRequest object with the specified parameters.
IList< string > names
List of names of groups to be shown.
IDictionary< string, string > info
Additional information.
IList< IDictionary< string, string > > groups
Map of resource group information.
A set of results returned by Kinetica.showResourceGroups(IList{string},IDictionary{string, string}).
const string SHOW_TIER_USAGE
If true include the resource group usage on the worker ranks in the response.
IDictionary< string, string > rank_usage
Tier usage across ranks.
IDictionary< string, string > options
Optional parameters.
const string SHOW_DEFAULT_GROUP
If true include the default and system resource groups in the response.
const string SHOW_DEFAULT_VALUES
If true include values of fields that are based on the default resource group.
ShowResourceGroupsRequest()
Constructs a ShowResourceGroupsRequest object with default parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of parameters for Kinetica.showResourceGroups(IList{string},IDictionary{string, string}).