Lines Matching defs:params

33      * $params['name'] = (string) The name of the auto follow pattern.
35 * @param array $params Associative array of parameters
39 public function deleteAutoFollowPattern(array $params = [])
41 $name = $this->extractArgument($params, 'name');
45 $endpoint->setParams($params);
53 * $params['index'] = (string) The name of the follower index
54 * $params['wait_for_active_shards'] = (string) Sets the number of shard copies that must be active before returning. Defaults to 0. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1) (Default = 0)
55 * $params['body'] = (array) The name of the leader index and other optional ccr related parameters (Required)
57 * @param array $params Associative array of parameters
61 public function follow(array $params = [])
63 $index = $this->extractArgument($params, 'index');
64 $body = $this->extractArgument($params, 'body');
68 $endpoint->setParams($params);
77 * $params['index'] = (list) A comma-separated list of index patterns; use `_all` to perform the operation on all indices
79 * @param array $params Associative array of parameters
83 public function followInfo(array $params = [])
85 $index = $this->extractArgument($params, 'index');
89 $endpoint->setParams($params);
97 * $params['index'] = (list) A comma-separated list of index patterns; use `_all` to perform the operation on all indices
99 * @param array $params Associative array of parameters
103 public function followStats(array $params = [])
105 $index = $this->extractArgument($params, 'index');
109 $endpoint->setParams($params);
117 * $params['index'] = (string) the name of the leader index for which specified follower retention leases should be removed
118 * $params['body'] = (array) the name and UUID of the follower index, the name of the cluster containing the follower index, and the alias from the perspective of that cluster for the remote cluster containing the leader index (Required)
120 * @param array $params Associative array of parameters
124 public function forgetFollower(array $params = [])
126 $index = $this->extractArgument($params, 'index');
127 $body = $this->extractArgument($params, 'body');
131 $endpoint->setParams($params);
140 * $params['name'] = (string) The name of the auto follow pattern.
142 * @param array $params Associative array of parameters
146 public function getAutoFollowPattern(array $params = [])
148 $name = $this->extractArgument($params, 'name');
152 $endpoint->setParams($params);
160 * $params['name'] = (string) The name of the auto follow pattern that should pause discovering new indices to follow.
162 * @param array $params Associative array of parameters
166 public function pauseAutoFollowPattern(array $params = [])
168 $name = $this->extractArgument($params, 'name');
172 $endpoint->setParams($params);
180 * $params['index'] = (string) The name of the follower index that should pause following its leader index.
182 * @param array $params Associative array of parameters
186 public function pauseFollow(array $params = [])
188 $index = $this->extractArgument($params, 'index');
192 $endpoint->setParams($params);
200 * $params['name'] = (string) The name of the auto follow pattern.
201 * $params['body'] = (array) The specification of the auto follow pattern (Required)
203 * @param array $params Associative array of parameters
207 public function putAutoFollowPattern(array $params = [])
209 $name = $this->extractArgument($params, 'name');
210 $body = $this->extractArgument($params, 'body');
214 $endpoint->setParams($params);
223 * $params['name'] = (string) The name of the auto follow pattern to resume discovering new indices to follow.
225 * @param array $params Associative array of parameters
229 public function resumeAutoFollowPattern(array $params = [])
231 $name = $this->extractArgument($params, 'name');
235 $endpoint->setParams($params);
243 * $params['index'] = (string) The name of the follow index to resume following.
244 * $params['body'] = (array) The name of the leader index and other optional ccr related parameters
246 * @param array $params Associative array of parameters
250 public function resumeFollow(array $params = [])
252 $index = $this->extractArgument($params, 'index');
253 $body = $this->extractArgument($params, 'body');
257 $endpoint->setParams($params);
267 * @param array $params Associative array of parameters
271 public function stats(array $params = [])
276 $endpoint->setParams($params);
283 * $params['index'] = (string) The name of the follower index that should be turned into a regular index.
285 * @param array $params Associative array of parameters
289 public function unfollow(array $params = [])
291 $index = $this->extractArgument($params, 'index');
295 $endpoint->setParams($params);