WorkspaceEntityTagAssignment
laktory.models.resources.databricks.WorkspaceEntityTagAssignment
¤
Bases: WorkspaceEntityTagAssignmentBase
Databricks Workspace Entity Tag Assignment
Assigns a tag to a workspace entity (app, dashboard, Genie space or
notebook). Tags can also be declared directly on App, Dashboard and
Notebook with their tags field.
Examples:
import io
from laktory import models
tag_yaml = '''
entity_type: apps
entity_id: stock-prices-app
tag_key: cost_center
tag_value: finance
'''
tag = models.resources.databricks.WorkspaceEntityTagAssignment.model_validate_yaml(
io.StringIO(tag_yaml)
)
| BASE | DESCRIPTION |
|---|---|
entity_id
|
The identifier of the entity to which the tag is assigned. For apps, the entity_id is the app name
TYPE:
|
entity_type
|
The type of entity to which the tag is assigned
TYPE:
|
provider_config
|
Configure the provider for management through account provider
TYPE:
|
tag_key
|
The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
TYPE:
|
tag_value
|
The value of the tag
TYPE:
|
laktory.models.resources.databricks.workspaceentitytagassignment.WorkspaceEntityTagAssignmentProviderConfig
¤
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:
|