Directory
laktory.models.resources.databricks.Directory
¤
Bases: BaseModel
, PulumiResource
, TerraformResource
Databricks Directory
ATTRIBUTE | DESCRIPTION |
---|---|
delete_recursive |
When |
lookup_existing |
Specifications for looking up existing resource. Other attributes will be ignored.
TYPE:
|
path |
The absolute path of the directory, beginning with "/", e.g. "/pipelines".
TYPE:
|
Examples:
from laktory import models
d = models.resources.databricks.Directory(path="/queries/views")
print(d)
'''
resource_name_=None options=ResourceOptions(variables={}, is_enabled=True, depends_on=[], provider=None, ignore_changes=None, aliases=None, delete_before_replace=True, import_=None, parent=None, replace_on_changes=None) lookup_existing=None variables={} delete_recursive=None path='/queries/views'
'''
print(d.resource_key)
# > queries-views
print(d.resource_name)
# > directory-queries-views
ATTRIBUTE | DESCRIPTION |
---|---|
resource_key |
path with special characters
TYPE:
|
--
laktory.models.resources.databricks.directory.DirectoryLookup
¤
Bases: ResourceLookup
ATTRIBUTE | DESCRIPTION |
---|---|
path |
The absolute path of the directory, beginning with "/", e.g. "/Demo".
TYPE:
|