@@ -22,6 +22,22 @@ def info(self, node_id=None, metric=None, params=None):
22
22
"GET" , _make_path ("_nodes" , node_id , metric ), params = params
23
23
)
24
24
25
+ @query_params ("timeout" )
26
+ def reload_secure_settings (self , node_id = None , params = None ):
27
+ """
28
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/6.x/secure-settings.html#reloadable-secure-settings>`_
29
+
30
+ :arg node_id: A comma-separated list of node IDs to span the
31
+ reload/reinit call. Should stay empty because reloading usually
32
+ involves all cluster nodes.
33
+ :arg timeout: Explicit operation timeout
34
+ """
35
+ return self .transport .perform_request (
36
+ "POST" ,
37
+ _make_path ("_nodes" , node_id , "reload_secure_settings" ),
38
+ params = params ,
39
+ )
40
+
25
41
@query_params (
26
42
"completion_fields" ,
27
43
"fielddata_fields" ,
@@ -71,7 +87,13 @@ def stats(self, node_id=None, metric=None, index_metric=None, params=None):
71
87
)
72
88
73
89
@query_params (
74
- "type" , "ignore_idle_threads" , "interval" , "snapshots" , "threads" , "timeout"
90
+ "doc_type" ,
91
+ "type" ,
92
+ "ignore_idle_threads" ,
93
+ "interval" ,
94
+ "snapshots" ,
95
+ "threads" ,
96
+ "timeout" ,
75
97
)
76
98
def hot_threads (self , node_id = None , params = None ):
77
99
"""
@@ -82,6 +104,8 @@ def hot_threads(self, node_id=None, params=None):
82
104
returned information; use `_local` to return information from the
83
105
node you're connecting to, leave empty to get information from all
84
106
nodes
107
+ :arg doc_type: The type to sample (default: cpu), valid choices are:
108
+ 'cpu', 'wait', 'block'
85
109
:arg type: The type to sample (default: cpu), valid choices are:
86
110
'cpu', 'wait', 'block'
87
111
:arg ignore_idle_threads: Don't show threads that are in known-idle
0 commit comments