Class CreateRepositoryRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.snapshot.CreateRepositoryRequest
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class CreateRepositoryRequest extends RequestBase implements JsonpSerializable
Create or update a snapshot repository. IMPORTANT: If you are migrating searchable snapshots, the repository name must be identical in the source and destination clusters. To register a snapshot repository, the cluster's global metadata must be writeable. Ensure there are no cluster blocks (for example, cluster.blocks.read_only and clsuter.blocks.read_only_allow_delete settings) that prevent write access.
See Also: