TagPolicy
laktory.models.resources.databricks.TagPolicy
¤
Bases: TagPolicyBase
Databricks Tag Policy
Defines a governed tag: a tag key, with an optional list of allowed values, that can be assigned to Unity Catalog and workspace entities and used in attribute-based access control (ABAC) policies.
Examples:
import io
from laktory import models
tag_policy_yaml = '''
tag_key: data_classification
description: Sensitivity level of the data
values:
- name: public
- name: confidential
- name: pii
'''
tag_policy = models.resources.databricks.TagPolicy.model_validate_yaml(
io.StringIO(tag_policy_yaml)
)
| BASE | DESCRIPTION |
|---|---|
description
|
TYPE:
|
provider_config
|
Configure the provider for management through account provider
TYPE:
|
tag_key
|
TYPE:
|
values
|
TYPE:
|
laktory.models.resources.databricks.tagpolicy.TagPolicyProviderConfig
¤
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:
|