Description
List all Spaces.
Usage
spaces(spaces_region = NULL, spaces_key = NULL, spaces_secret = NULL, ...)
Value
(list) A list of Spaces. Can be empty.
Arguments
- spaces_region
(character) String containing a spaces region. If
missing, defaults to value stored in an environment variable
DO_SPACES_REGION
.
- spaces_key
(character) String containing a spaces access key. If
missing, defaults to value stored in an environment variable
DO_SPACES_ACCESS_KEY
.
- spaces_secret
(character) String containing the secret associated
with the spaces key. If missing, defaults to value stored in an environment
variable DO_SPACES_SECRET_KEY
.
- ...
Additional arguments to spaces_GET
References
https://developers.digitalocean.com/documentation/spaces/#get-object
Examples
Run this codeif (FALSE) {
# List all of your Spaces
spaces()
}
Run the code above in your browser using DataLab