Perform actions on one or more droplets associated with a tag
droplet_do_actions(name, type, ...)
name
: (character) Name of the tag. Required.type
: (character) action type, one of 'power_cycle', 'power_on', 'power_off', 'shutdown', 'enable_private_networking', 'enable_ipv6', 'enable_backups', 'disable_backups', or 'snapshot'. Required....
: Additional options passed down to POST
## Not run: tag_create(name = "pluto") d <- droplet_create() tag_resource(name = "pluto", resource_id = d$id) (x <- droplet_do_actions(name = "pluto", type = "power_off")) # wait until completed, check with action(xx$actions[[1]]$id) droplet_do_actions(name = "pluto", type = "power_on") ## End(Not run)