Kinetica   C#   API  Version 7.2.3.1
AdminSwitchover.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 
18 {
22  public struct Options
23  {
37  public const string DRY_RUN = "dry_run";
38 
39  public const string TRUE = "true";
40  public const string FALSE = "false";
41  } // end struct Options
42 
53  public IList<string> processes { get; set; } = new List<string>();
54 
63  public IList<string> destinations { get; set; } = new List<string>();
64 
86  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
87 
91 
133  public AdminSwitchoverRequest( IList<string> processes,
134  IList<string> destinations,
135  IDictionary<string, string> options = null)
136  {
137  this.processes = processes ?? new List<string>();
138  this.destinations = destinations ?? new List<string>();
139  this.options = options ?? new Dictionary<string, string>();
140  } // end constructor
141 } // end class AdminSwitchoverRequest
142 
147 {
149  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
150 } // end class AdminSwitchoverResponse
IDictionary< string, string > options
Optional parameters.
AdminSwitchoverRequest(IList< string > processes, IList< string > destinations, IDictionary< string, string > options=null)
Constructs an AdminSwitchoverRequest object with the specified parameters.
IList< string > processes
Indicates the process identifier to switch over to another host.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string DRY_RUN
If set to TRUE, only validation checks will be performed.
A set of string constants for the parameter options.
AdminSwitchoverRequest()
Constructs an AdminSwitchoverRequest object with default parameters.
A set of parameters for Kinetica.adminSwitchover.
IList< string > destinations
Indicates to which host to switch over each corresponding process given in processes.
IDictionary< string, string > info
Additional information.
A set of results returned by Kinetica.adminSwitchover.