Databricks SDK for JavaScript
    Preparing search index...
    Index

    Constructors

    Methods

    • Create a new clean room with the specified collaborators. This method is asynchronous; the returned name field inside the clean_room field can be used to poll the clean room status, using the :method:cleanrooms/get method. When this method returns, the clean room will be in a PROVISIONING state, with only name, owner, comment, created_at and status populated. The clean room will be usable once it enters an ACTIVE state.

      The caller must be a metastore admin or have the CREATE_CLEAN_ROOM privilege on the metastore.

      Parameters

      Returns Promise<CreateCleanRoomWaiter>

    • Create a clean room asset —share an asset like a notebook or table into the clean room. For each UC asset that is added through this method, the clean room owner must also have enough privilege on the asset to consume it. The privilege must be maintained indefinitely for the clean room to be able to access the asset. Typically, you should use a group as the clean room owner.

      Parameters

      Returns Promise<CleanRoomAsset>

    • Delete a clean room. After deletion, the clean room will be removed from the metastore. If the other collaborators have not deleted the clean room, they will still have the clean room in their metastore, but it will be in a DELETED state and no operations other than deletion can be performed on it.

      Parameters

      Returns Promise<void>