Hcloud v0.2.0 Hcloud View Source

Link to this section Summary

Functions

Creates a new Floating IP assigned to a server. If you want to create a Floating IP that is not bound to a server, you need to provide the home_location key instead of server. This can be either the ID or the name of the location this IP shall be created in. Note that a Floating IP can be assigned to a server in any location later on. For optimal routing it is advised to use the Floating IP in the same Location it was created in

Here action is the any atom in the following atom

Link to this section Functions

Link to this function create_floating_ip(data) View Source

Creates a new Floating IP assigned to a server. If you want to create a Floating IP that is not bound to a server, you need to provide the home_location key instead of server. This can be either the ID or the name of the location this IP shall be created in. Note that a Floating IP can be assigned to a server in any location later on. For optimal routing it is advised to use the Floating IP in the same Location it was created in.

Request

The type argument is required while home_location and server are mutually exclusive.

You need to pass the map as %{

type: type,
home_location: home_location,
server: server
description: description

}

Link to this function create_ssh_key(name, primary_key) View Source
Link to this function floating_ip_action(floating_ip_id, action_id) View Source
Link to this function floating_ip_actions(id, data \\ nil) View Source
Link to this function floating_ip_do_action(id, action) View Source
Link to this function server_action(server_id, action_id) View Source
Link to this function server_do_action(id, action) View Source

Here action is the any atom in the following atom

Link to this function udpate_image(id, description, type) View Source
Link to this function update_floating_ip_description(id, description \\ nil) View Source
Link to this function update_server_name(id, name \\ nil) View Source
Link to this function update_ssh_key(id, new_name) View Source