tag_resource | R Documentation |
Tag a resource
tag_resource(
name,
resource_id = NULL,
resource_type = "droplet",
resources = NULL,
...
)
name |
(character) Name of the tag |
resource_id |
(integer) a droplet id |
resource_type |
(character) only "droplet" for now. Default: "droplet" |
resources |
(list) instead of |
... |
Additional options passed down to |
logical, TRUE
if successful
## Not run:
d <- droplet_create()
tag_resource(name = "stuffthings", resource_id = d$id,
resource_type = "droplet")
tag_resource("stuffthings", resources = list(list(resource_id = d$id,
resource_type = "droplet")))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.