7 using System.Collections.Generic;
20 public class AdminShowClusterOperationsRequest : KineticaData
30 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
45 IDictionary<string, string>
options =
null)
55 public class AdminShowClusterOperationsResponse : KineticaData
61 public struct InProgress
63 public const string TRUE =
"true";
64 public const string FALSE =
"false";
71 public struct OverallStatus
75 public const string OK =
"OK";
78 public const string ERROR =
"ERROR";
85 public struct UserStopped
87 public const string TRUE =
"true";
88 public const string FALSE =
"false";
97 public const string TRUE =
"true";
98 public const string FALSE =
"false";
105 public struct AddRanks
107 public const string TRUE =
"true";
108 public const string FALSE =
"false";
115 public struct AddRanksStatus
121 public const string ERROR =
"ERROR";
128 public struct RemoveRanks
130 public const string TRUE =
"true";
131 public const string FALSE =
"false";
138 public struct RemoveRanksStatus
144 public const string ERROR =
"ERROR";
151 public struct Rebalance
153 public const string TRUE =
"true";
154 public const string FALSE =
"false";
161 public struct RebalanceUnshardedData
163 public const string TRUE =
"true";
164 public const string FALSE =
"false";
172 public struct RebalanceUnshardedDataStatus
178 public const string ERROR =
"ERROR";
185 public struct RebalanceShardedData
187 public const string TRUE =
"true";
188 public const string FALSE =
"false";
196 public struct RebalanceShardedDataStatus
202 public const string ERROR =
"ERROR";
231 public string end_time {
get;
set; }
235 public string endpoint {
get;
set; }
282 public bool dry_run {
get;
set; }
285 public IList<string>
messages {
get;
set; } =
new List<string>();
334 public IList<string>
rank_hosts {
get;
set; } =
new List<string>();
514 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
int history_index
The index of this cluster operation in the reverse-chronologically sorted list of operations,...
IList< string > messages
Updates and error messages if any.
IList< int > ranks_being_added
The rank numbers of the ranks currently being added, or the rank numbers that were added if the opera...
int sharded_rebalance_percent_complete
Percentage of shard keys, and their associated data if applicable, that have completed rebalancing.
IDictionary< string, string > options
Optional parameters.
const string COMPLETED_OK
bool rebalance_sharded_data
Whether rebalancing of sharded data is (or was) part of this operation.
string add_ranks_status
If this was a rank-adding operation, the add-specific status of the operation.
long shard_array_version
Version of the shard array that is (or was) being rebalanced to.
int num_shards_changing
Number of shards that will change as part of rebalance.
string endpoint_schema
The schema for the original request.
bool remove_ranks
Whether removing ranks is (or was) part of this operation.
const string COMPLETED_OK
bool add_ranks
Whether adding ranks is (or was) part of this operation.
bool rebalance_unsharded_data
Whether rebalancing of unsharded data is (or was) part of this operation.
int add_ranks_percent_complete
Current percent complete of the add ranks operation.
IDictionary< string, string > info
Additional information.
string endpoint
The endpoint that initiated the cluster operation.
int remove_ranks_percent_complete
Current percent complete of the remove ranks operation.
string rebalance_sharded_data_status
If this was an operation that included rebalancing sharded data, the rebalancing-specific status of t...
bool user_stopped
Whether a user stopped this operation at any point while in progress.
const string ERROR
An error occurred executing the operation.
bool in_progress
Whether this cluster operation is currently in progress or not.
int history_index
Indicates which cluster operation to retrieve.
const string COMPLETED_OK
string overall_status
Overall success status of the operation.
string end_time
The end time of the cluster operation, if completed.
int history_size
Number of cluster operations executed to date.
IList< int > ranks_being_removed
The ranks being removed, or that have been removed if the operation is completed.
bool rebalance
Whether data and/or shard rebalancing is (or was) part of this operation.
int percent_complete
Percent complete of this entire operation.
IList< string > rank_hosts
The host IP addresses of the ranks being added, in the same order as the ranks_being_added list.
int unsharded_rebalance_percent_complete
Percentage of unsharded tables that completed rebalancing, out of all unsharded tables to rebalance.
string remove_ranks_status
If this was a rank-removing operation, the removal-specific status of the operation.
string start_time
The start time of the cluster operation.
bool dry_run
Whether this operation was a dry run.
string rebalance_unsharded_data_status
If this was an operation that included rebalancing unsharded data, the rebalancing-specific status of...
AdminShowClusterOperationsRequest()
Constructs an AdminShowClusterOperationsRequest object with default parameters.
const string COMPLETED_OK
AdminShowClusterOperationsRequest(int? history_index=null, IDictionary< string, string > options=null)
Constructs an AdminShowClusterOperationsRequest object with the specified parameters.
const string OK
The operation was successful, or, if still in progress, the operation is successful so far.