Skip to main content

artifact_allow_lists

Operations on a artifact_allow_lists resource.

Overview

Nameartifact_allow_lists
TypeResource
Iddatabricks_workspace.unitycatalog.artifact_allow_lists

Fields

NameDatatype
artifact_matchersarray
created_atinteger
created_bystring
metastore_idstring

Methods

NameAccessible byRequired ParamsDescription
getSELECTartifact_type, deployment_nameGet the artifact allowlist of a certain artifact type. The caller must be a metastore admin or have the
updateUPDATEartifact_type, deployment_nameSet 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 }}';