Skip to main content

tags

Creates, updates, deletes, gets or lists a tags resource.

Overview

Nametags
TypeResource
Idconfluent.catalog.tags

Fields

NameDatatypeDescription
attributesobjectThe tag attributes
entityGuidstringThe internal entity guid
entityNamestringThe qualified name of the entity
entityStatusstringThe entity status
entityTypestringThe entity type
errorobjectError message of this operation
propagatebooleanWhether to propagate the tag
removePropagationsOnEntityDeletebooleanWhether to remove propagations on entity delete
typeNamestringThe tag name
validityPeriodsarrayThe validity periods

Methods

NameAccessible byRequired ParamsDescription
get_tagsSELECTqualifiedName, typeNameGenerally Available Gets the list of tags for a given entity represented by a qualified name.
create_tagsINSERTGenerally Available Bulk API to create multiple tags.
delete_tagDELETEqualifiedName, tagName, typeNameGenerally Available Delete a tag for an entity.
update_tagsEXECGenerally Available Bulk API to update multiple tags.

SELECT examples

Generally Available Gets the list of tags for a given entity represented by a qualified name.

SELECT
attributes,
entityGuid,
entityName,
entityStatus,
entityType,
error,
propagate,
removePropagationsOnEntityDelete,
typeName,
validityPeriods
FROM confluent.catalog.tags
WHERE qualifiedName = '{{ qualifiedName }}'
AND typeName = '{{ typeName }}';

INSERT example

Use the following StackQL query and manifest file to create a new tags resource.

/*+ create */
INSERT INTO confluent.catalog.tags (

)
SELECT

;

DELETE example

Deletes the specified tags resource.

/*+ delete */
DELETE FROM confluent.catalog.tags
WHERE qualifiedName = '{{ qualifiedName }}'
AND tagName = '{{ tagName }}'
AND typeName = '{{ typeName }}';