snapshot.createRepository

edit
client.snapshot.createRepository({
  repository: string,
  master_timeout: string,
  timeout: string,
  verify: boolean,
  body: object
})

Reference

repository

string - A repository name

master_timeout or masterTimeout

string - Explicit operation timeout for connection to master node

timeout

string - Explicit operation timeout

verify

boolean - Whether to verify the repository after creation

body

object - The repository definition