Skip to main content

recipient_share_permissions

Creates, updates, deletes, gets or lists a recipient_share_permissions resource.

Overview

Namerecipient_share_permissions
TypeResource
Iddatabricks_workspace.deltasharing.recipient_share_permissions

Fields

The following fields are returned by SELECT queries:

The recipient share permissions list was successfully retrieved.

NameDatatypeDescription
share_namestring
privilege_assignmentsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
sharepermissionsselectdeployment_nameGets the share permissions for the specified Recipient. The caller must be a metastore admin or the owner of the Recipient.

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.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

Gets the share permissions for the specified Recipient. The caller must be a metastore admin or the owner of the Recipient.

SELECT
share_name,
privilege_assignments
FROM databricks_workspace.deltasharing.recipient_share_permissions
WHERE deployment_name = '{{ deployment_name }}' -- required;