artifact_allow_lists
Operations on a artifact_allow_lists
resource.
Overview
Name | artifact_allow_lists |
Type | Resource |
Id | databricks_workspace.unitycatalog.artifact_allow_lists |
Fields
Name | Datatype |
---|---|
artifact_matchers | array |
created_at | integer |
created_by | string |
metastore_id | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | artifact_type, deployment_name | Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin or have the |
update | UPDATE | artifact_type, 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 |
SELECT
examples
SELECT
artifact_matchers,
created_at,
created_by,
metastore_id
FROM databricks_workspace.unitycatalog.artifact_allow_lists
WHERE artifact_type = '{{ artifact_type }}' AND
deployment_name = '{{ deployment_name }}';
UPDATE
example
Updates a artifact_allow_lists
resource.
/*+ update */
-- replace field1, field2, etc. with the fields you want to update
UPDATE databricks_workspace.unitycatalog.artifact_allow_lists
SET field1 = '{{ value1 }}',
field2 = '{{ value2 }}', ...
WHERE artifact_type = '{{ artifact_type }}' AND
deployment_name = '{{ deployment_name }}';