This function sets options and prints them so you know what options are set.
do_options(
size = NULL,
image = NULL,
region = NULL,
ssh_keys = NULL,
private_networking = NULL,
backups = NULL,
ipv6 = NULL,
unset = FALSE
)
(optional) A Digital Ocean size slug name, e.g. '1gb'. Saved in options as 'do_size'
(optional) A Digital Ocean image name, e.g., 'ubuntu-14-04-x64'. Saved in options as 'do_image'
(optional) A Digital Ocean region name, e.g., 'nyc1'. Saved in options as 'do_region'
(optional) One or more ssh key id numbers or fingerprints. Put many in a list or vector. Saved in options as 'do_ssh_keys'
(optional) A logical, whether to use private networking or not. Saved in options as 'do_private_networking'
(optional) A logical, whether to enable backups. Automated backups can only be enabled when the Droplet is created. Saved in options as 'do_backups'
(optional) A boolean indicating whether IPv6 is enabled on the Droplet. Saved in options as 'do_ipv6'
(optional) A boolean. If TRUE, unsets options so as to use
defaults in
droplet_create
. If FALSE
(default) your options are
used in droplet_create
.
These options are read and used by droplet_create
.
You can only set one value for each of size, image, and region, but multiple values for ssh_keys as you can use multiple ssh keys on one DO droplet.
Keep in mind that there are defaults set for size, image, and region
in droplet_create
.