class OceanKit::Resource::Droplet
- OceanKit::Resource::Droplet
- OceanKit::Resource::Base
- Reference
- Object
Defined in:
ocean_kit/resources/droplet.crInstance Method Summary
-
#actions(id)
Retrieve all actions that have been executed on a Droplet
- #all(tag)
- #all
-
#backups(id)
Retrieve a list of all kernels available to a Dropet
-
#create(options)
Create new droplet ok.droplets.create( {name: "12.com", region: "nyc3", size: "512mb", image: "ubuntu-16-04-x64", ipv6: "true", tags: ["web"]})
-
#delete(id)
Delete a Droplet by ID
-
#delete_for_tag(tag)
Delete a Droplet by TAG
- #droplets
-
#find(id)
Find Droplet Info by ID
-
#kernels(id)
Retrieve a list of all kernels available to a Dropet
-
#snapshots(id)
Retrieve the snapshots that have been created from a Droplet,
Constructor methods inherited from class OceanKit::Resource::Base
new(headers : HTTP::Headers | Nil)
new
Instance methods inherited from module OceanKit::Client::Connection
destroy(path, options = nil)
destroy,
get(path, options = nil)
get,
post(path, options)
post,
put(path, options)
put,
request(http_method, path, options)
request
Instance Method Detail
Create new droplet ok.droplets.create( {name: "12.com", region: "nyc3", size: "512mb", image: "ubuntu-16-04-x64", ipv6: "true", tags: ["web"]})
Delete a Droplet by ID
No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
Delete a Droplet by TAG
No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data.