Auto-generated code for main (#1987)
This commit is contained in:
@ -6786,9 +6786,10 @@ client.nodes.reloadSecureSettings({ ... })
|
||||
==== Arguments
|
||||
|
||||
* *Request (object):*
|
||||
** *`node_id` (Optional, string | string[])*: A list of node IDs to span the reload/reinit call. Should stay empty because reloading usually involves all cluster nodes.
|
||||
** *`secure_settings_password` (Optional, string)*
|
||||
** *`timeout` (Optional, string | -1 | 0)*: Explicit operation timeout
|
||||
** *`node_id` (Optional, string | string[])*: The names of particular nodes in the cluster to target.
|
||||
** *`secure_settings_password` (Optional, string)*: The password for the Elasticsearch keystore.
|
||||
** *`timeout` (Optional, string | -1 | 0)*: Period to wait for a response.
|
||||
If no response is received before the timeout expires, the request fails and returns an error.
|
||||
|
||||
[discrete]
|
||||
==== stats
|
||||
@ -6816,7 +6817,7 @@ client.nodes.stats({ ... })
|
||||
** *`master_timeout` (Optional, string | -1 | 0)*: Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
|
||||
** *`timeout` (Optional, string | -1 | 0)*: Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
|
||||
** *`types` (Optional, string[])*: A list of document types for the indexing index metric.
|
||||
** *`include_unloaded_segments` (Optional, boolean)*: If set to true segment stats will include stats for segments that are not currently loaded into memory
|
||||
** *`include_unloaded_segments` (Optional, boolean)*: If `true`, the response includes information from segments that are not loaded into memory.
|
||||
|
||||
[discrete]
|
||||
==== usage
|
||||
@ -6833,8 +6834,10 @@ client.nodes.usage({ ... })
|
||||
|
||||
* *Request (object):*
|
||||
** *`node_id` (Optional, string | string[])*: A list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
|
||||
** *`metric` (Optional, string | string[])*: Limit the information returned to the specified metrics
|
||||
** *`timeout` (Optional, string | -1 | 0)*: Explicit operation timeout
|
||||
** *`metric` (Optional, string | string[])*: Limits the information returned to the specific metrics.
|
||||
A list of the following options: `_all`, `rest_actions`.
|
||||
** *`timeout` (Optional, string | -1 | 0)*: Period to wait for a response.
|
||||
If no response is received before the timeout expires, the request fails and returns an error.
|
||||
|
||||
[discrete]
|
||||
=== query_ruleset
|
||||
|
||||
@ -17169,7 +17169,7 @@ export interface TasksTaskInfo {
|
||||
running_time?: Duration
|
||||
running_time_in_nanos: DurationValue<UnitNanos>
|
||||
start_time_in_millis: EpochTime<UnitMillis>
|
||||
status?: TasksTaskStatus
|
||||
status?: any
|
||||
type: string
|
||||
parent_task_id?: TaskId
|
||||
}
|
||||
@ -17183,26 +17183,6 @@ export interface TasksTaskListResponseBase {
|
||||
tasks?: TasksTaskInfos
|
||||
}
|
||||
|
||||
export interface TasksTaskStatus {
|
||||
batches: long
|
||||
canceled?: string
|
||||
created: long
|
||||
deleted: long
|
||||
noops: long
|
||||
failures?: string[]
|
||||
requests_per_second: float
|
||||
retries: Retries
|
||||
throttled?: Duration
|
||||
throttled_millis: DurationValue<UnitMillis>
|
||||
throttled_until?: Duration
|
||||
throttled_until_millis: DurationValue<UnitMillis>
|
||||
timed_out?: boolean
|
||||
took?: DurationValue<UnitMillis>
|
||||
total: long
|
||||
updated: long
|
||||
version_conflicts: long
|
||||
}
|
||||
|
||||
export interface TasksCancelRequest extends RequestBase {
|
||||
task_id?: TaskId
|
||||
actions?: string | string[]
|
||||
@ -17222,7 +17202,7 @@ export interface TasksGetRequest extends RequestBase {
|
||||
export interface TasksGetResponse {
|
||||
completed: boolean
|
||||
task: TasksTaskInfo
|
||||
response?: TasksTaskStatus
|
||||
response?: any
|
||||
error?: ErrorCause
|
||||
}
|
||||
|
||||
|
||||
@ -17576,7 +17576,7 @@ export interface TasksTaskInfo {
|
||||
running_time?: Duration
|
||||
running_time_in_nanos: DurationValue<UnitNanos>
|
||||
start_time_in_millis: EpochTime<UnitMillis>
|
||||
status?: TasksTaskStatus
|
||||
status?: any
|
||||
type: string
|
||||
parent_task_id?: TaskId
|
||||
}
|
||||
@ -17590,26 +17590,6 @@ export interface TasksTaskListResponseBase {
|
||||
tasks?: TasksTaskInfos
|
||||
}
|
||||
|
||||
export interface TasksTaskStatus {
|
||||
batches: long
|
||||
canceled?: string
|
||||
created: long
|
||||
deleted: long
|
||||
noops: long
|
||||
failures?: string[]
|
||||
requests_per_second: float
|
||||
retries: Retries
|
||||
throttled?: Duration
|
||||
throttled_millis: DurationValue<UnitMillis>
|
||||
throttled_until?: Duration
|
||||
throttled_until_millis: DurationValue<UnitMillis>
|
||||
timed_out?: boolean
|
||||
took?: DurationValue<UnitMillis>
|
||||
total: long
|
||||
updated: long
|
||||
version_conflicts: long
|
||||
}
|
||||
|
||||
export interface TasksCancelRequest extends RequestBase {
|
||||
task_id?: TaskId
|
||||
actions?: string | string[]
|
||||
@ -17629,7 +17609,7 @@ export interface TasksGetRequest extends RequestBase {
|
||||
export interface TasksGetResponse {
|
||||
completed: boolean
|
||||
task: TasksTaskInfo
|
||||
response?: TasksTaskStatus
|
||||
response?: any
|
||||
error?: ErrorCause
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user