Update specified tags and enabled status of an existing entity. Tags that are not specified are left unchanged.
update_entity(entity, tag_names = character(0), tag_values = character(0),
enabled = NA, verbose = FALSE)
Required argument, an entity name. The entity should exist into ATSD.
In case you want to create new entity use the create_entity
function.
Optional argument, a character vector of names of tags.
Optional argument, a character vector of values of tags.
This vector should has the same length as the tag_names
vector.
Optional boolean argument.
If enabled = TRUE
the entity will be enabled,
if enabled = FALSE
the entity will be disabled,
in the default case enabled = NA
the enabled status of entity will not be changed.
Optional boolean argument, FALSE
by default.
If verbose = FALSE
then console output will be suppressed.
codeTRUE if update success, FALSE
--- otherwise.