artifact_allow_lists
Creates, updates, deletes, gets or lists an artifact_allow_lists resource.
Overview
| Name | artifact_allow_lists |
| Type | Resource |
| Id | databricks_workspace.unitycatalog.artifact_allow_lists |
Fields
The following fields are returned by SELECT queries:
- get
The artifact allowlist was successfully retrieved.
| Name | Datatype | Description |
|---|---|---|
metastore_id | string | |
artifact_matchers | array | |
created_at | integer | |
created_by | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | deployment_name | Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin or have the | |
update | update | deployment_name | Set the artifact allowlist of a certain artifact type. The whole artifact allowlist is replaced with the new allowlist. The caller must be a metastore admin or have the |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
SELECT examples
- get
Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin or have the
SELECT
metastore_id,
artifact_matchers,
created_at,
created_by
FROM databricks_workspace.unitycatalog.artifact_allow_lists
WHERE deployment_name = '{{ deployment_name }}' -- required;
UPDATE examples
- update
Set the artifact allowlist of a certain artifact type. The whole artifact allowlist is replaced with the new allowlist. The caller must be a metastore admin or have the
UPDATE databricks_workspace.unitycatalog.artifact_allow_lists
SET
data__artifact_matchers = '{{ artifact_matchers }}'
WHERE
deployment_name = '{{ deployment_name }}' --required
RETURNING
metastore_id,
artifact_matchers,
created_at,
created_by;