symmetry.api.digitalocean

Members

Aliases

OceanImageId
alias OceanImageId = Algebraic!(int, string)

Enums

DropletAction
enum DropletAction
OceanDistro
enum OceanDistro
OceanRegion
enum OceanRegion

Functions

action
JSONValue action(Droplet droplet, DropletAction actionType, JSONValue params)

Makes an action

actions
auto actions(Droplet droplet)
Undocumented in source. Be warned that the author may not have intended to support it.
allNeighbours
auto allNeighbours(OceanAPI api)
backups
auto backups(Droplet droplet)

Retrieve backups for a Droplet

changeKernel
auto changeKernel(Droplet droplet, string kernel)

Change the Kernel

createRecord
auto createRecord(OceanDomain domain, string rtype, string name, string data, string priority, string port, string weight)

Create a new Domain Record

del
auto del(OceanDomain domain)

Delete a Domain

del
auto del(Droplet droplet)

Delete a Droplet

del
auto del(OceanImage image)

Delete an Image

del
auto del(OceanKey key)

Destroy an existing Key by Id or Fingerprint

delRecord
auto delRecord(OceanDomain domain, string recordId)

Delete a Domain Record

disableBackups
auto disableBackups(Droplet droplet)

Disable Backups

doSnapshot
auto doSnapshot(Droplet droplet, string name)

Snapshot

dropletAction
DropletAction dropletAction(string action)
enableIPv6
auto enableIPv6(Droplet droplet)

Enable IPv6

enablePrivateNetworking
auto enablePrivateNetworking(Droplet droplet)

Enable Private Networking

findDroplet
OceanResult!Droplet findDroplet(OceanAPI ocean, string name)

find droplet ID from anme

get
auto get(OceanDomain domain)

Retrieve an existing Domain

get
auto get(OceanImage image)

Retrieve an existing Image by id or slug

getImageAction
auto getImageAction(OceanImage image, string actionId)

Retrieve an existing Image Action

getRecord
auto getRecord(OceanDomain domain, string recordId)

Retrieve an existing Domain Record

joinUrl
string joinUrl(string url, string endpoint)
kernels
auto kernels(Droplet droplet)

List all available Kernels for a Droplet

listActions
auto listActions(OceanAPI api)

List all Actions

listDomainRecords
auto listDomainRecords(OceanDomain domain)

List all Domain Records

listDomains
auto listDomains(OceanAPI api)

List all Domains (managed through Ocean DNS interface)

listDroplets
auto listDroplets(OceanAPI api)

list all droplets

listImages
auto listImages(OceanAPI api)

List all images

listKeys
auto listKeys(OceanAPI api)

list all keys

listRegions
auto listRegions(OceanAPI api)

list all regions

listSizes
auto listSizes(OceanAPI api)

list all sizes

listUpgrades
auto listUpgrades(OceanAPI api)
neighbours
auto neighbours(Droplet droplet)
oceanRegion
OceanRegion oceanRegion(string region)
passwordReset
auto passwordReset(Droplet droplet)

Password Reset a Droplet

powerCycle
auto powerCycle(Droplet droplet)

Power Cycle a Droplet

powerOff
auto powerOff(Droplet droplet)

Power Off a Droplet

powerOn
auto powerOn(Droplet droplet)

Power On a Droplet

reboot
auto reboot(Droplet droplet)

Reboot a Droplet

rebuild
auto rebuild(Droplet droplet, string image)

Rebuild a Droplet

rename
auto rename(OceanAPI api, Droplet droplet, string name)

Rename a Droplet

request
JSONValue request(OceanAPI api, string url, HTTP.Method method, JSONValue params)
resize
auto resize(Droplet droplet, string size)

Resize a Droplet

restore
auto restore(Droplet droplet, string image)

Restore a Droplet

retrieve
auto retrieve(Droplet droplet)

Retrieve an existing Droplet by id

retrieve
auto retrieve(OceanKey key)

Retrieve an existing Key by Id or Fingerprint

retrieveAction
auto retrieveAction(OceanAPI api, string id)

retrieve existing Action

retrieveAction
auto retrieveAction(Droplet droplet, string actionId)

Retrieve a Droplet Action

shutdown
auto shutdown(Droplet droplet)

Shutdown a Droplet

snapshots
auto snapshots(Droplet droplet)

Retrieve snapshots for a Droplet

toString
string toString(OceanRegion region)
toString
string toString(DropletAction action)
transfer
auto transfer(OceanImage image, OceanRegion region)

Transfer an Image

update
auto update(OceanImage image, string name)

Update an Image

updateName
auto updateName(OceanKey key, string name)

Update an existing Key by Id or Fingerprint

updateRecord
auto updateRecord(OceanDomain domain, string recordId, string name)

Update a Domain Record

upgrade
auto upgrade(Droplet droplet)

Structs

Droplet
struct Droplet
OceanAPI
struct OceanAPI
OceanDomain
struct OceanDomain
OceanGlobalImage
struct OceanGlobalImage
OceanImage
struct OceanImage
OceanKey
struct OceanKey
OceanResult
struct OceanResult(T)

Variables

DropletActions
string[] DropletActions;
OceanImages
OceanGlobalImage[] OceanImages;
OceanRegions
string[] OceanRegions;

Meta