Skip to main content

provider_exchange_listings

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

Overview

Nameprovider_exchange_listings
TypeResource
Iddatabricks_workspace.marketplace.provider_exchange_listings

Fields

The following fields are returned by SELECT queries:

Request completed successfully.

NameDatatypeDescription
idstring
exchange_idstring
listing_idstring
exchange_namestring
listing_namestring
created_atinteger
created_bystring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listlistingsforexchangeselectdeployment_nameList listings associated with an exchange
listexchangesforlistingselectdeployment_nameList exchanges associated with a listing
addlistingtoexchangeinsertdeployment_nameAssociate an exchange with a listing
deletelistingfromexchangedeletedeployment_nameDisassociate an exchange with a listing

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

List listings associated with an exchange

SELECT
id,
exchange_id,
listing_id,
exchange_name,
listing_name,
created_at,
created_by
FROM databricks_workspace.marketplace.provider_exchange_listings
WHERE deployment_name = '{{ deployment_name }}' -- required;

INSERT examples

Associate an exchange with a listing

INSERT INTO databricks_workspace.marketplace.provider_exchange_listings (
data__listing_id,
data__exchange_id,
deployment_name
)
SELECT
'{{ listing_id }}',
'{{ exchange_id }}',
'{{ deployment_name }}'
RETURNING
exchange_for_listing
;

DELETE examples

Disassociate an exchange with a listing

DELETE FROM databricks_workspace.marketplace.provider_exchange_listings
WHERE deployment_name = '{{ deployment_name }}' --required;