DigitalOcean.Database.update_eviction_policy
You're seeing just the function
update_eviction_policy
, go back to DigitalOcean.Database module for more information.
Link to this function
update_eviction_policy(database_id, opts)
Specs
update_eviction_policy(String.t(), Keyword.t()) :: DigitalOcean.Operation.t()
Update the eviction policy for a Redis database cluster.
Examples
iex> DigitalOcean.Database.update_eviction_policy(
...> "9cdb64e5-61e4-4b30-b711-11ef66d84558",
...> eviction_policy: "allkeys_lru"
...> ) |> DigitalOcean.request()
{ :ok, %DigitalOcean.Response{} }