These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.customerinsights.getRelationship
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets information about the specified relationship. API Version: 2017-04-26.
Using getRelationship
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRelationship(args: GetRelationshipArgs, opts?: InvokeOptions): Promise<GetRelationshipResult>
function getRelationshipOutput(args: GetRelationshipOutputArgs, opts?: InvokeOptions): Output<GetRelationshipResult>
def get_relationship(hub_name: Optional[str] = None,
relationship_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRelationshipResult
def get_relationship_output(hub_name: Optional[pulumi.Input[str]] = None,
relationship_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRelationshipResult]
func LookupRelationship(ctx *Context, args *LookupRelationshipArgs, opts ...InvokeOption) (*LookupRelationshipResult, error)
func LookupRelationshipOutput(ctx *Context, args *LookupRelationshipOutputArgs, opts ...InvokeOption) LookupRelationshipResultOutput
> Note: This function is named LookupRelationship
in the Go SDK.
public static class GetRelationship
{
public static Task<GetRelationshipResult> InvokeAsync(GetRelationshipArgs args, InvokeOptions? opts = null)
public static Output<GetRelationshipResult> Invoke(GetRelationshipInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRelationshipResult> getRelationship(GetRelationshipArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:customerinsights:getRelationship
arguments:
# arguments dictionary
The following arguments are supported:
- Hub
Name string - The name of the hub.
- Relationship
Name string - The name of the relationship.
- Resource
Group stringName - The name of the resource group.
- Hub
Name string - The name of the hub.
- Relationship
Name string - The name of the relationship.
- Resource
Group stringName - The name of the resource group.
- hub
Name String - The name of the hub.
- relationship
Name String - The name of the relationship.
- resource
Group StringName - The name of the resource group.
- hub
Name string - The name of the hub.
- relationship
Name string - The name of the relationship.
- resource
Group stringName - The name of the resource group.
- hub_
name str - The name of the hub.
- relationship_
name str - The name of the relationship.
- resource_
group_ strname - The name of the resource group.
- hub
Name String - The name of the hub.
- relationship
Name String - The name of the relationship.
- resource
Group StringName - The name of the resource group.
getRelationship Result
The following output properties are available:
- Id string
- Resource ID.
- Name string
- Resource name.
- Profile
Type string - Profile type.
- Provisioning
State string - Provisioning state.
- string
- Related profile being referenced.
- Relationship
Guid stringId - The relationship guid id.
- Relationship
Name string - The Relationship name.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Cardinality string
- The Relationship Cardinality.
- Description Dictionary<string, string>
- Localized descriptions for the Relationship.
- Display
Name Dictionary<string, string> - Localized display name for the Relationship.
- Expiry
Date stringTime Utc - The expiry date time in UTC.
- Fields
List<Pulumi.
Azure Native. Customer Insights. Outputs. Property Definition Response> - The properties of the Relationship.
- Lookup
Mappings List<Pulumi.Azure Native. Customer Insights. Outputs. Relationship Type Mapping Response> - Optional property to be used to map fields in profile to their strong ids in related profile.
- Id string
- Resource ID.
- Name string
- Resource name.
- Profile
Type string - Profile type.
- Provisioning
State string - Provisioning state.
- string
- Related profile being referenced.
- Relationship
Guid stringId - The relationship guid id.
- Relationship
Name string - The Relationship name.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Cardinality string
- The Relationship Cardinality.
- Description map[string]string
- Localized descriptions for the Relationship.
- Display
Name map[string]string - Localized display name for the Relationship.
- Expiry
Date stringTime Utc - The expiry date time in UTC.
- Fields
[]Property
Definition Response - The properties of the Relationship.
- Lookup
Mappings []RelationshipType Mapping Response - Optional property to be used to map fields in profile to their strong ids in related profile.
- id String
- Resource ID.
- name String
- Resource name.
- profile
Type String - Profile type.
- provisioning
State String - Provisioning state.
- String
- Related profile being referenced.
- relationship
Guid StringId - The relationship guid id.
- relationship
Name String - The Relationship name.
- tenant
Id String - The hub name.
- type String
- Resource type.
- cardinality String
- The Relationship Cardinality.
- description Map<String,String>
- Localized descriptions for the Relationship.
- display
Name Map<String,String> - Localized display name for the Relationship.
- expiry
Date StringTime Utc - The expiry date time in UTC.
- fields
List<Property
Definition Response> - The properties of the Relationship.
- lookup
Mappings List<RelationshipType Mapping Response> - Optional property to be used to map fields in profile to their strong ids in related profile.
- id string
- Resource ID.
- name string
- Resource name.
- profile
Type string - Profile type.
- provisioning
State string - Provisioning state.
- string
- Related profile being referenced.
- relationship
Guid stringId - The relationship guid id.
- relationship
Name string - The Relationship name.
- tenant
Id string - The hub name.
- type string
- Resource type.
- cardinality string
- The Relationship Cardinality.
- description {[key: string]: string}
- Localized descriptions for the Relationship.
- display
Name {[key: string]: string} - Localized display name for the Relationship.
- expiry
Date stringTime Utc - The expiry date time in UTC.
- fields
Property
Definition Response[] - The properties of the Relationship.
- lookup
Mappings RelationshipType Mapping Response[] - Optional property to be used to map fields in profile to their strong ids in related profile.
- id str
- Resource ID.
- name str
- Resource name.
- profile_
type str - Profile type.
- provisioning_
state str - Provisioning state.
- str
- Related profile being referenced.
- relationship_
guid_ strid - The relationship guid id.
- relationship_
name str - The Relationship name.
- tenant_
id str - The hub name.
- type str
- Resource type.
- cardinality str
- The Relationship Cardinality.
- description Mapping[str, str]
- Localized descriptions for the Relationship.
- display_
name Mapping[str, str] - Localized display name for the Relationship.
- expiry_
date_ strtime_ utc - The expiry date time in UTC.
- fields
Sequence[Property
Definition Response] - The properties of the Relationship.
- lookup_
mappings Sequence[RelationshipType Mapping Response] - Optional property to be used to map fields in profile to their strong ids in related profile.
- id String
- Resource ID.
- name String
- Resource name.
- profile
Type String - Profile type.
- provisioning
State String - Provisioning state.
- String
- Related profile being referenced.
- relationship
Guid StringId - The relationship guid id.
- relationship
Name String - The Relationship name.
- tenant
Id String - The hub name.
- type String
- Resource type.
- cardinality String
- The Relationship Cardinality.
- description Map<String>
- Localized descriptions for the Relationship.
- display
Name Map<String> - Localized display name for the Relationship.
- expiry
Date StringTime Utc - The expiry date time in UTC.
- fields List<Property Map>
- The properties of the Relationship.
- lookup
Mappings List<Property Map> - Optional property to be used to map fields in profile to their strong ids in related profile.
Supporting Types
DataSourcePrecedenceResponse
- Data
Source stringReference Id - The data source reference id.
- Data
Source stringType - The data source type.
- Id int
- The data source ID.
- Name string
- The data source name
- Status string
- The data source status.
- Precedence int
- the precedence value.
- Data
Source stringReference Id - The data source reference id.
- Data
Source stringType - The data source type.
- Id int
- The data source ID.
- Name string
- The data source name
- Status string
- The data source status.
- Precedence int
- the precedence value.
- data
Source StringReference Id - The data source reference id.
- data
Source StringType - The data source type.
- id Integer
- The data source ID.
- name String
- The data source name
- status String
- The data source status.
- precedence Integer
- the precedence value.
- data
Source stringReference Id - The data source reference id.
- data
Source stringType - The data source type.
- id number
- The data source ID.
- name string
- The data source name
- status string
- The data source status.
- precedence number
- the precedence value.
- data_
source_ strreference_ id - The data source reference id.
- data_
source_ strtype - The data source type.
- id int
- The data source ID.
- name str
- The data source name
- status str
- The data source status.
- precedence int
- the precedence value.
- data
Source StringReference Id - The data source reference id.
- data
Source StringType - The data source type.
- id Number
- The data source ID.
- name String
- The data source name
- status String
- The data source status.
- precedence Number
- the precedence value.
ProfileEnumValidValuesFormatResponse
- Localized
Value Dictionary<string, string>Names - Localized names of the enum member.
- Value int
- The integer value of the enum member.
- Localized
Value map[string]stringNames - Localized names of the enum member.
- Value int
- The integer value of the enum member.
- localized
Value Map<String,String>Names - Localized names of the enum member.
- value Integer
- The integer value of the enum member.
- localized
Value {[key: string]: string}Names - Localized names of the enum member.
- value number
- The integer value of the enum member.
- localized_
value_ Mapping[str, str]names - Localized names of the enum member.
- value int
- The integer value of the enum member.
- localized
Value Map<String>Names - Localized names of the enum member.
- value Number
- The integer value of the enum member.
PropertyDefinitionResponse
- Data
Source List<Pulumi.Precedence Rules Azure Native. Customer Insights. Inputs. Data Source Precedence Response> - This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules.
- Field
Name string - Name of the property.
- Field
Type string - Type of the property.
- Array
Value stringSeparator - Array value separator for properties with isArray set.
- Enum
Valid List<Pulumi.Values Azure Native. Customer Insights. Inputs. Profile Enum Valid Values Format Response> - Describes valid values for an enum property.
- Is
Array bool - Indicates if the property is actually an array of the fieldType above on the data api.
- Is
Available boolIn Graph - Whether property is available in graph or not.
- Is
Enum bool - Indicates if the property is an enum.
- Is
Flag boolEnum - Indicates if the property is an flag enum.
- Is
Image bool - Whether the property is an Image.
- Is
Localized boolString - Whether the property is a localized string.
- Is
Name bool - Whether the property is a name or a part of name.
- Is
Required bool - Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- Max
Length int - Max length of string. Used only if type is string.
- Property
Id string - The ID associated with the property.
- Schema
Item stringProp Link - URL encoded schema.org item prop link for the property.
- Data
Source []DataPrecedence Rules Source Precedence Response - This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules.
- Field
Name string - Name of the property.
- Field
Type string - Type of the property.
- Array
Value stringSeparator - Array value separator for properties with isArray set.
- Enum
Valid []ProfileValues Enum Valid Values Format Response - Describes valid values for an enum property.
- Is
Array bool - Indicates if the property is actually an array of the fieldType above on the data api.
- Is
Available boolIn Graph - Whether property is available in graph or not.
- Is
Enum bool - Indicates if the property is an enum.
- Is
Flag boolEnum - Indicates if the property is an flag enum.
- Is
Image bool - Whether the property is an Image.
- Is
Localized boolString - Whether the property is a localized string.
- Is
Name bool - Whether the property is a name or a part of name.
- Is
Required bool - Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- Max
Length int - Max length of string. Used only if type is string.
- Property
Id string - The ID associated with the property.
- Schema
Item stringProp Link - URL encoded schema.org item prop link for the property.
- data
Source List<DataPrecedence Rules Source Precedence Response> - This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules.
- field
Name String - Name of the property.
- field
Type String - Type of the property.
- array
Value StringSeparator - Array value separator for properties with isArray set.
- enum
Valid List<ProfileValues Enum Valid Values Format Response> - Describes valid values for an enum property.
- is
Array Boolean - Indicates if the property is actually an array of the fieldType above on the data api.
- is
Available BooleanIn Graph - Whether property is available in graph or not.
- is
Enum Boolean - Indicates if the property is an enum.
- is
Flag BooleanEnum - Indicates if the property is an flag enum.
- is
Image Boolean - Whether the property is an Image.
- is
Localized BooleanString - Whether the property is a localized string.
- is
Name Boolean - Whether the property is a name or a part of name.
- is
Required Boolean - Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- max
Length Integer - Max length of string. Used only if type is string.
- property
Id String - The ID associated with the property.
- schema
Item StringProp Link - URL encoded schema.org item prop link for the property.
- data
Source DataPrecedence Rules Source Precedence Response[] - This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules.
- field
Name string - Name of the property.
- field
Type string - Type of the property.
- array
Value stringSeparator - Array value separator for properties with isArray set.
- enum
Valid ProfileValues Enum Valid Values Format Response[] - Describes valid values for an enum property.
- is
Array boolean - Indicates if the property is actually an array of the fieldType above on the data api.
- is
Available booleanIn Graph - Whether property is available in graph or not.
- is
Enum boolean - Indicates if the property is an enum.
- is
Flag booleanEnum - Indicates if the property is an flag enum.
- is
Image boolean - Whether the property is an Image.
- is
Localized booleanString - Whether the property is a localized string.
- is
Name boolean - Whether the property is a name or a part of name.
- is
Required boolean - Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- max
Length number - Max length of string. Used only if type is string.
- property
Id string - The ID associated with the property.
- schema
Item stringProp Link - URL encoded schema.org item prop link for the property.
- data_
source_ Sequence[Dataprecedence_ rules Source Precedence Response] - This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules.
- field_
name str - Name of the property.
- field_
type str - Type of the property.
- array_
value_ strseparator - Array value separator for properties with isArray set.
- enum_
valid_ Sequence[Profilevalues Enum Valid Values Format Response] - Describes valid values for an enum property.
- is_
array bool - Indicates if the property is actually an array of the fieldType above on the data api.
- is_
available_ boolin_ graph - Whether property is available in graph or not.
- is_
enum bool - Indicates if the property is an enum.
- is_
flag_ boolenum - Indicates if the property is an flag enum.
- is_
image bool - Whether the property is an Image.
- is_
localized_ boolstring - Whether the property is a localized string.
- is_
name bool - Whether the property is a name or a part of name.
- is_
required bool - Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- max_
length int - Max length of string. Used only if type is string.
- property_
id str - The ID associated with the property.
- schema_
item_ strprop_ link - URL encoded schema.org item prop link for the property.
- data
Source List<Property Map>Precedence Rules - This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules.
- field
Name String - Name of the property.
- field
Type String - Type of the property.
- array
Value StringSeparator - Array value separator for properties with isArray set.
- enum
Valid List<Property Map>Values - Describes valid values for an enum property.
- is
Array Boolean - Indicates if the property is actually an array of the fieldType above on the data api.
- is
Available BooleanIn Graph - Whether property is available in graph or not.
- is
Enum Boolean - Indicates if the property is an enum.
- is
Flag BooleanEnum - Indicates if the property is an flag enum.
- is
Image Boolean - Whether the property is an Image.
- is
Localized BooleanString - Whether the property is a localized string.
- is
Name Boolean - Whether the property is a name or a part of name.
- is
Required Boolean - Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- max
Length Number - Max length of string. Used only if type is string.
- property
Id String - The ID associated with the property.
- schema
Item StringProp Link - URL encoded schema.org item prop link for the property.
RelationshipTypeFieldMappingResponse
- Profile
Field stringName - Specifies the fieldName in profile.
- string
- Specifies the KeyProperty (from StrongId) of the related profile.
- Profile
Field stringName - Specifies the fieldName in profile.
- string
- Specifies the KeyProperty (from StrongId) of the related profile.
- profile
Field StringName - Specifies the fieldName in profile.
- String
- Specifies the KeyProperty (from StrongId) of the related profile.
- profile
Field stringName - Specifies the fieldName in profile.
- string
- Specifies the KeyProperty (from StrongId) of the related profile.
- profile_
field_ strname - Specifies the fieldName in profile.
- str
- Specifies the KeyProperty (from StrongId) of the related profile.
- profile
Field StringName - Specifies the fieldName in profile.
- String
- Specifies the KeyProperty (from StrongId) of the related profile.
RelationshipTypeMappingResponse
- Field
Mappings List<Pulumi.Azure Native. Customer Insights. Inputs. Relationship Type Field Mapping Response> - Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well.
- Field
Mappings []RelationshipType Field Mapping Response - Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well.
- field
Mappings List<RelationshipType Field Mapping Response> - Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well.
- field
Mappings RelationshipType Field Mapping Response[] - Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well.
- field_
mappings Sequence[RelationshipType Field Mapping Response] - Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well.
- field
Mappings List<Property Map> - Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi