Grant
laktory.models.resources.databricks.Grant
ยค
Bases: BaseModel, PulumiResource, TerraformResource
Databricks Grant
Authoritative for a specific principal. Updates the grants of a securable to a single principal. Other principals within the grants for the securables are preserved.
Examples:
from laktory import models
grants = models.resources.databricks.Grant(
catalog="dev",
principal="metastore-admins",
privileges=["CREATE_SCHEMA"],
)
| PARAMETER | DESCRIPTION |
|---|---|
catalog
|
Name of the catalog to assign the grants to
TYPE:
|
external_location
|
Name of the external location to assign the grants to
TYPE:
|
metastore
|
Name of the metastore to assign the grants to
TYPE:
|
model
|
Name of the user to assign the permission to.
TYPE:
|
principal
|
User, group or service principal name
TYPE:
|
privileges
|
List of allowed privileges
TYPE:
|
schema_
|
Name of the schema to assign the permission to.
TYPE:
|
share
|
Name of the share to assign the permission to.
TYPE:
|
storage_credential
|
Name of the storage credential to assign the permission to.
TYPE:
|
table
|
Name of the table to assign the permission to.
TYPE:
|
view
|
Name of the view to assign the permission to.
TYPE:
|
volume
|
Name of the volume to assign the permission to.
TYPE:
|