Skip to main content

access_connectors

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

Overview

Nameaccess_connectors
TypeResource
Idazure_isv.databricks.access_connectors

Fields

NameDatatypeDescription
connectorNametextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
refered_bytextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTconnectorName, resourceGroupName, subscriptionIdGets an Azure Databricks Access Connector.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets all the Azure Databricks Access Connectors within a resource group.
list_by_subscriptionSELECTsubscriptionIdGets all the Azure Databricks Access Connectors within a subscription.
create_or_updateINSERTconnectorName, resourceGroupName, subscriptionIdCreates or updates Azure Databricks Access Connector.
deleteDELETEconnectorName, resourceGroupName, subscriptionIdDeletes the Azure Databricks Access Connector.
updateUPDATEconnectorName, resourceGroupName, subscriptionIdUpdates an Azure Databricks Access Connector.

SELECT examples

Gets all the Azure Databricks Access Connectors within a subscription.

SELECT
connectorName,
identity,
location,
provisioning_state,
refered_by,
resourceGroupName,
subscriptionId,
system_data,
tags
FROM azure_isv.databricks.vw_access_connectors
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_isv.databricks.access_connectors (
connectorName,
resourceGroupName,
subscriptionId,
identity,
systemData,
properties,
tags,
location
)
SELECT
'{{ connectorName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ identity }}',
'{{ systemData }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a access_connectors resource.

/*+ update */
UPDATE azure_isv.databricks.access_connectors
SET
tags = '{{ tags }}',
identity = '{{ identity }}'
WHERE
connectorName = '{{ connectorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified access_connectors resource.

/*+ delete */
DELETE FROM azure_isv.databricks.access_connectors
WHERE connectorName = '{{ connectorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';