lib/elasticsearch/api/actions/indices/rollover.rb in elasticsearch-api-8.13.0 vs lib/elasticsearch/api/actions/indices/rollover.rb in elasticsearch-api-8.14.0

- old
+ new

@@ -30,13 +30,14 @@ # @option arguments [Time] :timeout Explicit operation timeout # @option arguments [Boolean] :dry_run If set to true the rollover action will only be validated but not actually performed even if a condition matches. The default is false # @option arguments [Time] :master_timeout Specify timeout for connection to master # @option arguments [String] :wait_for_active_shards Set the number of active shards to wait for on the newly created rollover index before the operation returns. # @option arguments [Boolean] :lazy If set to true, the rollover action will only mark a data stream to signal that it needs to be rolled over at the next write. Only allowed on data streams. + # @option arguments [Boolean] :target_failure_store If set to true, the rollover action will be applied on the failure store of the data stream. # @option arguments [Hash] :headers Custom HTTP headers # @option arguments [Hash] :body The conditions that needs to be met for executing rollover # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.13/indices-rollover-index.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-rollover-index.html # def rollover(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || 'indices.rollover' } defined_params = %i[alias new_index].each_with_object({}) do |variable, set_variables|