Skip to main content

tag_defs

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

Overview

Nametag_defs
TypeResource
Idconfluent.catalog.tag_defs

Fields

NameDatatypeDescription
namestringThe name
descriptionstringThe description
attributeDefsarrayThe attribute definitions
categorystringThe category
createTimeintegerThe create time
createdBystringThe creator
entityTypesarrayThe entity types
guidstringThe internal guid
optionsobjectThe options
serviceTypestringThe service type
subTypesarrayThe subtypes
superTypesarrayThe supertypes
typeVersionstringThe type version
updateTimeintegerThe update time
updatedBystringThe updater
versionintegerThe version

Methods

NameAccessible byRequired ParamsDescription
get_all_tag_defsSELECTGenerally Available Bulk retrieval API for retrieving tag definitions.
get_tag_def_by_nameSELECTtagNameGenerally Available Get the tag definition with the given name.
create_tag_defsINSERTGenerally Available Bulk create API for tag definitions.
delete_tag_defDELETEtagNameGenerally Available Delete API for tag definition identified by its name.
update_tag_defsEXECGenerally Available Bulk update API for tag definitions.

SELECT examples

Generally Available Bulk retrieval API for retrieving tag definitions.

SELECT
name,
description,
attributeDefs,
category,
createTime,
createdBy,
entityTypes,
guid,
options,
serviceType,
subTypes,
superTypes,
typeVersion,
updateTime,
updatedBy,
version
FROM confluent.catalog.tag_defs
;

INSERT example

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

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

)
SELECT

;

DELETE example

Deletes the specified tag_defs resource.

/*+ delete */
DELETE FROM confluent.catalog.tag_defs
WHERE tagName = '{{ tagName }}';