This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.customerinsights.getProfile
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets information about the specified profile. Azure REST API version: 2017-04-26.
Using getProfile
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 getProfile(args: GetProfileArgs, opts?: InvokeOptions): Promise<GetProfileResult>
function getProfileOutput(args: GetProfileOutputArgs, opts?: InvokeOptions): Output<GetProfileResult>def get_profile(hub_name: Optional[str] = None,
                locale_code: Optional[str] = None,
                profile_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetProfileResult
def get_profile_output(hub_name: Optional[pulumi.Input[str]] = None,
                locale_code: Optional[pulumi.Input[str]] = None,
                profile_name: Optional[pulumi.Input[str]] = None,
                resource_group_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetProfileResult]func LookupProfile(ctx *Context, args *LookupProfileArgs, opts ...InvokeOption) (*LookupProfileResult, error)
func LookupProfileOutput(ctx *Context, args *LookupProfileOutputArgs, opts ...InvokeOption) LookupProfileResultOutput> Note: This function is named LookupProfile in the Go SDK.
public static class GetProfile 
{
    public static Task<GetProfileResult> InvokeAsync(GetProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetProfileResult> Invoke(GetProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
public static Output<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:customerinsights:getProfile
  arguments:
    # arguments dictionaryThe following arguments are supported:
- HubName string
- The name of the hub.
- ProfileName string
- The name of the profile.
- ResourceGroup stringName 
- The name of the resource group.
- LocaleCode string
- Locale of profile to retrieve, default is en-us.
- HubName string
- The name of the hub.
- ProfileName string
- The name of the profile.
- ResourceGroup stringName 
- The name of the resource group.
- LocaleCode string
- Locale of profile to retrieve, default is en-us.
- hubName String
- The name of the hub.
- profileName String
- The name of the profile.
- resourceGroup StringName 
- The name of the resource group.
- localeCode String
- Locale of profile to retrieve, default is en-us.
- hubName string
- The name of the hub.
- profileName string
- The name of the profile.
- resourceGroup stringName 
- The name of the resource group.
- localeCode string
- Locale of profile to retrieve, default is en-us.
- hub_name str
- The name of the hub.
- profile_name str
- The name of the profile.
- resource_group_ strname 
- The name of the resource group.
- locale_code str
- Locale of profile to retrieve, default is en-us.
- hubName String
- The name of the hub.
- profileName String
- The name of the profile.
- resourceGroup StringName 
- The name of the resource group.
- localeCode String
- Locale of profile to retrieve, default is en-us.
getProfile Result
The following output properties are available:
- Id string
- Resource ID.
- LastChanged stringUtc 
- The last changed time for the type definition.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning state.
- TenantId string
- The hub name.
- Type string
- Resource type.
- ApiEntity stringSet Name 
- The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
- Attributes
Dictionary<string, ImmutableArray<string>> 
- The attributes for the Type.
- Description Dictionary<string, string>
- Localized descriptions for the property.
- DisplayName Dictionary<string, string>
- Localized display names for the property.
- EntityType string
- Type of entity.
- Fields
List<Pulumi.Azure Native. Customer Insights. Outputs. Property Definition Response> 
- The properties of the Profile.
- InstancesCount int
- The instance count.
- LargeImage string
- Large Image associated with the Property or EntityType.
- LocalizedAttributes Dictionary<string, ImmutableDictionary<string, string>> 
- Any custom localized attributes for the Type.
- MediumImage string
- Medium Image associated with the Property or EntityType.
- SchemaItem stringType Link 
- The schema org link. This helps ACI identify and suggest semantic models.
- SmallImage string
- Small Image associated with the Property or EntityType.
- StrongIds List<Pulumi.Azure Native. Customer Insights. Outputs. Strong Id Response> 
- The strong IDs.
- TimestampField stringName 
- The timestamp property name. Represents the time when the interaction or profile update happened.
- TypeName string
- The name of the entity.
- Id string
- Resource ID.
- LastChanged stringUtc 
- The last changed time for the type definition.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning state.
- TenantId string
- The hub name.
- Type string
- Resource type.
- ApiEntity stringSet Name 
- The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
- Attributes map[string][]string
- The attributes for the Type.
- Description map[string]string
- Localized descriptions for the property.
- DisplayName map[string]string
- Localized display names for the property.
- EntityType string
- Type of entity.
- Fields
[]PropertyDefinition Response 
- The properties of the Profile.
- InstancesCount int
- The instance count.
- LargeImage string
- Large Image associated with the Property or EntityType.
- LocalizedAttributes map[string]map[string]string
- Any custom localized attributes for the Type.
- MediumImage string
- Medium Image associated with the Property or EntityType.
- SchemaItem stringType Link 
- The schema org link. This helps ACI identify and suggest semantic models.
- SmallImage string
- Small Image associated with the Property or EntityType.
- StrongIds []StrongId Response 
- The strong IDs.
- TimestampField stringName 
- The timestamp property name. Represents the time when the interaction or profile update happened.
- TypeName string
- The name of the entity.
- id String
- Resource ID.
- lastChanged StringUtc 
- The last changed time for the type definition.
- name String
- Resource name.
- provisioningState String
- Provisioning state.
- tenantId String
- The hub name.
- type String
- Resource type.
- apiEntity StringSet Name 
- The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
- attributes Map<String,List<String>>
- The attributes for the Type.
- description Map<String,String>
- Localized descriptions for the property.
- displayName Map<String,String>
- Localized display names for the property.
- entityType String
- Type of entity.
- fields
List<PropertyDefinition Response> 
- The properties of the Profile.
- instancesCount Integer
- The instance count.
- largeImage String
- Large Image associated with the Property or EntityType.
- localizedAttributes Map<String,Map<String,String>>
- Any custom localized attributes for the Type.
- mediumImage String
- Medium Image associated with the Property or EntityType.
- schemaItem StringType Link 
- The schema org link. This helps ACI identify and suggest semantic models.
- smallImage String
- Small Image associated with the Property or EntityType.
- strongIds List<StrongId Response> 
- The strong IDs.
- timestampField StringName 
- The timestamp property name. Represents the time when the interaction or profile update happened.
- typeName String
- The name of the entity.
- id string
- Resource ID.
- lastChanged stringUtc 
- The last changed time for the type definition.
- name string
- Resource name.
- provisioningState string
- Provisioning state.
- tenantId string
- The hub name.
- type string
- Resource type.
- apiEntity stringSet Name 
- The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
- attributes {[key: string]: string[]}
- The attributes for the Type.
- description {[key: string]: string}
- Localized descriptions for the property.
- displayName {[key: string]: string}
- Localized display names for the property.
- entityType string
- Type of entity.
- fields
PropertyDefinition Response[] 
- The properties of the Profile.
- instancesCount number
- The instance count.
- largeImage string
- Large Image associated with the Property or EntityType.
- localizedAttributes {[key: string]: {[key: string]: string}}
- Any custom localized attributes for the Type.
- mediumImage string
- Medium Image associated with the Property or EntityType.
- schemaItem stringType Link 
- The schema org link. This helps ACI identify and suggest semantic models.
- smallImage string
- Small Image associated with the Property or EntityType.
- strongIds StrongId Response[] 
- The strong IDs.
- timestampField stringName 
- The timestamp property name. Represents the time when the interaction or profile update happened.
- typeName string
- The name of the entity.
- id str
- Resource ID.
- last_changed_ strutc 
- The last changed time for the type definition.
- name str
- Resource name.
- provisioning_state str
- Provisioning state.
- tenant_id str
- The hub name.
- type str
- Resource type.
- api_entity_ strset_ name 
- The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
- attributes Mapping[str, Sequence[str]]
- The attributes for the Type.
- description Mapping[str, str]
- Localized descriptions for the property.
- display_name Mapping[str, str]
- Localized display names for the property.
- entity_type str
- Type of entity.
- fields
Sequence[PropertyDefinition Response] 
- The properties of the Profile.
- instances_count int
- The instance count.
- large_image str
- Large Image associated with the Property or EntityType.
- localized_attributes Mapping[str, Mapping[str, str]]
- Any custom localized attributes for the Type.
- medium_image str
- Medium Image associated with the Property or EntityType.
- schema_item_ strtype_ link 
- The schema org link. This helps ACI identify and suggest semantic models.
- small_image str
- Small Image associated with the Property or EntityType.
- strong_ids Sequence[StrongId Response] 
- The strong IDs.
- timestamp_field_ strname 
- The timestamp property name. Represents the time when the interaction or profile update happened.
- type_name str
- The name of the entity.
- id String
- Resource ID.
- lastChanged StringUtc 
- The last changed time for the type definition.
- name String
- Resource name.
- provisioningState String
- Provisioning state.
- tenantId String
- The hub name.
- type String
- Resource type.
- apiEntity StringSet Name 
- The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
- attributes Map<List<String>>
- The attributes for the Type.
- description Map<String>
- Localized descriptions for the property.
- displayName Map<String>
- Localized display names for the property.
- entityType String
- Type of entity.
- fields List<Property Map>
- The properties of the Profile.
- instancesCount Number
- The instance count.
- largeImage String
- Large Image associated with the Property or EntityType.
- localizedAttributes Map<Map<String>>
- Any custom localized attributes for the Type.
- mediumImage String
- Medium Image associated with the Property or EntityType.
- schemaItem StringType Link 
- The schema org link. This helps ACI identify and suggest semantic models.
- smallImage String
- Small Image associated with the Property or EntityType.
- strongIds List<Property Map>
- The strong IDs.
- timestampField StringName 
- The timestamp property name. Represents the time when the interaction or profile update happened.
- typeName String
- The name of the entity.
Supporting Types
DataSourcePrecedenceResponse   
- DataSource stringReference Id 
- The data source reference id.
- DataSource 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.
- DataSource stringReference Id 
- The data source reference id.
- DataSource 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.
- dataSource StringReference Id 
- The data source reference id.
- dataSource 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.
- dataSource stringReference Id 
- The data source reference id.
- dataSource 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.
- dataSource StringReference Id 
- The data source reference id.
- dataSource 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     
- LocalizedValue Dictionary<string, string>Names 
- Localized names of the enum member.
- Value int
- The integer value of the enum member.
- LocalizedValue map[string]stringNames 
- Localized names of the enum member.
- Value int
- The integer value of the enum member.
- localizedValue Map<String,String>Names 
- Localized names of the enum member.
- value Integer
- The integer value of the enum member.
- localizedValue {[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.
- localizedValue Map<String>Names 
- Localized names of the enum member.
- value Number
- The integer value of the enum member.
PropertyDefinitionResponse  
- DataSource 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.
- FieldName string
- Name of the property.
- FieldType string
- Type of the property.
- ArrayValue stringSeparator 
- Array value separator for properties with isArray set.
- EnumValid List<Pulumi.Values Azure Native. Customer Insights. Inputs. Profile Enum Valid Values Format Response> 
- Describes valid values for an enum property.
- IsArray bool
- Indicates if the property is actually an array of the fieldType above on the data api.
- IsAvailable boolIn Graph 
- Whether property is available in graph or not.
- IsEnum bool
- Indicates if the property is an enum.
- IsFlag boolEnum 
- Indicates if the property is an flag enum.
- IsImage bool
- Whether the property is an Image.
- IsLocalized boolString 
- Whether the property is a localized string.
- IsName bool
- Whether the property is a name or a part of name.
- IsRequired bool
- Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- MaxLength int
- Max length of string. Used only if type is string.
- PropertyId string
- The ID associated with the property.
- SchemaItem stringProp Link 
- URL encoded schema.org item prop link for the property.
- DataSource []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.
- FieldName string
- Name of the property.
- FieldType string
- Type of the property.
- ArrayValue stringSeparator 
- Array value separator for properties with isArray set.
- EnumValid []ProfileValues Enum Valid Values Format Response 
- Describes valid values for an enum property.
- IsArray bool
- Indicates if the property is actually an array of the fieldType above on the data api.
- IsAvailable boolIn Graph 
- Whether property is available in graph or not.
- IsEnum bool
- Indicates if the property is an enum.
- IsFlag boolEnum 
- Indicates if the property is an flag enum.
- IsImage bool
- Whether the property is an Image.
- IsLocalized boolString 
- Whether the property is a localized string.
- IsName bool
- Whether the property is a name or a part of name.
- IsRequired bool
- Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- MaxLength int
- Max length of string. Used only if type is string.
- PropertyId string
- The ID associated with the property.
- SchemaItem stringProp Link 
- URL encoded schema.org item prop link for the property.
- dataSource 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.
- fieldName String
- Name of the property.
- fieldType String
- Type of the property.
- arrayValue StringSeparator 
- Array value separator for properties with isArray set.
- enumValid List<ProfileValues Enum Valid Values Format Response> 
- Describes valid values for an enum property.
- isArray Boolean
- Indicates if the property is actually an array of the fieldType above on the data api.
- isAvailable BooleanIn Graph 
- Whether property is available in graph or not.
- isEnum Boolean
- Indicates if the property is an enum.
- isFlag BooleanEnum 
- Indicates if the property is an flag enum.
- isImage Boolean
- Whether the property is an Image.
- isLocalized BooleanString 
- Whether the property is a localized string.
- isName Boolean
- Whether the property is a name or a part of name.
- isRequired Boolean
- Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- maxLength Integer
- Max length of string. Used only if type is string.
- propertyId String
- The ID associated with the property.
- schemaItem StringProp Link 
- URL encoded schema.org item prop link for the property.
- dataSource 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.
- fieldName string
- Name of the property.
- fieldType string
- Type of the property.
- arrayValue stringSeparator 
- Array value separator for properties with isArray set.
- enumValid ProfileValues Enum Valid Values Format Response[] 
- Describes valid values for an enum property.
- isArray boolean
- Indicates if the property is actually an array of the fieldType above on the data api.
- isAvailable booleanIn Graph 
- Whether property is available in graph or not.
- isEnum boolean
- Indicates if the property is an enum.
- isFlag booleanEnum 
- Indicates if the property is an flag enum.
- isImage boolean
- Whether the property is an Image.
- isLocalized booleanString 
- Whether the property is a localized string.
- isName boolean
- Whether the property is a name or a part of name.
- isRequired boolean
- Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- maxLength number
- Max length of string. Used only if type is string.
- propertyId string
- The ID associated with the property.
- schemaItem 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.
- dataSource 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.
- fieldName String
- Name of the property.
- fieldType String
- Type of the property.
- arrayValue StringSeparator 
- Array value separator for properties with isArray set.
- enumValid List<Property Map>Values 
- Describes valid values for an enum property.
- isArray Boolean
- Indicates if the property is actually an array of the fieldType above on the data api.
- isAvailable BooleanIn Graph 
- Whether property is available in graph or not.
- isEnum Boolean
- Indicates if the property is an enum.
- isFlag BooleanEnum 
- Indicates if the property is an flag enum.
- isImage Boolean
- Whether the property is an Image.
- isLocalized BooleanString 
- Whether the property is a localized string.
- isName Boolean
- Whether the property is a name or a part of name.
- isRequired Boolean
- Whether property value is required on instances, IsRequired field only for Interaction. Profile Instance will not check for required field.
- maxLength Number
- Max length of string. Used only if type is string.
- propertyId String
- The ID associated with the property.
- schemaItem StringProp Link 
- URL encoded schema.org item prop link for the property.
StrongIdResponse  
- KeyProperty List<string>Names 
- The properties which make up the unique ID.
- StrongId stringName 
- The Name identifying the strong ID.
- Description Dictionary<string, string>
- Localized descriptions.
- DisplayName Dictionary<string, string>
- Localized display name.
- KeyProperty []stringNames 
- The properties which make up the unique ID.
- StrongId stringName 
- The Name identifying the strong ID.
- Description map[string]string
- Localized descriptions.
- DisplayName map[string]string
- Localized display name.
- keyProperty List<String>Names 
- The properties which make up the unique ID.
- strongId StringName 
- The Name identifying the strong ID.
- description Map<String,String>
- Localized descriptions.
- displayName Map<String,String>
- Localized display name.
- keyProperty string[]Names 
- The properties which make up the unique ID.
- strongId stringName 
- The Name identifying the strong ID.
- description {[key: string]: string}
- Localized descriptions.
- displayName {[key: string]: string}
- Localized display name.
- key_property_ Sequence[str]names 
- The properties which make up the unique ID.
- strong_id_ strname 
- The Name identifying the strong ID.
- description Mapping[str, str]
- Localized descriptions.
- display_name Mapping[str, str]
- Localized display name.
- keyProperty List<String>Names 
- The properties which make up the unique ID.
- strongId StringName 
- The Name identifying the strong ID.
- description Map<String>
- Localized descriptions.
- displayName Map<String>
- Localized display name.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi