w.artifact_allowlists: Artifact Allowlists

class databricks.sdk.service.catalog.ArtifactAllowlistsAPI

In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the allowlist in UC so that users can leverage these artifacts on compute configured with shared access mode.

get(artifact_type: ArtifactType) ArtifactAllowlistInfo

Get an artifact allowlist.

Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin or have the MANAGE ALLOWLIST privilege on the metastore.

Parameters:

artifact_typeArtifactType The artifact type of the allowlist.

Returns:

ArtifactAllowlistInfo

update(artifact_type: ArtifactType, artifact_matchers: List[ArtifactMatcher]) ArtifactAllowlistInfo

Set an artifact allowlist.

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 MANAGE ALLOWLIST privilege on the metastore.

Parameters:
  • artifact_typeArtifactType The artifact type of the allowlist.

  • artifact_matchers – List[ArtifactMatcher] A list of allowed artifact match patterns.

Returns:

ArtifactAllowlistInfo