consumer_listings
Creates, updates, deletes, gets or lists a consumer_listings
resource.
Overview
Name | consumer_listings |
Type | Resource |
Id | databricks_workspace.marketplace.consumer_listings |
Fields
The following fields are returned by SELECT
queries:
- search
- list
- get
Request completed successfully.
Name | Datatype | Description |
---|---|---|
id | string | |
detail | object | |
summary | object |
Request completed successfully.
Name | Datatype | Description |
---|---|---|
id | string | |
detail | object | |
summary | object |
Request completed successfully.
Name | Datatype | Description |
---|---|---|
id | string | |
detail | object | |
summary | object |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
search | select | deployment_name | Search published listings in the Databricks Marketplace that the consumer has access to. This query supports a variety of different search parameters and performs fuzzy matching. | |
list | select | deployment_name | List all published listings in the Databricks Marketplace that the consumer has access to. | |
get | select | deployment_name | Get a published listing in the Databricks Marketplace that the consumer has access to. | |
batchget | exec | deployment_name | Batch get a published listing in the Databricks Marketplace that the consumer has access to. |
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) |
SELECT
examples
- search
- list
- get
Search published listings in the Databricks Marketplace that the consumer has access to. This query supports a variety of different search parameters and performs fuzzy matching.
SELECT
id,
detail,
summary
FROM databricks_workspace.marketplace.consumer_listings
WHERE deployment_name = '{{ deployment_name }}' -- required;
List all published listings in the Databricks Marketplace that the consumer has access to.
SELECT
id,
detail,
summary
FROM databricks_workspace.marketplace.consumer_listings
WHERE deployment_name = '{{ deployment_name }}' -- required;
Get a published listing in the Databricks Marketplace that the consumer has access to.
SELECT
id,
detail,
summary
FROM databricks_workspace.marketplace.consumer_listings
WHERE deployment_name = '{{ deployment_name }}' -- required;
Lifecycle Methods
- batchget
Batch get a published listing in the Databricks Marketplace that the consumer has access to.
EXEC databricks_workspace.marketplace.consumer_listings.batchget
@deployment_name='{{ deployment_name }}' --required;