Lines Matching defs:params

33      * $params['policy'] = (string) The name of the index lifecycle policy
35 * @param array $params Associative array of parameters
39 public function deleteLifecycle(array $params = [])
41 $policy = $this->extractArgument($params, 'policy');
45 $endpoint->setParams($params);
53 * $params['index'] = (string) The name of the index to explain
54 * $params['only_managed'] = (boolean) filters the indices included in the response to ones managed by ILM
55 * $params['only_errors'] = (boolean) filters the indices included in the response to ones in an ILM error state, implies only_managed
57 * @param array $params Associative array of parameters
61 public function explainLifecycle(array $params = [])
63 $index = $this->extractArgument($params, 'index');
67 $endpoint->setParams($params);
75 * $params['policy'] = (string) The name of the index lifecycle policy
77 * @param array $params Associative array of parameters
81 public function getLifecycle(array $params = [])
83 $policy = $this->extractArgument($params, 'policy');
87 $endpoint->setParams($params);
96 * @param array $params Associative array of parameters
100 public function getStatus(array $params = [])
105 $endpoint->setParams($params);
112 * $params['dry_run'] = (boolean) If set to true it will simulate the migration, providing a way to retrieve the ILM policies and indices that need to be migrated. The default is false
113 * $params['body'] = (array) Optionally specify a legacy index template name to delete and optionally specify a node attribute name used for index shard routing (defaults to "data")
115 * @param array $params Associative array of parameters
119 public function migrateToDataTiers(array $params = [])
121 $body = $this->extractArgument($params, 'body');
125 $endpoint->setParams($params);
133 * $params['index'] = (string) The name of the index whose lifecycle step is to change
134 * $params['body'] = (array) The new lifecycle step to move to
136 * @param array $params Associative array of parameters
140 public function moveToStep(array $params = [])
142 $index = $this->extractArgument($params, 'index');
143 $body = $this->extractArgument($params, 'body');
147 $endpoint->setParams($params);
156 * $params['policy'] = (string) The name of the index lifecycle policy
157 * $params['body'] = (array) The lifecycle policy definition to register
159 * @param array $params Associative array of parameters
163 public function putLifecycle(array $params = [])
165 $policy = $this->extractArgument($params, 'policy');
166 $body = $this->extractArgument($params, 'body');
170 $endpoint->setParams($params);
179 * $params['index'] = (string) The name of the index to remove policy on
181 * @param array $params Associative array of parameters
185 public function removePolicy(array $params = [])
187 $index = $this->extractArgument($params, 'index');
191 $endpoint->setParams($params);
199 * $params['index'] = (string) The name of the indices (comma-separated) whose failed lifecycle step is to be retry
201 * @param array $params Associative array of parameters
205 public function retry(array $params = [])
207 $index = $this->extractArgument($params, 'index');
211 $endpoint->setParams($params);
220 * @param array $params Associative array of parameters
224 public function start(array $params = [])
229 $endpoint->setParams($params);
237 * @param array $params Associative array of parameters
241 public function stop(array $params = [])
246 $endpoint->setParams($params);