Skip to main content

provider_share_assets

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

Overview

Nameprovider_share_assets
TypeResource
Iddatabricks_workspace.sharing.provider_share_assets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
functionsarrayThe list of functions in the share.
notebooksarrayThe list of notebooks in the share.
shareobjectThe metadata of the share.
tablesarrayThe list of tables in the share.
volumesarrayThe list of volumes in the share.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprovider_name, share_name, deployment_namefunction_max_results, notebook_max_results, table_max_results, volume_max_resultsGet arrays of assets associated with a specified provider's share. The caller is the recipient of the

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)
provider_namestringThe name of the provider who owns the share.
share_namestringThe name of the share.
function_max_resultsintegerMaximum number of functions to return.
notebook_max_resultsintegerMaximum number of notebooks to return.
table_max_resultsintegerMaximum number of tables to return.
volume_max_resultsintegerMaximum number of volumes to return.

SELECT examples

Get arrays of assets associated with a specified provider's share. The caller is the recipient of the

SELECT
functions,
notebooks,
share,
tables,
volumes
FROM databricks_workspace.sharing.provider_share_assets
WHERE provider_name = '{{ provider_name }}' -- required
AND share_name = '{{ share_name }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND function_max_results = '{{ function_max_results }}'
AND notebook_max_results = '{{ notebook_max_results }}'
AND table_max_results = '{{ table_max_results }}'
AND volume_max_results = '{{ volume_max_results }}'
;