Joyent CloudAPI implemented in Elixir and Poison v0.0.1 CloudAPI View Source

This module is responsible for tying all CloudAPI related functionality together into one context.

Link to this section Summary

Functions

Retrieves your account details.

Updates your account details.

Link to this section Functions

Link to this function

add_machine_tags(login \\ "my", id, tags)

View Source
Link to this function

add_nic(login \\ "my", machine_id, network_id)

View Source
Link to this function

change_user_password(login \\ "my", id, password)

View Source
Link to this function

clone_image(login \\ "my", id)

View Source
Link to this function

create_fabric_network(login \\ "my", vlan_id, network)

View Source
Link to this function

create_fabric_vlan(login \\ "my", vlan)

View Source
Link to this function

create_firewall_rule(login \\ "my", fwrule)

View Source
Link to this function

create_image_from_machine(login \\ "my", create_image)

View Source
Link to this function

create_key(login \\ "my", key)

View Source
Link to this function

create_machine(login \\ "my", machine)

View Source
Link to this function

create_machine_snapshot(login \\ "my", id, name)

View Source
Link to this function

create_policy(login \\ "my", policy)

View Source
Link to this function

create_role(login \\ "my", role)

View Source
Link to this function

create_user(login \\ "my", user)

View Source
Link to this function

create_user_key(login \\ "my", user, key)

View Source
Link to this function

create_volume(login \\ "my", volume)

View Source
Link to this function

delete_all_machine_metadata(login \\ "my", id)

View Source
Link to this function

delete_all_machine_tags(login \\ "my", id)

View Source
Link to this function

delete_fabric_network(login \\ "my", vlan_id, id)

View Source
Link to this function

delete_fabric_vlan(login \\ "my", id)

View Source
Link to this function

delete_firewall_rule(login \\ "my", id)

View Source
Link to this function

delete_image(login \\ "my", id)

View Source
Link to this function

delete_key(login \\ "my", name_or_fingerprint)

View Source
Link to this function

delete_machine(login \\ "my", id)

View Source
Link to this function

delete_machine_metadata(login \\ "my", id, key)

View Source
Link to this function

delete_machine_snapshot(login \\ "my", id, name)

View Source
Link to this function

delete_machine_tag(login \\ "my", id, key)

View Source
Link to this function

delete_policy(login \\ "my", id)

View Source
Link to this function

delete_role(login \\ "my", id)

View Source
Link to this function

delete_user(login \\ "my", id)

View Source
Link to this function

delete_user_key(login \\ "my", user, name_or_fingerprint)

View Source
Link to this function

delete_volume(login \\ "my", id)

View Source
Link to this function

disable_firewall_rule(login \\ "my", id)

View Source
Link to this function

disable_machine_deletion_protection(login \\ "my", id)

View Source
Link to this function

disable_machine_firewall(login \\ "my", id)

View Source
Link to this function

enable_firewall_rule(login \\ "my", id)

View Source
Link to this function

enable_machine_deletion_protection(login \\ "my", id)

View Source
Link to this function

enable_machine_firewall(login \\ "my", id)

View Source
Link to this function

export_image(login \\ "my", id, manta_path)

View Source
Link to this function

get_account(login \\ "my")

View Source
get_account(String.t()) :: Tuple.t()

Retrieves your account details.

Parameters

  • login: String that represents the Cloud Portal Login. Defaults to "my".
Link to this function

get_config(login \\ "my")

View Source
Link to this function

get_fabric_network(login \\ "my", vlan_id, id)

View Source
Link to this function

get_fabric_vlan(login \\ "my", id)

View Source
Link to this function

get_firewall_rule(login \\ "my", id)

View Source
Link to this function

get_image(login \\ "my", id)

View Source
Link to this function

get_key(login \\ "my", name_or_fingerprint)

View Source
Link to this function

get_machine(login \\ "my", id)

View Source
Link to this function

get_machine_metadata(login \\ "my", id, key)

View Source
Link to this function

get_machine_snapshot(login \\ "my", id, name)

View Source
Link to this function

get_machine_tags(login \\ "my", id, key)

View Source
Link to this function

get_migration(login \\ "my", id)

View Source
Link to this function

get_network(login \\ "my", id)

View Source
Link to this function

get_network_ip(login \\ "my", id, ip)

View Source
Link to this function

get_nic(login \\ "my", machine_id, mac)

View Source
Link to this function

get_package(login \\ "my", id)

View Source
Link to this function

get_policy(login \\ "my", id)

View Source
Link to this function

get_role(login \\ "my", id)

View Source
Link to this function

get_user(login \\ "my", id)

View Source
Link to this function

get_user_key(login \\ "my", user, name_or_fingerprint)

View Source
Link to this function

get_volume(login \\ "my", id)

View Source
Link to this function

import_image_from_datacenter(login \\ "my", datacenter, id)

View Source
Link to this function

list_fabric_networks(login \\ "my", vlan_id)

View Source
Link to this function

list_fabric_vlans(login \\ "my")

View Source
Link to this function

list_firewall_rules(login \\ "my")

View Source
Link to this function

list_firewall_rules_machines(login \\ "my", rule_id)

View Source
Link to this function

list_images(login \\ "my")

View Source
Link to this function

list_keys(login \\ "my")

View Source
Link to this function

list_machine_firewall_rules(login \\ "my", machine_id)

View Source
Link to this function

list_machine_metadata(login \\ "my", id, credentials \\ false)

View Source
Link to this function

list_machine_snapshots(login \\ "my", id)

View Source
Link to this function

list_machine_tags(login \\ "my", id)

View Source
Link to this function

list_machines(login \\ "my")

View Source
Link to this function

list_migrations(login \\ "my")

View Source
Link to this function

list_network_ips(login \\ "my", id)

View Source
Link to this function

list_networks(login \\ "my")

View Source
Link to this function

list_nics(login \\ "my", machine_id)

View Source
Link to this function

list_packages(login \\ "my")

View Source
Link to this function

list_policies(login \\ "my")

View Source
Link to this function

list_roles(login \\ "my")

View Source
Link to this function

list_user_keys(login \\ "my", user)

View Source
Link to this function

list_users(login \\ "my")

View Source
Link to this function

list_volumes(login \\ "my")

View Source
Link to this function

machine_audit(login \\ "my", id)

View Source
Link to this function

migrate(login \\ "my", id, action, affinity \\ [])

View Source
Link to this function

reboot_machine(login \\ "my", id)

View Source
Link to this function

remove_nic(login \\ "my", machine_id, mac)

View Source
Link to this function

rename_machine(login \\ "my", id, name)

View Source
Link to this function

replace_machine_tags(login \\ "my", id, tags)

View Source
Link to this function

resize_machine(login \\ "my", id, package_id)

View Source
Link to this function

start_machine(login \\ "my", id)

View Source
Link to this function

start_machine_from_snapshot(login \\ "my", id, name)

View Source
Link to this function

stop_machine(login \\ "my", id)

View Source
Link to this function

update_account(login \\ "my", account)

View Source
update_account(String.t(), CloudAPI.Account.t()) :: Tuple.t()

Updates your account details.

Parameters

  • login: String that represents the Cloud Portal Login. Defaults to "my".
  • account: %CloudAPI.Account{} with the details you want updated.
Link to this function

update_config(login \\ "my", config)

View Source
Link to this function

update_fabric_network(login \\ "my", vlan_id, network)

View Source
Link to this function

update_fabric_vlan(login \\ "my", vlan)

View Source
Link to this function

update_firewall_rule(login \\ "my", fwrule)

View Source
Link to this function

update_image(login \\ "my", image)

View Source
Link to this function

update_machine_metadata(login \\ "my", id, metadata)

View Source
Link to this function

update_policy(login \\ "my", policy)

View Source
Link to this function

update_role(login \\ "my", role)

View Source
Link to this function

update_user(login \\ "my", user)

View Source
Link to this function

update_volume(login \\ "my", volume)

View Source