Skip to main content

published_app_integrations

Operations on a published_app_integrations resource.

Overview

Namepublished_app_integrations
TypeResource
Iddatabricks_account.oauth.published_app_integrations

Fields

NameDatatype
namestring
app_idstring
create_timestring
created_byinteger
integration_idstring
token_access_policyobject

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccount_id, integration_idGets the Published OAuth App Integration for the given integration id.
listSELECTaccount_idGet the list of published OAuth app integrations for the specified Databricks account
createINSERTaccount_idCreate Published OAuth App Integration.
deleteDELETEaccount_id, integration_idDelete an existing Published OAuth App Integration. You can retrieve the published OAuth app integration via
updateUPDATEaccount_id, integration_idUpdates an existing published OAuth App Integration. You can retrieve the published OAuth app integration via

SELECT examples

SELECT
name,
app_id,
create_time,
created_by,
integration_id,
token_access_policy
FROM databricks_account.oauth.published_app_integrations
WHERE account_id = '{{ account_id }}';

INSERT example

Use the following StackQL query and manifest file to create a new published_app_integrations resource.

/*+ create */
INSERT INTO databricks_account.oauth.published_app_integrations (
account_id,
data__PowerBI,
data__TableauDesktop
)
SELECT
'{{ account_id }}',
'{{ PowerBI }}',
'{{ TableauDesktop }}'
;

UPDATE example

Updates a published_app_integrations resource.

/*+ update */
-- replace field1, field2, etc. with the fields you want to update
UPDATE databricks_account.oauth.published_app_integrations
SET field1 = '{{ value1 }}',
field2 = '{{ value2 }}', ...
WHERE account_id = '{{ account_id }}' AND
integration_id = '{{ integration_id }}';

DELETE example

Deletes a published_app_integrations resource.

/*+ delete */
DELETE FROM databricks_account.oauth.published_app_integrations
WHERE account_id = '{{ account_id }}' AND
integration_id = '{{ integration_id }}';