Skip to main content

consumer_listing_content

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

Overview​

Nameconsumer_listing_content
TypeResource
Iddatabricks_workspace.marketplace.consumer_listing_content

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringName of the shared object
data_object_typestring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlisting_id, deployment_name, workspace_domainpage_size, page_tokenGet a high level preview of the metadata of listing installable content.

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: the host prefix of the workspace URL (dbc-abcd0123-a1bc on AWS, adb-1234567890123456.7 on Azure, 1234567890123456.7 on GCP). Set DATABRICKS_DEPLOYMENT_NAME to default it for the session. (default: dbc-abcd0123-a1bc, x-stackQL-envVar: DATABRICKS_DEPLOYMENT_NAME)
listing_idstring
workspace_domainstringThe Databricks workspace domain suffix for the cloud. Selected by DATABRICKS_CLOUD (aws, azure or gcp; default aws). (default: cloud.databricks.com, x-stackQL-envVarSelector: {"envVar":"DATABRICKS_CLOUD","default":"aws","values":{"aws":"cloud.databricks.com","azure":"azuredatabricks.net","gcp":"gcp.databricks.com"}})
page_sizeinteger
page_tokenstring

SELECT examples​

Get a high level preview of the metadata of listing installable content.

SELECT
name,
data_object_type
FROM databricks_workspace.marketplace.consumer_listing_content
WHERE listing_id = '{{ listing_id }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND workspace_domain = '{{ workspace_domain }}' -- required
AND page_size = '{{ page_size }}'
AND page_token = '{{ page_token }}'
;