Skip to main content

relationship_links

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

Overview

Namerelationship_links
TypeResource
Idazure_extras.customer_insights.relationship_links

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
descriptiontextfield from the properties object
display_nametextfield from the properties object
hubNametextfield from the properties object
interaction_typetextfield from the properties object
link_nametextfield from the properties object
mappingstextfield from the properties object
profile_property_referencestextfield from the properties object
provisioning_statetextfield from the properties object
related_profile_property_referencestextfield from the properties object
relationshipLinkNametextfield from the properties object
relationship_guid_idtextfield from the properties object
relationship_nametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tenant_idtextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECThubName, relationshipLinkName, resourceGroupName, subscriptionIdGets information about the specified relationship Link.
list_by_hubSELECThubName, resourceGroupName, subscriptionIdGets all relationship links in the hub.
create_or_updateINSERThubName, relationshipLinkName, resourceGroupName, subscriptionIdCreates a relationship link or updates an existing relationship link within a hub.
deleteDELETEhubName, relationshipLinkName, resourceGroupName, subscriptionIdDeletes a relationship link within a hub.

SELECT examples

Gets all relationship links in the hub.

SELECT
id,
name,
description,
display_name,
hubName,
interaction_type,
link_name,
mappings,
profile_property_references,
provisioning_state,
related_profile_property_references,
relationshipLinkName,
relationship_guid_id,
relationship_name,
resourceGroupName,
subscriptionId,
tenant_id,
type
FROM azure_extras.customer_insights.vw_relationship_links
WHERE hubName = '{{ hubName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified relationship_links resource.

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