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 )
size | (optional) A Digital Ocean size slug name, e.g. '1gb'. Saved in options as 'do_size' |
---|---|
image | (optional) A Digital Ocean image name, e.g., 'ubuntu-14-04-x64'. Saved in options as 'do_image' |
region | (optional) A Digital Ocean region name, e.g., 'nyc1'. Saved in options as 'do_region' |
ssh_keys | (optional) One or more ssh key id numbers or fingerprints. Put many in a list or vector. Saved in options as 'do_ssh_keys' |
private_networking | (optional) A logical, whether to use private networking or not. Saved in options as 'do_private_networking' |
backups | (optional) A logical, whether to enable backups. Automated backups can only be enabled when the Droplet is created. Saved in options as 'do_backups' |
ipv6 | (optional) A boolean indicating whether IPv6 is enabled on the Droplet. Saved in options as 'do_ipv6' |
unset | (optional) A boolean. If TRUE, unsets options so as to use
defaults in
|
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
.