UserRole
laktory.models.resources.databricks.UserRole
ยค
Bases: UserRoleBase
Databricks User Role
Examples:
import io
from laktory import models
role_yaml = '''
user_id: ${resources.user-john.id}
role: account_admin
'''
role = models.resources.databricks.UserRole.model_validate_yaml(
io.StringIO(role_yaml)
)
References
| BASE | DESCRIPTION |
|---|---|
api
|
Specifies whether to use account-level or workspace-level API. Valid values are
TYPE:
|
role
|
Either a role name or the ARN/ID of the instance profile resource
TYPE:
|
user_id
|
This is the id of the user resource
TYPE:
|