Skip to main content

vw_relationships

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

Overview

Namevw_relationships
TypeView
Idazure_extras.customer_insights.vw_relationships

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.cardinality') as "cardinality",
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.expiryDateTimeUtc') as "expiry_date_time_utc",
JSON_EXTRACT(properties, '$.fields') as "fields",
JSON_EXTRACT(properties, '$.lookupMappings') as "lookup_mappings",
JSON_EXTRACT(properties, '$.profileType') as "profile_type",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.relationshipName') as "relationship_name",
JSON_EXTRACT(properties, '$.relatedProfileType') as "related_profile_type",
JSON_EXTRACT(properties, '$.relationshipGuidId') as "relationship_guid_id",
JSON_EXTRACT(properties, '$.tenantId') as "tenant_id",
subscriptionId,
resourceGroupName,
hubName,
relationshipName
FROM azure_extras.customer_insights.relationships
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND hubName = 'replace-me';