ProfileArgs

data class ProfileArgs(val apiEntitySetName: Output<String>? = null, val attributes: Output<Map<String, List<String>>>? = null, val description: Output<Map<String, String>>? = null, val displayName: Output<Map<String, String>>? = null, val entityType: Output<EntityTypes>? = null, val fields: Output<List<PropertyDefinitionArgs>>? = null, val hubName: Output<String>? = null, val instancesCount: Output<Int>? = null, val largeImage: Output<String>? = null, val localizedAttributes: Output<Map<String, Map<String, String>>>? = null, val mediumImage: Output<String>? = null, val profileName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val schemaItemTypeLink: Output<String>? = null, val smallImage: Output<String>? = null, val strongIds: Output<List<StrongIdArgs>>? = null, val timestampFieldName: Output<String>? = null, val typeName: Output<String>? = null) : ConvertibleToJava<ProfileArgs>

The profile resource format. API Version: 2017-04-26.

Example Usage

Profiles_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var profile = new AzureNative.CustomerInsights.Profile("profile", new()
{
ApiEntitySetName = "TestProfileType396",
Fields = new[]
{
new AzureNative.CustomerInsights.Inputs.PropertyDefinitionArgs
{
FieldName = "Id",
FieldType = "Edm.String",
IsArray = false,
IsRequired = true,
},
new AzureNative.CustomerInsights.Inputs.PropertyDefinitionArgs
{
FieldName = "ProfileId",
FieldType = "Edm.String",
IsArray = false,
IsRequired = true,
},
new AzureNative.CustomerInsights.Inputs.PropertyDefinitionArgs
{
FieldName = "LastName",
FieldType = "Edm.String",
IsArray = false,
IsRequired = true,
},
new AzureNative.CustomerInsights.Inputs.PropertyDefinitionArgs
{
FieldName = "TestProfileType396",
FieldType = "Edm.String",
IsArray = false,
IsRequired = true,
},
new AzureNative.CustomerInsights.Inputs.PropertyDefinitionArgs
{
FieldName = "SavingAccountBalance",
FieldType = "Edm.Int32",
IsArray = false,
IsRequired = true,
},
},
HubName = "sdkTestHub",
LargeImage = "\\\\Images\\\\LargeImage",
MediumImage = "\\\\Images\\\\MediumImage",
ProfileName = "TestProfileType396",
ResourceGroupName = "TestHubRG",
SchemaItemTypeLink = "SchemaItemTypeLink",
SmallImage = "\\\\Images\\\\smallImage",
StrongIds = new[]
{
new AzureNative.CustomerInsights.Inputs.StrongIdArgs
{
KeyPropertyNames = new[]
{
"Id",
"SavingAccountBalance",
},
StrongIdName = "Id",
},
new AzureNative.CustomerInsights.Inputs.StrongIdArgs
{
KeyPropertyNames = new[]
{
"ProfileId",
"LastName",
},
StrongIdName = "ProfileId",
},
},
});
});
package main
import (
customerinsights "github.com/pulumi/pulumi-azure-native-sdk/customerinsights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := customerinsights.NewProfile(ctx, "profile", &customerinsights.ProfileArgs{
ApiEntitySetName: pulumi.String("TestProfileType396"),
Fields: []customerinsights.PropertyDefinitionArgs{
{
FieldName: pulumi.String("Id"),
FieldType: pulumi.String("Edm.String"),
IsArray: pulumi.Bool(false),
IsRequired: pulumi.Bool(true),
},
{
FieldName: pulumi.String("ProfileId"),
FieldType: pulumi.String("Edm.String"),
IsArray: pulumi.Bool(false),
IsRequired: pulumi.Bool(true),
},
{
FieldName: pulumi.String("LastName"),
FieldType: pulumi.String("Edm.String"),
IsArray: pulumi.Bool(false),
IsRequired: pulumi.Bool(true),
},
{
FieldName: pulumi.String("TestProfileType396"),
FieldType: pulumi.String("Edm.String"),
IsArray: pulumi.Bool(false),
IsRequired: pulumi.Bool(true),
},
{
FieldName: pulumi.String("SavingAccountBalance"),
FieldType: pulumi.String("Edm.Int32"),
IsArray: pulumi.Bool(false),
IsRequired: pulumi.Bool(true),
},
},
HubName: pulumi.String("sdkTestHub"),
LargeImage: pulumi.String("\\\\Images\\\\LargeImage"),
MediumImage: pulumi.String("\\\\Images\\\\MediumImage"),
ProfileName: pulumi.String("TestProfileType396"),
ResourceGroupName: pulumi.String("TestHubRG"),
SchemaItemTypeLink: pulumi.String("SchemaItemTypeLink"),
SmallImage: pulumi.String("\\\\Images\\\\smallImage"),
StrongIds: []customerinsights.StrongIdArgs{
{
KeyPropertyNames: pulumi.StringArray{
pulumi.String("Id"),
pulumi.String("SavingAccountBalance"),
},
StrongIdName: pulumi.String("Id"),
},
{
KeyPropertyNames: pulumi.StringArray{
pulumi.String("ProfileId"),
pulumi.String("LastName"),
},
StrongIdName: pulumi.String("ProfileId"),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.customerinsights.Profile;
import com.pulumi.azurenative.customerinsights.ProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var profile = new Profile("profile", ProfileArgs.builder()
.apiEntitySetName("TestProfileType396")
.fields(
Map.ofEntries(
Map.entry("fieldName", "Id"),
Map.entry("fieldType", "Edm.String"),
Map.entry("isArray", false),
Map.entry("isRequired", true)
),
Map.ofEntries(
Map.entry("fieldName", "ProfileId"),
Map.entry("fieldType", "Edm.String"),
Map.entry("isArray", false),
Map.entry("isRequired", true)
),
Map.ofEntries(
Map.entry("fieldName", "LastName"),
Map.entry("fieldType", "Edm.String"),
Map.entry("isArray", false),
Map.entry("isRequired", true)
),
Map.ofEntries(
Map.entry("fieldName", "TestProfileType396"),
Map.entry("fieldType", "Edm.String"),
Map.entry("isArray", false),
Map.entry("isRequired", true)
),
Map.ofEntries(
Map.entry("fieldName", "SavingAccountBalance"),
Map.entry("fieldType", "Edm.Int32"),
Map.entry("isArray", false),
Map.entry("isRequired", true)
))
.hubName("sdkTestHub")
.largeImage("\\\\Images\\\\LargeImage")
.mediumImage("\\\\Images\\\\MediumImage")
.profileName("TestProfileType396")
.resourceGroupName("TestHubRG")
.schemaItemTypeLink("SchemaItemTypeLink")
.smallImage("\\\\Images\\\\smallImage")
.strongIds(
Map.ofEntries(
Map.entry("keyPropertyNames",
"Id",
"SavingAccountBalance"),
Map.entry("strongIdName", "Id")
),
Map.ofEntries(
Map.entry("keyPropertyNames",
"ProfileId",
"LastName"),
Map.entry("strongIdName", "ProfileId")
))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:customerinsights:Profile azSdkTestHub/TestProfileType396 /subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396

Constructors

Link copied to clipboard
constructor(apiEntitySetName: Output<String>? = null, attributes: Output<Map<String, List<String>>>? = null, description: Output<Map<String, String>>? = null, displayName: Output<Map<String, String>>? = null, entityType: Output<EntityTypes>? = null, fields: Output<List<PropertyDefinitionArgs>>? = null, hubName: Output<String>? = null, instancesCount: Output<Int>? = null, largeImage: Output<String>? = null, localizedAttributes: Output<Map<String, Map<String, String>>>? = null, mediumImage: Output<String>? = null, profileName: Output<String>? = null, resourceGroupName: Output<String>? = null, schemaItemTypeLink: Output<String>? = null, smallImage: Output<String>? = null, strongIds: Output<List<StrongIdArgs>>? = null, timestampFieldName: Output<String>? = null, typeName: Output<String>? = null)

Properties

Link copied to clipboard
val apiEntitySetName: Output<String>? = null

The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.

Link copied to clipboard
val attributes: Output<Map<String, List<String>>>? = null

The attributes for the Type.

Link copied to clipboard
val description: Output<Map<String, String>>? = null

Localized descriptions for the property.

Link copied to clipboard
val displayName: Output<Map<String, String>>? = null

Localized display names for the property.

Link copied to clipboard
val entityType: Output<EntityTypes>? = null

Type of entity.

Link copied to clipboard
val fields: Output<List<PropertyDefinitionArgs>>? = null

The properties of the Profile.

Link copied to clipboard
val hubName: Output<String>? = null

The name of the hub.

Link copied to clipboard
val instancesCount: Output<Int>? = null

The instance count.

Link copied to clipboard
val largeImage: Output<String>? = null

Large Image associated with the Property or EntityType.

Link copied to clipboard
val localizedAttributes: Output<Map<String, Map<String, String>>>? = null

Any custom localized attributes for the Type.

Link copied to clipboard
val mediumImage: Output<String>? = null

Medium Image associated with the Property or EntityType.

Link copied to clipboard
val profileName: Output<String>? = null

The name of the profile.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group.

Link copied to clipboard
val schemaItemTypeLink: Output<String>? = null

The schema org link. This helps ACI identify and suggest semantic models.

Link copied to clipboard
val smallImage: Output<String>? = null

Small Image associated with the Property or EntityType.

Link copied to clipboard
val strongIds: Output<List<StrongIdArgs>>? = null

The strong IDs.

Link copied to clipboard
val timestampFieldName: Output<String>? = null

The timestamp property name. Represents the time when the interaction or profile update happened.

Link copied to clipboard
val typeName: Output<String>? = null

The name of the entity.

Functions

Link copied to clipboard
open override fun toJava(): ProfileArgs