azure-native.customerinsights.Relationship
Explore with Pulumi AI
The relationship resource format.
Uses Azure REST API version 2017-04-26. In version 2.x of the Azure Native provider, it used API version 2017-04-26.
Create Relationship Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Relationship(name: string, args: RelationshipArgs, opts?: CustomResourceOptions);
@overload
def Relationship(resource_name: str,
args: RelationshipArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Relationship(resource_name: str,
opts: Optional[ResourceOptions] = None,
hub_name: Optional[str] = None,
profile_type: Optional[str] = None,
related_profile_type: Optional[str] = None,
resource_group_name: Optional[str] = None,
cardinality: Optional[CardinalityTypes] = None,
description: Optional[Mapping[str, str]] = None,
display_name: Optional[Mapping[str, str]] = None,
expiry_date_time_utc: Optional[str] = None,
fields: Optional[Sequence[PropertyDefinitionArgs]] = None,
lookup_mappings: Optional[Sequence[RelationshipTypeMappingArgs]] = None,
relationship_name: Optional[str] = None)
func NewRelationship(ctx *Context, name string, args RelationshipArgs, opts ...ResourceOption) (*Relationship, error)
public Relationship(string name, RelationshipArgs args, CustomResourceOptions? opts = null)
public Relationship(String name, RelationshipArgs args)
public Relationship(String name, RelationshipArgs args, CustomResourceOptions options)
type: azure-native:customerinsights:Relationship
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. RelationshipArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. RelationshipArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. RelationshipArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. RelationshipArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. RelationshipArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var relationshipResource = new AzureNative.CustomerInsights.Relationship("relationshipResource", new()
{
HubName = "string",
ProfileType = "string",
RelatedProfileType = "string",
ResourceGroupName = "string",
Cardinality = AzureNative.CustomerInsights.CardinalityTypes.OneToOne,
Description =
{
{ "string", "string" },
},
DisplayName =
{
{ "string", "string" },
},
ExpiryDateTimeUtc = "string",
Fields = new[]
{
new AzureNative.CustomerInsights.Inputs.PropertyDefinitionArgs
{
FieldName = "string",
FieldType = "string",
IsEnum = false,
EnumValidValues = new[]
{
new AzureNative.CustomerInsights.Inputs.ProfileEnumValidValuesFormatArgs
{
LocalizedValueNames =
{
{ "string", "string" },
},
Value = 0,
},
},
IsArray = false,
IsAvailableInGraph = false,
ArrayValueSeparator = "string",
IsFlagEnum = false,
IsImage = false,
IsLocalizedString = false,
IsName = false,
IsRequired = false,
MaxLength = 0,
PropertyId = "string",
SchemaItemPropLink = "string",
},
},
LookupMappings = new[]
{
new AzureNative.CustomerInsights.Inputs.RelationshipTypeMappingArgs
{
FieldMappings = new[]
{
new AzureNative.CustomerInsights.Inputs.RelationshipTypeFieldMappingArgs
{
ProfileFieldName = "string",
RelatedProfileKeyProperty = "string",
},
},
},
},
RelationshipName = "string",
});
example, err := customerinsights.NewRelationship(ctx, "relationshipResource", &customerinsights.RelationshipArgs{
HubName: pulumi.String("string"),
ProfileType: pulumi.String("string"),
RelatedProfileType: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Cardinality: customerinsights.CardinalityTypesOneToOne,
Description: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.StringMap{
"string": pulumi.String("string"),
},
ExpiryDateTimeUtc: pulumi.String("string"),
Fields: customerinsights.PropertyDefinitionArray{
&customerinsights.PropertyDefinitionArgs{
FieldName: pulumi.String("string"),
FieldType: pulumi.String("string"),
IsEnum: pulumi.Bool(false),
EnumValidValues: customerinsights.ProfileEnumValidValuesFormatArray{
&customerinsights.ProfileEnumValidValuesFormatArgs{
LocalizedValueNames: pulumi.StringMap{
"string": pulumi.String("string"),
},
Value: pulumi.Int(0),
},
},
IsArray: pulumi.Bool(false),
IsAvailableInGraph: pulumi.Bool(false),
ArrayValueSeparator: pulumi.String("string"),
IsFlagEnum: pulumi.Bool(false),
IsImage: pulumi.Bool(false),
IsLocalizedString: pulumi.Bool(false),
IsName: pulumi.Bool(false),
IsRequired: pulumi.Bool(false),
MaxLength: pulumi.Int(0),
PropertyId: pulumi.String("string"),
SchemaItemPropLink: pulumi.String("string"),
},
},
LookupMappings: customerinsights.RelationshipTypeMappingArray{
&customerinsights.RelationshipTypeMappingArgs{
FieldMappings: customerinsights.RelationshipTypeFieldMappingArray{
&customerinsights.RelationshipTypeFieldMappingArgs{
ProfileFieldName: pulumi.String("string"),
RelatedProfileKeyProperty: pulumi.String("string"),
},
},
},
},
RelationshipName: pulumi.String("string"),
})
var relationshipResource = new Relationship("relationshipResource", RelationshipArgs.builder()
.hubName("string")
.profileType("string")
.relatedProfileType("string")
.resourceGroupName("string")
.cardinality("OneToOne")
.description(Map.of("string", "string"))
.displayName(Map.of("string", "string"))
.expiryDateTimeUtc("string")
.fields(PropertyDefinitionArgs.builder()
.fieldName("string")
.fieldType("string")
.isEnum(false)
.enumValidValues(ProfileEnumValidValuesFormatArgs.builder()
.localizedValueNames(Map.of("string", "string"))
.value(0)
.build())
.isArray(false)
.isAvailableInGraph(false)
.arrayValueSeparator("string")
.isFlagEnum(false)
.isImage(false)
.isLocalizedString(false)
.isName(false)
.isRequired(false)
.maxLength(0)
.propertyId("string")
.schemaItemPropLink("string")
.build())
.lookupMappings(RelationshipTypeMappingArgs.builder()
.fieldMappings(RelationshipTypeFieldMappingArgs.builder()
.profileFieldName("string")
.relatedProfileKeyProperty("string")
.build())
.build())
.relationshipName("string")
.build());
relationship_resource = azure_native.customerinsights.Relationship("relationshipResource",
hub_name="string",
profile_type="string",
related_profile_type="string",
resource_group_name="string",
cardinality=azure_native.customerinsights.CardinalityTypes.ONE_TO_ONE,
description={
"string": "string",
},
display_name={
"string": "string",
},
expiry_date_time_utc="string",
fields=[{
"field_name": "string",
"field_type": "string",
"is_enum": False,
"enum_valid_values": [{
"localized_value_names": {
"string": "string",
},
"value": 0,
}],
"is_array": False,
"is_available_in_graph": False,
"array_value_separator": "string",
"is_flag_enum": False,
"is_image": False,
"is_localized_string": False,
"is_name": False,
"is_required": False,
"max_length": 0,
"property_id": "string",
"schema_item_prop_link": "string",
}],
lookup_mappings=[{
"field_mappings": [{
"profile_field_name": "string",
"related_profile_key_property": "string",
}],
}],
relationship_name="string")
const relationshipResource = new azure_native.customerinsights.Relationship("relationshipResource", {
hubName: "string",
profileType: "string",
relatedProfileType: "string",
resourceGroupName: "string",
cardinality: azure_native.customerinsights.CardinalityTypes.OneToOne,
description: {
string: "string",
},
displayName: {
string: "string",
},
expiryDateTimeUtc: "string",
fields: [{
fieldName: "string",
fieldType: "string",
isEnum: false,
enumValidValues: [{
localizedValueNames: {
string: "string",
},
value: 0,
}],
isArray: false,
isAvailableInGraph: false,
arrayValueSeparator: "string",
isFlagEnum: false,
isImage: false,
isLocalizedString: false,
isName: false,
isRequired: false,
maxLength: 0,
propertyId: "string",
schemaItemPropLink: "string",
}],
lookupMappings: [{
fieldMappings: [{
profileFieldName: "string",
relatedProfileKeyProperty: "string",
}],
}],
relationshipName: "string",
});
type: azure-native:customerinsights:Relationship
properties:
cardinality: OneToOne
description:
string: string
displayName:
string: string
expiryDateTimeUtc: string
fields:
- arrayValueSeparator: string
enumValidValues:
- localizedValueNames:
string: string
value: 0
fieldName: string
fieldType: string
isArray: false
isAvailableInGraph: false
isEnum: false
isFlagEnum: false
isImage: false
isLocalizedString: false
isName: false
isRequired: false
maxLength: 0
propertyId: string
schemaItemPropLink: string
hubName: string
lookupMappings:
- fieldMappings:
- profileFieldName: string
relatedProfileKeyProperty: string
profileType: string
relatedProfileType: string
relationshipName: string
resourceGroupName: string
Relationship Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Relationship resource accepts the following input properties:
- Hub
Name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- Profile
Type This property is required. string - Profile type.
This property is required. string- Related profile being referenced.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Cardinality
Pulumi.
Azure Native. Customer Insights. Cardinality Types - 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. Inputs. Property Definition> - The properties of the Relationship.
- Lookup
Mappings List<Pulumi.Azure Native. Customer Insights. Inputs. Relationship Type Mapping> - Optional property to be used to map fields in profile to their strong ids in related profile.
- Relationship
Name Changes to this property will trigger replacement.
- The name of the Relationship.
- Hub
Name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- Profile
Type This property is required. string - Profile type.
This property is required. string- Related profile being referenced.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Cardinality
Cardinality
Types - 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 Args - The properties of the Relationship.
- Lookup
Mappings []RelationshipType Mapping Args - Optional property to be used to map fields in profile to their strong ids in related profile.
- Relationship
Name Changes to this property will trigger replacement.
- The name of the Relationship.
- hub
Name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- profile
Type This property is required. String - Profile type.
This property is required. String- Related profile being referenced.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- cardinality
Cardinality
Types - 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> - The properties of the Relationship.
- lookup
Mappings List<RelationshipType Mapping> - Optional property to be used to map fields in profile to their strong ids in related profile.
- relationship
Name Changes to this property will trigger replacement.
- The name of the Relationship.
- hub
Name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- profile
Type This property is required. string - Profile type.
This property is required. string- Related profile being referenced.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- cardinality
Cardinality
Types - 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[] - The properties of the Relationship.
- lookup
Mappings RelationshipType Mapping[] - Optional property to be used to map fields in profile to their strong ids in related profile.
- relationship
Name Changes to this property will trigger replacement.
- The name of the Relationship.
- hub_
name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- profile_
type This property is required. str - Profile type.
This property is required. str- Related profile being referenced.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- cardinality
Cardinality
Types - 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 Args] - The properties of the Relationship.
- lookup_
mappings Sequence[RelationshipType Mapping Args] - Optional property to be used to map fields in profile to their strong ids in related profile.
- relationship_
name Changes to this property will trigger replacement.
- The name of the Relationship.
- hub
Name This property is required. Changes to this property will trigger replacement.
- The name of the hub.
- profile
Type This property is required. String - Profile type.
This property is required. String- Related profile being referenced.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- cardinality
"One
To One" | "One To Many" | "Many To Many" - 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.
- relationship
Name Changes to this property will trigger replacement.
- The name of the Relationship.
Outputs
All input properties are implicitly available as output properties. Additionally, the Relationship resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Provisioning
State string - Provisioning state.
- Relationship
Guid stringId - The relationship guid id.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Provisioning
State string - Provisioning state.
- Relationship
Guid stringId - The relationship guid id.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioning
State String - Provisioning state.
- relationship
Guid StringId - The relationship guid id.
- tenant
Id String - The hub name.
- type String
- Resource type.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- provisioning
State string - Provisioning state.
- relationship
Guid stringId - The relationship guid id.
- tenant
Id string - The hub name.
- type string
- Resource type.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- provisioning_
state str - Provisioning state.
- relationship_
guid_ strid - The relationship guid id.
- tenant_
id str - The hub name.
- type str
- Resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioning
State String - Provisioning state.
- relationship
Guid StringId - The relationship guid id.
- tenant
Id String - The hub name.
- type String
- Resource type.
Supporting Types
CardinalityTypes, CardinalityTypesArgs
- One
To One - OneToOne
- One
To Many - OneToMany
- Many
To Many - ManyToMany
- Cardinality
Types One To One - OneToOne
- Cardinality
Types One To Many - OneToMany
- Cardinality
Types Many To Many - ManyToMany
- One
To One - OneToOne
- One
To Many - OneToMany
- Many
To Many - ManyToMany
- One
To One - OneToOne
- One
To Many - OneToMany
- Many
To Many - ManyToMany
- ONE_TO_ONE
- OneToOne
- ONE_TO_MANY
- OneToMany
- MANY_TO_MANY
- ManyToMany
- "One
To One" - OneToOne
- "One
To Many" - OneToMany
- "Many
To Many" - ManyToMany
DataSourcePrecedenceResponse, DataSourcePrecedenceResponseArgs
- Data
Source Reference Id This property is required. string - The data source reference id.
- Data
Source Type This property is required. string - The data source type.
- Id
This property is required. int - The data source ID.
- Name
This property is required. string - The data source name
- Status
This property is required. string - The data source status.
- Precedence int
- the precedence value.
- Data
Source Reference Id This property is required. string - The data source reference id.
- Data
Source Type This property is required. string - The data source type.
- Id
This property is required. int - The data source ID.
- Name
This property is required. string - The data source name
- Status
This property is required. string - The data source status.
- Precedence int
- the precedence value.
- data
Source Reference Id This property is required. String - The data source reference id.
- data
Source Type This property is required. String - The data source type.
- id
This property is required. Integer - The data source ID.
- name
This property is required. String - The data source name
- status
This property is required. String - The data source status.
- precedence Integer
- the precedence value.
- data
Source Reference Id This property is required. string - The data source reference id.
- data
Source Type This property is required. string - The data source type.
- id
This property is required. number - The data source ID.
- name
This property is required. string - The data source name
- status
This property is required. string - The data source status.
- precedence number
- the precedence value.
- data_
source_ reference_ id This property is required. str - The data source reference id.
- data_
source_ type This property is required. str - The data source type.
- id
This property is required. int - The data source ID.
- name
This property is required. str - The data source name
- status
This property is required. str - The data source status.
- precedence int
- the precedence value.
- data
Source Reference Id This property is required. String - The data source reference id.
- data
Source Type This property is required. String - The data source type.
- id
This property is required. Number - The data source ID.
- name
This property is required. String - The data source name
- status
This property is required. String - The data source status.
- precedence Number
- the precedence value.
ProfileEnumValidValuesFormat, ProfileEnumValidValuesFormatArgs
- 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.
ProfileEnumValidValuesFormatResponse, ProfileEnumValidValuesFormatResponseArgs
- 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.
PropertyDefinition, PropertyDefinitionArgs
- Field
Name This property is required. string - Name of the property.
- Field
Type This property is required. 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> - 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.
- Field
Name This property is required. string - Name of the property.
- Field
Type This property is required. string - Type of the property.
- Array
Value stringSeparator - Array value separator for properties with isArray set.
- Enum
Valid []ProfileValues Enum Valid Values Format - 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.
- field
Name This property is required. String - Name of the property.
- field
Type This property is required. String - Type of the property.
- array
Value StringSeparator - Array value separator for properties with isArray set.
- enum
Valid List<ProfileValues Enum Valid Values Format> - 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.
- field
Name This property is required. string - Name of the property.
- field
Type This property is required. string - Type of the property.
- array
Value stringSeparator - Array value separator for properties with isArray set.
- enum
Valid ProfileValues Enum Valid Values Format[] - 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.
- field_
name This property is required. str - Name of the property.
- field_
type This property is required. str - Type of the property.
- array_
value_ strseparator - Array value separator for properties with isArray set.
- enum_
valid_ Sequence[Profilevalues Enum Valid Values Format] - 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.
- field
Name This property is required. String - Name of the property.
- field
Type This property is required. 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.
PropertyDefinitionResponse, PropertyDefinitionResponseArgs
- Data
Source Precedence Rules This property is required. List<Pulumi.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 This property is required. string - Name of the property.
- Field
Type This property is required. 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 Precedence Rules This property is required. []DataSource 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 This property is required. string - Name of the property.
- Field
Type This property is required. 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 Precedence Rules This property is required. List<DataSource 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 This property is required. String - Name of the property.
- field
Type This property is required. 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 Precedence Rules This property is required. DataSource 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 This property is required. string - Name of the property.
- field
Type This property is required. 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_ precedence_ rules This property is required. Sequence[DataSource 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 This property is required. str - Name of the property.
- field_
type This property is required. 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 Precedence Rules This property is required. List<Property Map> - 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 This property is required. String - Name of the property.
- field
Type This property is required. 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.
RelationshipTypeFieldMapping, RelationshipTypeFieldMappingArgs
- Profile
Field Name This property is required. string - Specifies the fieldName in profile.
This property is required. string- Specifies the KeyProperty (from StrongId) of the related profile.
- Profile
Field Name This property is required. string - Specifies the fieldName in profile.
This property is required. string- Specifies the KeyProperty (from StrongId) of the related profile.
- profile
Field Name This property is required. String - Specifies the fieldName in profile.
This property is required. String- Specifies the KeyProperty (from StrongId) of the related profile.
- profile
Field Name This property is required. string - Specifies the fieldName in profile.
This property is required. string- Specifies the KeyProperty (from StrongId) of the related profile.
- profile_
field_ name This property is required. str - Specifies the fieldName in profile.
This property is required. str- Specifies the KeyProperty (from StrongId) of the related profile.
- profile
Field Name This property is required. String - Specifies the fieldName in profile.
This property is required. String- Specifies the KeyProperty (from StrongId) of the related profile.
RelationshipTypeFieldMappingResponse, RelationshipTypeFieldMappingResponseArgs
- Profile
Field Name This property is required. string - Specifies the fieldName in profile.
This property is required. string- Specifies the KeyProperty (from StrongId) of the related profile.
- Profile
Field Name This property is required. string - Specifies the fieldName in profile.
This property is required. string- Specifies the KeyProperty (from StrongId) of the related profile.
- profile
Field Name This property is required. String - Specifies the fieldName in profile.
This property is required. String- Specifies the KeyProperty (from StrongId) of the related profile.
- profile
Field Name This property is required. string - Specifies the fieldName in profile.
This property is required. string- Specifies the KeyProperty (from StrongId) of the related profile.
- profile_
field_ name This property is required. str - Specifies the fieldName in profile.
This property is required. str- Specifies the KeyProperty (from StrongId) of the related profile.
- profile
Field Name This property is required. String - Specifies the fieldName in profile.
This property is required. String- Specifies the KeyProperty (from StrongId) of the related profile.
RelationshipTypeMapping, RelationshipTypeMappingArgs
- Field
Mappings This property is required. List<Pulumi.Azure Native. Customer Insights. Inputs. Relationship Type Field Mapping> - 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 This property is required. []RelationshipType Field Mapping - 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 This property is required. List<RelationshipType Field Mapping> - 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 This property is required. RelationshipType Field Mapping[] - 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 This property is required. Sequence[RelationshipType Field Mapping] - 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 This property is required. 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.
RelationshipTypeMappingResponse, RelationshipTypeMappingResponseArgs
- Field
Mappings This property is required. 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 This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:customerinsights:Relationship sdkTestHub/testProfile2326994 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships/{relationshipName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0