provider_share_assets
Creates, updates, deletes, gets or lists a provider_share_assets resource.
Overview
| Name | provider_share_assets |
| Type | Resource |
| Id | databricks_workspace.sharing.provider_share_assets |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
functions | array | The list of functions in the share. |
notebooks | array | The list of notebooks in the share. |
share | object | The metadata of the share. |
tables | array | The list of tables in the share. |
volumes | array | The list of volumes in the share. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | provider_name, share_name, deployment_name | function_max_results, notebook_max_results, table_max_results, volume_max_results | Get 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.
| Name | Datatype | Description |
|---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
provider_name | string | The name of the provider who owns the share. |
share_name | string | The name of the share. |
function_max_results | integer | Maximum number of functions to return. |
notebook_max_results | integer | Maximum number of notebooks to return. |
table_max_results | integer | Maximum number of tables to return. |
volume_max_results | integer | Maximum number of volumes to return. |
SELECT examples
- list
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 }}'
;