Skip to main content

connectors

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

Overview

Nameconnectors
TypeResource
Idazure_extras.customer_insights.connectors

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
descriptiontextfield from the properties object
connectorNametextfield from the properties object
connector_idtextfield from the properties object
connector_nametextfield from the properties object
connector_propertiestextfield from the properties object
connector_typetextfield from the properties object
createdtextfield from the properties object
display_nametextfield from the properties object
hubNametextfield from the properties object
is_internaltextfield from the properties object
last_modifiedtextfield from the properties object
resourceGroupNametextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object
tenant_idtextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTconnectorName, hubName, resourceGroupName, subscriptionIdGets a connector in the hub.
list_by_hubSELECThubName, resourceGroupName, subscriptionIdGets all the connectors in the specified hub.
create_or_updateINSERTconnectorName, hubName, resourceGroupName, subscriptionIdCreates a connector or updates an existing connector in the hub.
deleteDELETEconnectorName, hubName, resourceGroupName, subscriptionIdDeletes a connector in the hub.

SELECT examples

Gets all the connectors in the specified hub.

SELECT
id,
name,
description,
connectorName,
connector_id,
connector_name,
connector_properties,
connector_type,
created,
display_name,
hubName,
is_internal,
last_modified,
resourceGroupName,
state,
subscriptionId,
tenant_id,
type
FROM azure_extras.customer_insights.vw_connectors
WHERE hubName = '{{ hubName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_extras.customer_insights.connectors (
connectorName,
hubName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ connectorName }}',
'{{ hubName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified connectors resource.

/*+ delete */
DELETE FROM azure_extras.customer_insights.connectors
WHERE connectorName = '{{ connectorName }}'
AND hubName = '{{ hubName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';