Skip to main content

consumer_providers

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

Overview​

Nameconsumer_providers
TypeResource
Iddatabricks_workspace.marketplace.consumer_providers

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
â–¶providerobject

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectid, deployment_name, workspace_domainGet a provider in the Databricks Marketplace with at least one visible listing.
listselectdeployment_name, workspace_domainis_featured, page_size, page_tokenList all providers in the Databricks Marketplace with at least one visible listing.
batch_getexecdeployment_name, workspace_domainidsBatch get a provider in the Databricks Marketplace with at least one visible 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: 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)
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"}})
idsarray
page_sizeinteger
page_tokenstring

SELECT examples​

Get a provider in the Databricks Marketplace with at least one visible listing.

SELECT
provider
FROM databricks_workspace.marketplace.consumer_providers
WHERE id = '{{ id }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND workspace_domain = '{{ workspace_domain }}' -- required
;

Lifecycle Methods​

Batch get a provider in the Databricks Marketplace with at least one visible listing.

EXEC databricks_workspace.marketplace.consumer_providers.batch_get
@deployment_name='{{ deployment_name }}' --required,
@workspace_domain='{{ workspace_domain }}' --required,
@ids='{{ ids }}'
;