Skip to content

EntityTagAssignment

laktory.models.resources.databricks.EntityTagAssignment ¤

Bases: EntityTagAssignmentBase

Databricks Entity Tag Assignment

Assigns a tag to a Unity Catalog entity (catalog, schema, table, column or volume). Tags can also be declared directly on Catalog, Schema, Table, TableColumn and Volume with their tags field.

Examples:

import io

from laktory import models

tag_yaml = '''
entity_type: tables
entity_name: dev.finance.slv_stock_prices
tag_key: data_classification
tag_value: confidential
'''
tag = models.resources.databricks.EntityTagAssignment.model_validate_yaml(
    io.StringIO(tag_yaml)
)
References
BASE DESCRIPTION
entity_name

The fully qualified name of the entity to which the tag is assigned

TYPE: str | VariableType

entity_type

The type of the entity to which the tag is assigned

TYPE: Literal['catalogs', 'schemas', 'tables', 'columns', 'volumes'] | VariableType

provider_config

Configure the provider for management through account provider

TYPE: EntityTagAssignmentProviderConfig | None | VariableType DEFAULT: None

tag_key

The key of the tag

TYPE: str | VariableType

tag_value

The value of the tag

TYPE: str | None | VariableType DEFAULT: None


laktory.models.resources.databricks.entitytagassignment.EntityTagAssignmentProviderConfig ¤

Bases: BaseModel

PARAMETER DESCRIPTION
workspace_id

Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with

TYPE: str | None | VariableType DEFAULT: None