Skip to main content

connector_mappings

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

Overview

Nameconnector_mappings
TypeResource
Idazure_extras.customer_insights.connector_mappings

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
descriptiontextfield from the properties object
connectorNametextfield from the properties object
connector_mapping_nametextfield from the properties object
connector_nametextfield from the properties object
connector_typetextfield from the properties object
createdtextfield from the properties object
data_format_idtextfield from the properties object
display_nametextfield from the properties object
entity_typetextfield from the properties object
entity_type_nametextfield from the properties object
hubNametextfield from the properties object
last_modifiedtextfield from the properties object
mappingNametextfield from the properties object
mapping_propertiestextfield from the properties object
next_run_timetextfield from the properties object
resourceGroupNametextfield from the properties object
run_idtextfield 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, mappingName, resourceGroupName, subscriptionIdGets a connector mapping in the connector.
list_by_connectorSELECTconnectorName, hubName, resourceGroupName, subscriptionIdGets all the connector mappings in the specified connector.
create_or_updateINSERTconnectorName, hubName, mappingName, resourceGroupName, subscriptionIdCreates a connector mapping or updates an existing connector mapping in the connector.
deleteDELETEconnectorName, hubName, mappingName, resourceGroupName, subscriptionIdDeletes a connector mapping in the connector.

SELECT examples

Gets all the connector mappings in the specified connector.

SELECT
id,
name,
description,
connectorName,
connector_mapping_name,
connector_name,
connector_type,
created,
data_format_id,
display_name,
entity_type,
entity_type_name,
hubName,
last_modified,
mappingName,
mapping_properties,
next_run_time,
resourceGroupName,
run_id,
state,
subscriptionId,
tenant_id,
type
FROM azure_extras.customer_insights.vw_connector_mappings
WHERE connectorName = '{{ connectorName }}'
AND hubName = '{{ hubName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified connector_mappings resource.

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