Lines Matching refs:policy
31 * Deletes the specified lifecycle policy definition. A currently used policy cannot be deleted.
33 * $params['policy'] = (string) The name of the index lifecycle policy
41 $policy = $this->extractArgument($params, 'policy');
46 $endpoint->setPolicy($policy);
73 * Returns the specified policy definition. Includes the policy version and last modified date.
75 * $params['policy'] = (string) The name of the index lifecycle policy
83 $policy = $this->extractArgument($params, 'policy');
88 $endpoint->setPolicy($policy);
154 * Creates a lifecycle policy
156 * $params['policy'] = (string) The name of the index lifecycle policy
157 * $params['body'] = (array) The lifecycle policy definition to register
165 $policy = $this->extractArgument($params, 'policy');
171 $endpoint->setPolicy($policy);
177 * Removes the assigned lifecycle policy and stops managing the specified index
179 * $params['index'] = (string) The name of the index to remove policy on
183 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html
197 * Retries executing the policy for an index that is in the ERROR step.
203 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-retry-policy.html