[[reference-ccr-put_auto_follow_pattern]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.ccr.putAutoFollowPattern Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. {ref}/ccr-put-auto-follow-pattern.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (CcrPutAutoFollowPatternRequest, options?): Promise ---- [discrete] ===== `CcrPutAutoFollowPatternRequest` [source,ts] ---- interface CcrPutAutoFollowPatternRequest extends <> { name: <> remote_cluster: string follow_index_pattern?: <> leader_index_patterns?: <> leader_index_exclusion_patterns?: <> max_outstanding_read_requests?: <> settings?: Record max_outstanding_write_requests?: <> read_poll_timeout?: <> max_read_request_operation_count?: <> max_read_request_size?: <> max_retry_delay?: <> max_write_buffer_count?: <> max_write_buffer_size?: <> max_write_request_operation_count?: <> max_write_request_size?: <> } ---- [discrete] ===== `CcrPutAutoFollowPatternResponse` [source,ts] ---- type CcrPutAutoFollowPatternResponse = <> ----