Skip to main content

interactions

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

Overview

Nameinteractions
TypeResource
Idazure_extras.customer_insights.interactions

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
api_entity_set_nametextfield from the properties object
data_source_precedence_rulestextfield from the properties object
default_data_sourcetextfield from the properties object
entity_typetextfield from the properties object
fieldstextfield from the properties object
hubNametextfield from the properties object
id_property_namestextfield from the properties object
instances_counttextfield from the properties object
interactionNametextfield from the properties object
is_activitytextfield from the properties object
last_changed_utctextfield from the properties object
participant_profilestextfield from the properties object
primary_participant_profile_property_nametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
schema_item_type_linktextfield from the properties object
subscriptionIdtextfield from the properties object
tenant_idtextfield from the properties object
timestamp_field_nametextfield from the properties object
typetextResource type.
type_nametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECThubName, interactionName, resourceGroupName, subscriptionIdGets information about the specified interaction.
list_by_hubSELECThubName, resourceGroupName, subscriptionIdGets all interactions in the hub.
create_or_updateINSERThubName, interactionName, resourceGroupName, subscriptionIdCreates an interaction or updates an existing interaction within a hub.
suggest_relationship_linksEXEChubName, interactionName, resourceGroupName, subscriptionIdSuggests relationships to create relationship links.

SELECT examples

Gets all interactions in the hub.

SELECT
id,
name,
api_entity_set_name,
data_source_precedence_rules,
default_data_source,
entity_type,
fields,
hubName,
id_property_names,
instances_count,
interactionName,
is_activity,
last_changed_utc,
participant_profiles,
primary_participant_profile_property_name,
provisioning_state,
resourceGroupName,
schema_item_type_link,
subscriptionId,
tenant_id,
timestamp_field_name,
type,
type_name
FROM azure_extras.customer_insights.vw_interactions
WHERE hubName = '{{ hubName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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