oceanex v0.2.4 Oceanex.Resource.Key
DigitalOcean SSH Key
resource api calls.
Link to this section Summary
Functions
List all ssh key records.
Create a ssh key record.
Delete a specific ssh key record.
Get a specific ssh key record.
Update a specific ssh key record.
Link to this section Functions
Link to this function
all(opts \\ %{})
List all ssh key records.
Link to this function
create(opts)
Create a ssh key record.
Link to this function
destroy(key_id_or_key_finger_print)
Delete a specific ssh key record.
Link to this function
find(key_id_or_key_finger_print)
Get a specific ssh key record.
Link to this function
update(key_id_or_key_finger_print, opts)
Update a specific ssh key record.
Examples
Oceanex.Resource.Key.update(key_id_or_key_finger_print, %{name: name})