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.73.0 published on Wednesday, Nov 20, 2024 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.73.0 published on Wednesday, Nov 20, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:customerinsights:getProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Hub
Name string - The name of the hub.
- Profile
Name string - The name of the profile.
- Resource
Group stringName - The name of the resource group.
- Locale
Code string - Locale of profile to retrieve, default is en-us.
- Hub
Name string - The name of the hub.
- Profile
Name string - The name of the profile.
- Resource
Group stringName - The name of the resource group.
- Locale
Code string - Locale of profile to retrieve, default is en-us.
- hub
Name String - The name of the hub.
- profile
Name String - The name of the profile.
- resource
Group StringName - The name of the resource group.
- locale
Code String - Locale of profile to retrieve, default is en-us.
- hub
Name string - The name of the hub.
- profile
Name string - The name of the profile.
- resource
Group stringName - The name of the resource group.
- locale
Code 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.
- hub
Name String - The name of the hub.
- profile
Name String - The name of the profile.
- resource
Group StringName - The name of the resource group.
- locale
Code String - Locale of profile to retrieve, default is en-us.
getProfile Result
The following output properties are available:
- Id string
- Resource ID.
- Last
Changed stringUtc - The last changed time for the type definition.
- Name string
- Resource name.
- Provisioning
State string - Provisioning state.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Api
Entity 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, Immutable
Array<string>> - The attributes for the Type.
- Description Dictionary<string, string>
- Localized descriptions for the property.
- Display
Name Dictionary<string, string> - Localized display names for the property.
- Entity
Type string - Type of entity.
- Fields
List<Pulumi.
Azure Native. Customer Insights. Outputs. Property Definition Response> - The properties of the Profile.
- Instances
Count int - The instance count.
- Large
Image string - Large Image associated with the Property or EntityType.
- Localized
Attributes Dictionary<string, ImmutableDictionary<string, string>> - Any custom localized attributes for the Type.
- Medium
Image string - Medium Image associated with the Property or EntityType.
- Schema
Item stringType Link - The schema org link. This helps ACI identify and suggest semantic models.
- Small
Image string - Small Image associated with the Property or EntityType.
- Strong
Ids List<Pulumi.Azure Native. Customer Insights. Outputs. Strong Id Response> - The strong IDs.
- Timestamp
Field stringName - The timestamp property name. Represents the time when the interaction or profile update happened.
- Type
Name string - The name of the entity.
- Id string
- Resource ID.
- Last
Changed stringUtc - The last changed time for the type definition.
- Name string
- Resource name.
- Provisioning
State string - Provisioning state.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Api
Entity 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.
- Display
Name map[string]string - Localized display names for the property.
- Entity
Type string - Type of entity.
- Fields
[]Property
Definition Response - The properties of the Profile.
- Instances
Count int - The instance count.
- Large
Image string - Large Image associated with the Property or EntityType.
- Localized
Attributes map[string]map[string]string - Any custom localized attributes for the Type.
- Medium
Image string - Medium Image associated with the Property or EntityType.
- Schema
Item stringType Link - The schema org link. This helps ACI identify and suggest semantic models.
- Small
Image string - Small Image associated with the Property or EntityType.
- Strong
Ids []StrongId Response - The strong IDs.
- Timestamp
Field stringName - The timestamp property name. Represents the time when the interaction or profile update happened.
- Type
Name string - The name of the entity.
- id String
- Resource ID.
- last
Changed StringUtc - The last changed time for the type definition.
- name String
- Resource name.
- provisioning
State String - Provisioning state.
- tenant
Id String - The hub name.
- type String
- Resource type.
- api
Entity 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.
- display
Name Map<String,String> - Localized display names for the property.
- entity
Type String - Type of entity.
- fields
List<Property
Definition Response> - The properties of the Profile.
- instances
Count Integer - The instance count.
- large
Image String - Large Image associated with the Property or EntityType.
- localized
Attributes Map<String,Map<String,String>> - Any custom localized attributes for the Type.
- medium
Image String - Medium Image associated with the Property or EntityType.
- schema
Item StringType Link - The schema org link. This helps ACI identify and suggest semantic models.
- small
Image String - Small Image associated with the Property or EntityType.
- strong
Ids List<StrongId Response> - The strong IDs.
- timestamp
Field StringName - The timestamp property name. Represents the time when the interaction or profile update happened.
- type
Name String - The name of the entity.
- id string
- Resource ID.
- last
Changed stringUtc - The last changed time for the type definition.
- name string
- Resource name.
- provisioning
State string - Provisioning state.
- tenant
Id string - The hub name.
- type string
- Resource type.
- api
Entity 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.
- display
Name {[key: string]: string} - Localized display names for the property.
- entity
Type string - Type of entity.
- fields
Property
Definition Response[] - The properties of the Profile.
- instances
Count number - The instance count.
- large
Image string - Large Image associated with the Property or EntityType.
- localized
Attributes {[key: string]: {[key: string]: string}} - Any custom localized attributes for the Type.
- medium
Image string - Medium Image associated with the Property or EntityType.
- schema
Item stringType Link - The schema org link. This helps ACI identify and suggest semantic models.
- small
Image string - Small Image associated with the Property or EntityType.
- strong
Ids StrongId Response[] - The strong IDs.
- timestamp
Field stringName - The timestamp property name. Represents the time when the interaction or profile update happened.
- type
Name 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[Property
Definition 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.
- last
Changed StringUtc - The last changed time for the type definition.
- name String
- Resource name.
- provisioning
State String - Provisioning state.
- tenant
Id String - The hub name.
- type String
- Resource type.
- api
Entity 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.
- display
Name Map<String> - Localized display names for the property.
- entity
Type String - Type of entity.
- fields List<Property Map>
- The properties of the Profile.
- instances
Count Number - The instance count.
- large
Image String - Large Image associated with the Property or EntityType.
- localized
Attributes Map<Map<String>> - Any custom localized attributes for the Type.
- medium
Image String - Medium Image associated with the Property or EntityType.
- schema
Item StringType Link - The schema org link. This helps ACI identify and suggest semantic models.
- small
Image String - Small Image associated with the Property or EntityType.
- strong
Ids List<Property Map> - The strong IDs.
- timestamp
Field StringName - The timestamp property name. Represents the time when the interaction or profile update happened.
- type
Name String - The name of the entity.
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.
StrongIdResponse
- Key
Property List<string>Names - The properties which make up the unique ID.
- Strong
Id stringName - The Name identifying the strong ID.
- Description Dictionary<string, string>
- Localized descriptions.
- Display
Name Dictionary<string, string> - Localized display name.
- Key
Property []stringNames - The properties which make up the unique ID.
- Strong
Id stringName - The Name identifying the strong ID.
- Description map[string]string
- Localized descriptions.
- Display
Name map[string]string - Localized display name.
- key
Property List<String>Names - The properties which make up the unique ID.
- strong
Id StringName - The Name identifying the strong ID.
- description Map<String,String>
- Localized descriptions.
- display
Name Map<String,String> - Localized display name.
- key
Property string[]Names - The properties which make up the unique ID.
- strong
Id stringName - The Name identifying the strong ID.
- description {[key: string]: string}
- Localized descriptions.
- display
Name {[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.
- key
Property List<String>Names - The properties which make up the unique ID.
- strong
Id StringName - The Name identifying the strong ID.
- description Map<String>
- Localized descriptions.
- display
Name 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi