azure-native.customerinsights.Kpi
Explore with Pulumi AI
The KPI resource format. Azure REST API version: 2017-04-26. Prior API version in Azure Native 1.x: 2017-04-26.
Example Usage
Kpi_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var kpi = new AzureNative.CustomerInsights.Kpi("kpi", new()
    {
        Aliases = new[]
        {
            new AzureNative.CustomerInsights.Inputs.KpiAliasArgs
            {
                AliasName = "alias",
                Expression = "Id+4",
            },
        },
        CalculationWindow = AzureNative.CustomerInsights.CalculationWindowTypes.Day,
        Description = 
        {
            { "en-us", "Kpi Description" },
        },
        DisplayName = 
        {
            { "en-us", "Kpi DisplayName" },
        },
        EntityType = AzureNative.CustomerInsights.EntityTypes.Profile,
        EntityTypeName = "testProfile2327128",
        Expression = "SavingAccountBalance",
        Function = AzureNative.CustomerInsights.KpiFunctions.Sum,
        GroupBy = new[]
        {
            "SavingAccountBalance",
        },
        HubName = "sdkTestHub",
        KpiName = "kpiTest45453647",
        ResourceGroupName = "TestHubRG",
        ThresHolds = new AzureNative.CustomerInsights.Inputs.KpiThresholdsArgs
        {
            IncreasingKpi = true,
            LowerLimit = 5,
            UpperLimit = 50,
        },
        Unit = "unit",
    });
});
package main
import (
	customerinsights "github.com/pulumi/pulumi-azure-native-sdk/customerinsights/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := customerinsights.NewKpi(ctx, "kpi", &customerinsights.KpiArgs{
			Aliases: customerinsights.KpiAliasArray{
				&customerinsights.KpiAliasArgs{
					AliasName:  pulumi.String("alias"),
					Expression: pulumi.String("Id+4"),
				},
			},
			CalculationWindow: customerinsights.CalculationWindowTypesDay,
			Description: pulumi.StringMap{
				"en-us": pulumi.String("Kpi Description"),
			},
			DisplayName: pulumi.StringMap{
				"en-us": pulumi.String("Kpi DisplayName"),
			},
			EntityType:     customerinsights.EntityTypesProfile,
			EntityTypeName: pulumi.String("testProfile2327128"),
			Expression:     pulumi.String("SavingAccountBalance"),
			Function:       customerinsights.KpiFunctionsSum,
			GroupBy: pulumi.StringArray{
				pulumi.String("SavingAccountBalance"),
			},
			HubName:           pulumi.String("sdkTestHub"),
			KpiName:           pulumi.String("kpiTest45453647"),
			ResourceGroupName: pulumi.String("TestHubRG"),
			ThresHolds: &customerinsights.KpiThresholdsArgs{
				IncreasingKpi: pulumi.Bool(true),
				LowerLimit:    pulumi.Float64(5),
				UpperLimit:    pulumi.Float64(50),
			},
			Unit: pulumi.String("unit"),
		})
		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.Kpi;
import com.pulumi.azurenative.customerinsights.KpiArgs;
import com.pulumi.azurenative.customerinsights.inputs.KpiAliasArgs;
import com.pulumi.azurenative.customerinsights.inputs.KpiThresholdsArgs;
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 kpi = new Kpi("kpi", KpiArgs.builder()
            .aliases(KpiAliasArgs.builder()
                .aliasName("alias")
                .expression("Id+4")
                .build())
            .calculationWindow("Day")
            .description(Map.of("en-us", "Kpi Description"))
            .displayName(Map.of("en-us", "Kpi DisplayName"))
            .entityType("Profile")
            .entityTypeName("testProfile2327128")
            .expression("SavingAccountBalance")
            .function("Sum")
            .groupBy("SavingAccountBalance")
            .hubName("sdkTestHub")
            .kpiName("kpiTest45453647")
            .resourceGroupName("TestHubRG")
            .thresHolds(KpiThresholdsArgs.builder()
                .increasingKpi(true)
                .lowerLimit(5)
                .upperLimit(50)
                .build())
            .unit("unit")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const kpi = new azure_native.customerinsights.Kpi("kpi", {
    aliases: [{
        aliasName: "alias",
        expression: "Id+4",
    }],
    calculationWindow: azure_native.customerinsights.CalculationWindowTypes.Day,
    description: {
        "en-us": "Kpi Description",
    },
    displayName: {
        "en-us": "Kpi DisplayName",
    },
    entityType: azure_native.customerinsights.EntityTypes.Profile,
    entityTypeName: "testProfile2327128",
    expression: "SavingAccountBalance",
    "function": azure_native.customerinsights.KpiFunctions.Sum,
    groupBy: ["SavingAccountBalance"],
    hubName: "sdkTestHub",
    kpiName: "kpiTest45453647",
    resourceGroupName: "TestHubRG",
    thresHolds: {
        increasingKpi: true,
        lowerLimit: 5,
        upperLimit: 50,
    },
    unit: "unit",
});
import pulumi
import pulumi_azure_native as azure_native
kpi = azure_native.customerinsights.Kpi("kpi",
    aliases=[{
        "alias_name": "alias",
        "expression": "Id+4",
    }],
    calculation_window=azure_native.customerinsights.CalculationWindowTypes.DAY,
    description={
        "en-us": "Kpi Description",
    },
    display_name={
        "en-us": "Kpi DisplayName",
    },
    entity_type=azure_native.customerinsights.EntityTypes.PROFILE,
    entity_type_name="testProfile2327128",
    expression="SavingAccountBalance",
    function=azure_native.customerinsights.KpiFunctions.SUM,
    group_by=["SavingAccountBalance"],
    hub_name="sdkTestHub",
    kpi_name="kpiTest45453647",
    resource_group_name="TestHubRG",
    thres_holds={
        "increasing_kpi": True,
        "lower_limit": 5,
        "upper_limit": 50,
    },
    unit="unit")
resources:
  kpi:
    type: azure-native:customerinsights:Kpi
    properties:
      aliases:
        - aliasName: alias
          expression: Id+4
      calculationWindow: Day
      description:
        en-us: Kpi Description
      displayName:
        en-us: Kpi DisplayName
      entityType: Profile
      entityTypeName: testProfile2327128
      expression: SavingAccountBalance
      function: Sum
      groupBy:
        - SavingAccountBalance
      hubName: sdkTestHub
      kpiName: kpiTest45453647
      resourceGroupName: TestHubRG
      thresHolds:
        increasingKpi: true
        lowerLimit: 5
        upperLimit: 50
      unit: unit
Create Kpi Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Kpi(name: string, args: KpiArgs, opts?: CustomResourceOptions);@overload
def Kpi(resource_name: str,
        args: KpiArgs,
        opts: Optional[ResourceOptions] = None)
@overload
def Kpi(resource_name: str,
        opts: Optional[ResourceOptions] = None,
        expression: Optional[str] = None,
        calculation_window: Optional[CalculationWindowTypes] = None,
        resource_group_name: Optional[str] = None,
        hub_name: Optional[str] = None,
        function: Optional[KpiFunctions] = None,
        entity_type: Optional[EntityTypes] = None,
        entity_type_name: Optional[str] = None,
        display_name: Optional[Mapping[str, str]] = None,
        extracts: Optional[Sequence[KpiExtractArgs]] = None,
        filter: Optional[str] = None,
        aliases: Optional[Sequence[KpiAliasArgs]] = None,
        group_by: Optional[Sequence[str]] = None,
        description: Optional[Mapping[str, str]] = None,
        kpi_name: Optional[str] = None,
        calculation_window_field_name: Optional[str] = None,
        thres_holds: Optional[KpiThresholdsArgs] = None,
        unit: Optional[str] = None)func NewKpi(ctx *Context, name string, args KpiArgs, opts ...ResourceOption) (*Kpi, error)public Kpi(string name, KpiArgs args, CustomResourceOptions? opts = null)type: azure-native:customerinsights:Kpi
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KpiArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KpiArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KpiArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KpiArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KpiArgs
- 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 kpiResource = new AzureNative.CustomerInsights.Kpi("kpiResource", new()
{
    Expression = "string",
    CalculationWindow = AzureNative.CustomerInsights.CalculationWindowTypes.Lifetime,
    ResourceGroupName = "string",
    HubName = "string",
    Function = AzureNative.CustomerInsights.KpiFunctions.Sum,
    EntityType = AzureNative.CustomerInsights.EntityTypes.None,
    EntityTypeName = "string",
    DisplayName = 
    {
        { "string", "string" },
    },
    Extracts = new[]
    {
        new AzureNative.CustomerInsights.Inputs.KpiExtractArgs
        {
            Expression = "string",
            ExtractName = "string",
        },
    },
    Filter = "string",
    Aliases = new[]
    {
        new AzureNative.CustomerInsights.Inputs.KpiAliasArgs
        {
            AliasName = "string",
            Expression = "string",
        },
    },
    GroupBy = new[]
    {
        "string",
    },
    Description = 
    {
        { "string", "string" },
    },
    KpiName = "string",
    CalculationWindowFieldName = "string",
    ThresHolds = new AzureNative.CustomerInsights.Inputs.KpiThresholdsArgs
    {
        IncreasingKpi = false,
        LowerLimit = 0,
        UpperLimit = 0,
    },
    Unit = "string",
});
example, err := customerinsights.NewKpi(ctx, "kpiResource", &customerinsights.KpiArgs{
	Expression:        pulumi.String("string"),
	CalculationWindow: customerinsights.CalculationWindowTypesLifetime,
	ResourceGroupName: pulumi.String("string"),
	HubName:           pulumi.String("string"),
	Function:          customerinsights.KpiFunctionsSum,
	EntityType:        customerinsights.EntityTypesNone,
	EntityTypeName:    pulumi.String("string"),
	DisplayName: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Extracts: customerinsights.KpiExtractArray{
		&customerinsights.KpiExtractArgs{
			Expression:  pulumi.String("string"),
			ExtractName: pulumi.String("string"),
		},
	},
	Filter: pulumi.String("string"),
	Aliases: customerinsights.KpiAliasArray{
		&customerinsights.KpiAliasArgs{
			AliasName:  pulumi.String("string"),
			Expression: pulumi.String("string"),
		},
	},
	GroupBy: pulumi.StringArray{
		pulumi.String("string"),
	},
	Description: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	KpiName:                    pulumi.String("string"),
	CalculationWindowFieldName: pulumi.String("string"),
	ThresHolds: &customerinsights.KpiThresholdsArgs{
		IncreasingKpi: pulumi.Bool(false),
		LowerLimit:    pulumi.Float64(0),
		UpperLimit:    pulumi.Float64(0),
	},
	Unit: pulumi.String("string"),
})
var kpiResource = new Kpi("kpiResource", KpiArgs.builder()
    .expression("string")
    .calculationWindow("Lifetime")
    .resourceGroupName("string")
    .hubName("string")
    .function("Sum")
    .entityType("None")
    .entityTypeName("string")
    .displayName(Map.of("string", "string"))
    .extracts(KpiExtractArgs.builder()
        .expression("string")
        .extractName("string")
        .build())
    .filter("string")
    .aliases(KpiAliasArgs.builder()
        .aliasName("string")
        .expression("string")
        .build())
    .groupBy("string")
    .description(Map.of("string", "string"))
    .kpiName("string")
    .calculationWindowFieldName("string")
    .thresHolds(KpiThresholdsArgs.builder()
        .increasingKpi(false)
        .lowerLimit(0)
        .upperLimit(0)
        .build())
    .unit("string")
    .build());
kpi_resource = azure_native.customerinsights.Kpi("kpiResource",
    expression="string",
    calculation_window=azure_native.customerinsights.CalculationWindowTypes.LIFETIME,
    resource_group_name="string",
    hub_name="string",
    function=azure_native.customerinsights.KpiFunctions.SUM,
    entity_type=azure_native.customerinsights.EntityTypes.NONE,
    entity_type_name="string",
    display_name={
        "string": "string",
    },
    extracts=[{
        "expression": "string",
        "extract_name": "string",
    }],
    filter="string",
    aliases=[{
        "alias_name": "string",
        "expression": "string",
    }],
    group_by=["string"],
    description={
        "string": "string",
    },
    kpi_name="string",
    calculation_window_field_name="string",
    thres_holds={
        "increasing_kpi": False,
        "lower_limit": 0,
        "upper_limit": 0,
    },
    unit="string")
const kpiResource = new azure_native.customerinsights.Kpi("kpiResource", {
    expression: "string",
    calculationWindow: azure_native.customerinsights.CalculationWindowTypes.Lifetime,
    resourceGroupName: "string",
    hubName: "string",
    "function": azure_native.customerinsights.KpiFunctions.Sum,
    entityType: azure_native.customerinsights.EntityTypes.None,
    entityTypeName: "string",
    displayName: {
        string: "string",
    },
    extracts: [{
        expression: "string",
        extractName: "string",
    }],
    filter: "string",
    aliases: [{
        aliasName: "string",
        expression: "string",
    }],
    groupBy: ["string"],
    description: {
        string: "string",
    },
    kpiName: "string",
    calculationWindowFieldName: "string",
    thresHolds: {
        increasingKpi: false,
        lowerLimit: 0,
        upperLimit: 0,
    },
    unit: "string",
});
type: azure-native:customerinsights:Kpi
properties:
    aliases:
        - aliasName: string
          expression: string
    calculationWindow: Lifetime
    calculationWindowFieldName: string
    description:
        string: string
    displayName:
        string: string
    entityType: None
    entityTypeName: string
    expression: string
    extracts:
        - expression: string
          extractName: string
    filter: string
    function: Sum
    groupBy:
        - string
    hubName: string
    kpiName: string
    resourceGroupName: string
    thresHolds:
        increasingKpi: false
        lowerLimit: 0
        upperLimit: 0
    unit: string
Kpi 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 Kpi resource accepts the following input properties:
- CalculationWindow Pulumi.Azure Native. Customer Insights. Calculation Window Types 
- The calculation window.
- EntityType Pulumi.Azure Native. Customer Insights. Entity Types 
- The mapping entity type.
- EntityType stringName 
- The mapping entity name.
- Expression string
- The computation expression for the KPI.
- Function
Pulumi.Azure Native. Customer Insights. Kpi Functions 
- The computation function for the KPI.
- HubName string
- The name of the hub.
- ResourceGroup stringName 
- The name of the resource group.
- Aliases
List<Pulumi.Azure Native. Customer Insights. Inputs. Kpi Alias> 
- The aliases.
- CalculationWindow stringField Name 
- Name of calculation window field.
- Description Dictionary<string, string>
- Localized description for the KPI.
- DisplayName Dictionary<string, string>
- Localized display name for the KPI.
- Extracts
List<Pulumi.Azure Native. Customer Insights. Inputs. Kpi Extract> 
- The KPI extracts.
- Filter string
- The filter expression for the KPI.
- GroupBy List<string>
- the group by properties for the KPI.
- KpiName string
- The name of the KPI.
- ThresHolds Pulumi.Azure Native. Customer Insights. Inputs. Kpi Thresholds 
- The KPI thresholds.
- Unit string
- The unit of measurement for the KPI.
- CalculationWindow CalculationWindow Types 
- The calculation window.
- EntityType EntityTypes 
- The mapping entity type.
- EntityType stringName 
- The mapping entity name.
- Expression string
- The computation expression for the KPI.
- Function
KpiFunctions 
- The computation function for the KPI.
- HubName string
- The name of the hub.
- ResourceGroup stringName 
- The name of the resource group.
- Aliases
[]KpiAlias Args 
- The aliases.
- CalculationWindow stringField Name 
- Name of calculation window field.
- Description map[string]string
- Localized description for the KPI.
- DisplayName map[string]string
- Localized display name for the KPI.
- Extracts
[]KpiExtract Args 
- The KPI extracts.
- Filter string
- The filter expression for the KPI.
- GroupBy []string
- the group by properties for the KPI.
- KpiName string
- The name of the KPI.
- ThresHolds KpiThresholds Args 
- The KPI thresholds.
- Unit string
- The unit of measurement for the KPI.
- calculationWindow CalculationWindow Types 
- The calculation window.
- entityType EntityTypes 
- The mapping entity type.
- entityType StringName 
- The mapping entity name.
- expression String
- The computation expression for the KPI.
- function
KpiFunctions 
- The computation function for the KPI.
- hubName String
- The name of the hub.
- resourceGroup StringName 
- The name of the resource group.
- aliases
List<KpiAlias> 
- The aliases.
- calculationWindow StringField Name 
- Name of calculation window field.
- description Map<String,String>
- Localized description for the KPI.
- displayName Map<String,String>
- Localized display name for the KPI.
- extracts
List<KpiExtract> 
- The KPI extracts.
- filter String
- The filter expression for the KPI.
- groupBy List<String>
- the group by properties for the KPI.
- kpiName String
- The name of the KPI.
- thresHolds KpiThresholds 
- The KPI thresholds.
- unit String
- The unit of measurement for the KPI.
- calculationWindow CalculationWindow Types 
- The calculation window.
- entityType EntityTypes 
- The mapping entity type.
- entityType stringName 
- The mapping entity name.
- expression string
- The computation expression for the KPI.
- function
KpiFunctions 
- The computation function for the KPI.
- hubName string
- The name of the hub.
- resourceGroup stringName 
- The name of the resource group.
- aliases
KpiAlias[] 
- The aliases.
- calculationWindow stringField Name 
- Name of calculation window field.
- description {[key: string]: string}
- Localized description for the KPI.
- displayName {[key: string]: string}
- Localized display name for the KPI.
- extracts
KpiExtract[] 
- The KPI extracts.
- filter string
- The filter expression for the KPI.
- groupBy string[]
- the group by properties for the KPI.
- kpiName string
- The name of the KPI.
- thresHolds KpiThresholds 
- The KPI thresholds.
- unit string
- The unit of measurement for the KPI.
- calculation_window CalculationWindow Types 
- The calculation window.
- entity_type EntityTypes 
- The mapping entity type.
- entity_type_ strname 
- The mapping entity name.
- expression str
- The computation expression for the KPI.
- function
KpiFunctions 
- The computation function for the KPI.
- hub_name str
- The name of the hub.
- resource_group_ strname 
- The name of the resource group.
- aliases
Sequence[KpiAlias Args] 
- The aliases.
- calculation_window_ strfield_ name 
- Name of calculation window field.
- description Mapping[str, str]
- Localized description for the KPI.
- display_name Mapping[str, str]
- Localized display name for the KPI.
- extracts
Sequence[KpiExtract Args] 
- The KPI extracts.
- filter str
- The filter expression for the KPI.
- group_by Sequence[str]
- the group by properties for the KPI.
- kpi_name str
- The name of the KPI.
- thres_holds KpiThresholds Args 
- The KPI thresholds.
- unit str
- The unit of measurement for the KPI.
- calculationWindow "Lifetime" | "Hour" | "Day" | "Week" | "Month"
- The calculation window.
- entityType "None" | "Profile" | "Interaction" | "Relationship"
- The mapping entity type.
- entityType StringName 
- The mapping entity name.
- expression String
- The computation expression for the KPI.
- function
"Sum" | "Avg" | "Min" | "Max" | "Last" | "Count" | "None" | "CountDistinct" 
- The computation function for the KPI.
- hubName String
- The name of the hub.
- resourceGroup StringName 
- The name of the resource group.
- aliases List<Property Map>
- The aliases.
- calculationWindow StringField Name 
- Name of calculation window field.
- description Map<String>
- Localized description for the KPI.
- displayName Map<String>
- Localized display name for the KPI.
- extracts List<Property Map>
- The KPI extracts.
- filter String
- The filter expression for the KPI.
- groupBy List<String>
- the group by properties for the KPI.
- kpiName String
- The name of the KPI.
- thresHolds Property Map
- The KPI thresholds.
- unit String
- The unit of measurement for the KPI.
Outputs
All input properties are implicitly available as output properties. Additionally, the Kpi resource produces the following output properties:
- GroupBy List<Pulumi.Metadata Azure Native. Customer Insights. Outputs. Kpi Group By Metadata Response> 
- The KPI GroupByMetadata.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ParticipantProfiles List<Pulumi.Metadata Azure Native. Customer Insights. Outputs. Kpi Participant Profiles Metadata Response> 
- The participant profiles.
- ProvisioningState string
- Provisioning state.
- TenantId string
- The hub name.
- Type string
- Resource type.
- GroupBy []KpiMetadata Group By Metadata Response 
- The KPI GroupByMetadata.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ParticipantProfiles []KpiMetadata Participant Profiles Metadata Response 
- The participant profiles.
- ProvisioningState string
- Provisioning state.
- TenantId string
- The hub name.
- Type string
- Resource type.
- groupBy List<KpiMetadata Group By Metadata Response> 
- The KPI GroupByMetadata.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- participantProfiles List<KpiMetadata Participant Profiles Metadata Response> 
- The participant profiles.
- provisioningState String
- Provisioning state.
- tenantId String
- The hub name.
- type String
- Resource type.
- groupBy KpiMetadata Group By Metadata Response[] 
- The KPI GroupByMetadata.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- participantProfiles KpiMetadata Participant Profiles Metadata Response[] 
- The participant profiles.
- provisioningState string
- Provisioning state.
- tenantId string
- The hub name.
- type string
- Resource type.
- group_by_ Sequence[Kpimetadata Group By Metadata Response] 
- The KPI GroupByMetadata.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- participant_profiles_ Sequence[Kpimetadata Participant Profiles Metadata Response] 
- The participant profiles.
- provisioning_state str
- Provisioning state.
- tenant_id str
- The hub name.
- type str
- Resource type.
- groupBy List<Property Map>Metadata 
- The KPI GroupByMetadata.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- participantProfiles List<Property Map>Metadata 
- The participant profiles.
- provisioningState String
- Provisioning state.
- tenantId String
- The hub name.
- type String
- Resource type.
Supporting Types
CalculationWindowTypes, CalculationWindowTypesArgs      
- Lifetime
- Lifetime
- Hour
- Hour
- Day
- Day
- Week
- Week
- Month
- Month
- CalculationWindow Types Lifetime 
- Lifetime
- CalculationWindow Types Hour 
- Hour
- CalculationWindow Types Day 
- Day
- CalculationWindow Types Week 
- Week
- CalculationWindow Types Month 
- Month
- Lifetime
- Lifetime
- Hour
- Hour
- Day
- Day
- Week
- Week
- Month
- Month
- Lifetime
- Lifetime
- Hour
- Hour
- Day
- Day
- Week
- Week
- Month
- Month
- LIFETIME
- Lifetime
- HOUR
- Hour
- DAY
- Day
- WEEK
- Week
- MONTH
- Month
- "Lifetime"
- Lifetime
- "Hour"
- Hour
- "Day"
- Day
- "Week"
- Week
- "Month"
- Month
EntityTypes, EntityTypesArgs    
- None
- None
- Profile
- Profile
- Interaction
- Interaction
- Relationship
- Relationship
- EntityTypes None 
- None
- EntityTypes Profile 
- Profile
- EntityTypes Interaction 
- Interaction
- EntityTypes Relationship 
- Relationship
- None
- None
- Profile
- Profile
- Interaction
- Interaction
- Relationship
- Relationship
- None
- None
- Profile
- Profile
- Interaction
- Interaction
- Relationship
- Relationship
- NONE
- None
- PROFILE
- Profile
- INTERACTION
- Interaction
- RELATIONSHIP
- Relationship
- "None"
- None
- "Profile"
- Profile
- "Interaction"
- Interaction
- "Relationship"
- Relationship
KpiAlias, KpiAliasArgs    
- AliasName string
- KPI alias name.
- Expression string
- The expression.
- AliasName string
- KPI alias name.
- Expression string
- The expression.
- aliasName String
- KPI alias name.
- expression String
- The expression.
- aliasName string
- KPI alias name.
- expression string
- The expression.
- alias_name str
- KPI alias name.
- expression str
- The expression.
- aliasName String
- KPI alias name.
- expression String
- The expression.
KpiAliasResponse, KpiAliasResponseArgs      
- AliasName string
- KPI alias name.
- Expression string
- The expression.
- AliasName string
- KPI alias name.
- Expression string
- The expression.
- aliasName String
- KPI alias name.
- expression String
- The expression.
- aliasName string
- KPI alias name.
- expression string
- The expression.
- alias_name str
- KPI alias name.
- expression str
- The expression.
- aliasName String
- KPI alias name.
- expression String
- The expression.
KpiExtract, KpiExtractArgs    
- Expression string
- The expression.
- ExtractName string
- KPI extract name.
- Expression string
- The expression.
- ExtractName string
- KPI extract name.
- expression String
- The expression.
- extractName String
- KPI extract name.
- expression string
- The expression.
- extractName string
- KPI extract name.
- expression str
- The expression.
- extract_name str
- KPI extract name.
- expression String
- The expression.
- extractName String
- KPI extract name.
KpiExtractResponse, KpiExtractResponseArgs      
- Expression string
- The expression.
- ExtractName string
- KPI extract name.
- Expression string
- The expression.
- ExtractName string
- KPI extract name.
- expression String
- The expression.
- extractName String
- KPI extract name.
- expression string
- The expression.
- extractName string
- KPI extract name.
- expression str
- The expression.
- extract_name str
- KPI extract name.
- expression String
- The expression.
- extractName String
- KPI extract name.
KpiFunctions, KpiFunctionsArgs    
- Sum
- Sum
- Avg
- Avg
- Min
- Min
- Max
- Max
- Last
- Last
- Count
- Count
- None
- None
- CountDistinct 
- CountDistinct
- KpiFunctions Sum 
- Sum
- KpiFunctions Avg 
- Avg
- KpiFunctions Min 
- Min
- KpiFunctions Max 
- Max
- KpiFunctions Last 
- Last
- KpiFunctions Count 
- Count
- KpiFunctions None 
- None
- KpiFunctions Count Distinct 
- CountDistinct
- Sum
- Sum
- Avg
- Avg
- Min
- Min
- Max
- Max
- Last
- Last
- Count
- Count
- None
- None
- CountDistinct 
- CountDistinct
- Sum
- Sum
- Avg
- Avg
- Min
- Min
- Max
- Max
- Last
- Last
- Count
- Count
- None
- None
- CountDistinct 
- CountDistinct
- SUM
- Sum
- AVG
- Avg
- MIN
- Min
- MAX
- Max
- LAST
- Last
- COUNT
- Count
- NONE
- None
- COUNT_DISTINCT
- CountDistinct
- "Sum"
- Sum
- "Avg"
- Avg
- "Min"
- Min
- "Max"
- Max
- "Last"
- Last
- "Count"
- Count
- "None"
- None
- "CountDistinct" 
- CountDistinct
KpiGroupByMetadataResponse, KpiGroupByMetadataResponseArgs          
- DisplayName Dictionary<string, string>
- The display name.
- FieldName string
- The name of the field.
- FieldType string
- The type of the field.
- DisplayName map[string]string
- The display name.
- FieldName string
- The name of the field.
- FieldType string
- The type of the field.
- displayName Map<String,String>
- The display name.
- fieldName String
- The name of the field.
- fieldType String
- The type of the field.
- displayName {[key: string]: string}
- The display name.
- fieldName string
- The name of the field.
- fieldType string
- The type of the field.
- display_name Mapping[str, str]
- The display name.
- field_name str
- The name of the field.
- field_type str
- The type of the field.
- displayName Map<String>
- The display name.
- fieldName String
- The name of the field.
- fieldType String
- The type of the field.
KpiParticipantProfilesMetadataResponse, KpiParticipantProfilesMetadataResponseArgs          
- TypeName string
- Name of the type.
- TypeName string
- Name of the type.
- typeName String
- Name of the type.
- typeName string
- Name of the type.
- type_name str
- Name of the type.
- typeName String
- Name of the type.
KpiThresholds, KpiThresholdsArgs    
- IncreasingKpi bool
- Whether or not the KPI is an increasing KPI.
- LowerLimit double
- The lower threshold limit.
- UpperLimit double
- The upper threshold limit.
- IncreasingKpi bool
- Whether or not the KPI is an increasing KPI.
- LowerLimit float64
- The lower threshold limit.
- UpperLimit float64
- The upper threshold limit.
- increasingKpi Boolean
- Whether or not the KPI is an increasing KPI.
- lowerLimit Double
- The lower threshold limit.
- upperLimit Double
- The upper threshold limit.
- increasingKpi boolean
- Whether or not the KPI is an increasing KPI.
- lowerLimit number
- The lower threshold limit.
- upperLimit number
- The upper threshold limit.
- increasing_kpi bool
- Whether or not the KPI is an increasing KPI.
- lower_limit float
- The lower threshold limit.
- upper_limit float
- The upper threshold limit.
- increasingKpi Boolean
- Whether or not the KPI is an increasing KPI.
- lowerLimit Number
- The lower threshold limit.
- upperLimit Number
- The upper threshold limit.
KpiThresholdsResponse, KpiThresholdsResponseArgs      
- IncreasingKpi bool
- Whether or not the KPI is an increasing KPI.
- LowerLimit double
- The lower threshold limit.
- UpperLimit double
- The upper threshold limit.
- IncreasingKpi bool
- Whether or not the KPI is an increasing KPI.
- LowerLimit float64
- The lower threshold limit.
- UpperLimit float64
- The upper threshold limit.
- increasingKpi Boolean
- Whether or not the KPI is an increasing KPI.
- lowerLimit Double
- The lower threshold limit.
- upperLimit Double
- The upper threshold limit.
- increasingKpi boolean
- Whether or not the KPI is an increasing KPI.
- lowerLimit number
- The lower threshold limit.
- upperLimit number
- The upper threshold limit.
- increasing_kpi bool
- Whether or not the KPI is an increasing KPI.
- lower_limit float
- The lower threshold limit.
- upper_limit float
- The upper threshold limit.
- increasingKpi Boolean
- Whether or not the KPI is an increasing KPI.
- lowerLimit Number
- The lower threshold limit.
- upperLimit Number
- The upper threshold limit.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:customerinsights:Kpi sdkTestHub/kpiTest45453647 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/kpi/{kpiName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0