Read and update idle-timeout config for a computer.
Maps to GET /computers/:id/auto-stop and PATCH /computers/:id/auto-stop.
Summary
Functions
Return the current auto-stop configuration
(GET /computers/:computer_id/auto-stop).
Set the idle timeout in seconds (PATCH /computers/:computer_id/auto-stop).
Functions
@spec get(Miosa.Client.t(), String.t()) :: Miosa.Client.result(map())
Return the current auto-stop configuration
(GET /computers/:computer_id/auto-stop).
@spec update(Miosa.Client.t(), String.t(), non_neg_integer()) :: Miosa.Client.result(map())
Set the idle timeout in seconds (PATCH /computers/:computer_id/auto-stop).
Pass 0 to disable auto-stop entirely.