azure-native.customerinsights.Kpi
Explore with Pulumi AI
The KPI resource format. API Version: 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"
"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.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 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(Map.ofEntries(
Map.entry("aliasName", "alias"),
Map.entry("expression", "Id+4")
))
.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(Map.ofEntries(
Map.entry("increasingKpi", true),
Map.entry("lowerLimit", 5),
Map.entry("upperLimit", 50)
))
.unit("unit")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
kpi = azure_native.customerinsights.Kpi("kpi",
aliases=[azure_native.customerinsights.KpiAliasArgs(
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=azure_native.customerinsights.KpiThresholdsArgs(
increasing_kpi=True,
lower_limit=5,
upper_limit=50,
),
unit="unit")
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",
});
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 = "Lifetime",
ResourceGroupName = "string",
HubName = "string",
Function = "Sum",
EntityType = "None",
EntityTypeName = "string",
DisplayName =
{
{ "string", "string" },
},
Extracts = new[]
{
{
{ "expression", "string" },
{ "extractName", "string" },
},
},
Filter = "string",
Aliases = new[]
{
{
{ "aliasName", "string" },
{ "expression", "string" },
},
},
GroupBy = new[]
{
"string",
},
Description =
{
{ "string", "string" },
},
KpiName = "string",
CalculationWindowFieldName = "string",
ThresHolds =
{
{ "increasingKpi", false },
{ "lowerLimit", 0 },
{ "upperLimit", 0 },
},
Unit = "string",
});
example, err := customerinsights.NewKpi(ctx, "kpiResource", &customerinsights.KpiArgs{
Expression: "string",
CalculationWindow: "Lifetime",
ResourceGroupName: "string",
HubName: "string",
Function: "Sum",
EntityType: "None",
EntityTypeName: "string",
DisplayName: map[string]interface{}{
"string": "string",
},
Extracts: []map[string]interface{}{
map[string]interface{}{
"expression": "string",
"extractName": "string",
},
},
Filter: "string",
Aliases: []map[string]interface{}{
map[string]interface{}{
"aliasName": "string",
"expression": "string",
},
},
GroupBy: []string{
"string",
},
Description: map[string]interface{}{
"string": "string",
},
KpiName: "string",
CalculationWindowFieldName: "string",
ThresHolds: map[string]interface{}{
"increasingKpi": false,
"lowerLimit": 0,
"upperLimit": 0,
},
Unit: "string",
})
var kpiResource = new Kpi("kpiResource", KpiArgs.builder()
.expression("string")
.calculationWindow("Lifetime")
.resourceGroupName("string")
.hubName("string")
.function("Sum")
.entityType("None")
.entityTypeName("string")
.displayName(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.extracts(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.filter("string")
.aliases(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.groupBy("string")
.description(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.kpiName("string")
.calculationWindowFieldName("string")
.thresHolds(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.unit("string")
.build());
kpi_resource = azure_native.customerinsights.Kpi("kpiResource",
expression=string,
calculation_window=Lifetime,
resource_group_name=string,
hub_name=string,
function=Sum,
entity_type=None,
entity_type_name=string,
display_name={
string: string,
},
extracts=[{
expression: string,
extractName: string,
}],
filter=string,
aliases=[{
aliasName: string,
expression: string,
}],
group_by=[string],
description={
string: string,
},
kpi_name=string,
calculation_window_field_name=string,
thres_holds={
increasingKpi: False,
lowerLimit: 0,
upperLimit: 0,
},
unit=string)
const kpiResource = new azure_native.customerinsights.Kpi("kpiResource", {
expression: "string",
calculationWindow: "Lifetime",
resourceGroupName: "string",
hubName: "string",
"function": "Sum",
entityType: "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:
- Calculation
Window Pulumi.Azure Native. Customer Insights. Calculation Window Types - The calculation window.
- Entity
Type Pulumi.Azure Native. Customer Insights. Entity Types - The mapping entity type.
- Entity
Type 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.
- Hub
Name string - The name of the hub.
- Resource
Group stringName - The name of the resource group.
- Aliases
List<Pulumi.
Azure Native. Customer Insights. Inputs. Kpi Alias> - The aliases.
- Calculation
Window stringField Name - Name of calculation window field.
- Description Dictionary<string, string>
- Localized description for the KPI.
- Display
Name 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.
- Group
By List<string> - the group by properties for the KPI.
- Kpi
Name string - The name of the KPI.
- Thres
Holds Pulumi.Azure Native. Customer Insights. Inputs. Kpi Thresholds - 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 stringName - The mapping entity name.
- Expression string
- The computation expression for the KPI.
- Function
Kpi
Functions - The computation function for the KPI.
- Hub
Name string - The name of the hub.
- Resource
Group stringName - The name of the resource group.
- Aliases
[]Kpi
Alias Args - The aliases.
- Calculation
Window stringField Name - Name of calculation window field.
- Description map[string]string
- Localized description for the KPI.
- Display
Name map[string]string - Localized display name for the KPI.
- Extracts
[]Kpi
Extract Args - The KPI extracts.
- Filter string
- The filter expression for the KPI.
- Group
By []string - the group by properties for the KPI.
- Kpi
Name string - The name of the KPI.
- Thres
Holds KpiThresholds Args - 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 StringName - The mapping entity name.
- expression String
- The computation expression for the KPI.
- function
Kpi
Functions - The computation function for the KPI.
- hub
Name String - The name of the hub.
- resource
Group StringName - The name of the resource group.
- aliases
List<Kpi
Alias> - The aliases.
- calculation
Window StringField Name - Name of calculation window field.
- description Map<String,String>
- Localized description for the KPI.
- display
Name Map<String,String> - Localized display name for the KPI.
- extracts
List<Kpi
Extract> - The KPI extracts.
- filter String
- The filter expression for the KPI.
- group
By List<String> - the group by properties for the KPI.
- kpi
Name String - The name of the KPI.
- thres
Holds 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 stringName - The mapping entity name.
- expression string
- The computation expression for the KPI.
- function
Kpi
Functions - The computation function for the KPI.
- hub
Name string - The name of the hub.
- resource
Group stringName - The name of the resource group.
- aliases
Kpi
Alias[] - The aliases.
- calculation
Window stringField Name - Name of calculation window field.
- description {[key: string]: string}
- Localized description for the KPI.
- display
Name {[key: string]: string} - Localized display name for the KPI.
- extracts
Kpi
Extract[] - The KPI extracts.
- filter string
- The filter expression for the KPI.
- group
By string[] - the group by properties for the KPI.
- kpi
Name string - The name of the KPI.
- thres
Holds 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
Kpi
Functions - 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[Kpi
Alias 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[Kpi
Extract 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.
- calculation
Window "Lifetime" | "Hour" | "Day" | "Week" | "Month" - The calculation window.
- entity
Type "None" | "Profile" | "Interaction" | "Relationship" - The mapping entity type.
- entity
Type StringName - The mapping entity name.
- expression String
- The computation expression for the KPI.
- function
"Sum" | "Avg" | "Min" | "Max" | "Last" | "Count" | "None" | "Count
Distinct" - The computation function for the KPI.
- hub
Name String - The name of the hub.
- resource
Group StringName - The name of the resource group.
- aliases List<Property Map>
- The aliases.
- calculation
Window StringField Name - Name of calculation window field.
- description Map<String>
- Localized description for the KPI.
- display
Name Map<String> - Localized display name for the KPI.
- extracts List<Property Map>
- The KPI extracts.
- filter String
- The filter expression for the KPI.
- group
By List<String> - the group by properties for the KPI.
- kpi
Name String - The name of the KPI.
- thres
Holds 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:
- Group
By 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.
- Participant
Profiles List<Pulumi.Metadata Azure Native. Customer Insights. Outputs. Kpi Participant Profiles Metadata Response> - The participant profiles.
- Provisioning
State string - Provisioning state.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Group
By []KpiMetadata Group By Metadata Response - The KPI GroupByMetadata.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Participant
Profiles []KpiMetadata Participant Profiles Metadata Response - The participant profiles.
- Provisioning
State string - Provisioning state.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- group
By List<KpiMetadata Group By Metadata Response> - The KPI GroupByMetadata.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- participant
Profiles List<KpiMetadata Participant Profiles Metadata Response> - The participant profiles.
- provisioning
State String - Provisioning state.
- tenant
Id String - The hub name.
- type String
- Resource type.
- group
By KpiMetadata Group By Metadata Response[] - The KPI GroupByMetadata.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- participant
Profiles KpiMetadata Participant Profiles Metadata Response[] - The participant profiles.
- provisioning
State string - Provisioning state.
- tenant
Id 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.
- group
By List<Property Map>Metadata - The KPI GroupByMetadata.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- participant
Profiles List<Property Map>Metadata - The participant profiles.
- provisioning
State String - Provisioning state.
- tenant
Id String - The hub name.
- type String
- Resource type.
Supporting Types
CalculationWindowTypes, CalculationWindowTypesArgs
- Lifetime
- Lifetime
- Hour
- Hour
- Day
- Day
- Week
- Week
- Month
- Month
- Calculation
Window Types Lifetime - Lifetime
- Calculation
Window Types Hour - Hour
- Calculation
Window Types Day - Day
- Calculation
Window Types Week - Week
- Calculation
Window 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
- Entity
Types None - None
- Entity
Types Profile - Profile
- Entity
Types Interaction - Interaction
- Entity
Types 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
- Alias
Name string - KPI alias name.
- Expression string
- The expression.
- Alias
Name string - KPI alias name.
- Expression string
- The expression.
- alias
Name String - KPI alias name.
- expression String
- The expression.
- alias
Name string - KPI alias name.
- expression string
- The expression.
- alias_
name str - KPI alias name.
- expression str
- The expression.
- alias
Name String - KPI alias name.
- expression String
- The expression.
KpiAliasResponse, KpiAliasResponseArgs
- Alias
Name string - KPI alias name.
- Expression string
- The expression.
- Alias
Name string - KPI alias name.
- Expression string
- The expression.
- alias
Name String - KPI alias name.
- expression String
- The expression.
- alias
Name string - KPI alias name.
- expression string
- The expression.
- alias_
name str - KPI alias name.
- expression str
- The expression.
- alias
Name String - KPI alias name.
- expression String
- The expression.
KpiExtract, KpiExtractArgs
- Expression string
- The expression.
- Extract
Name string - KPI extract name.
- Expression string
- The expression.
- Extract
Name string - KPI extract name.
- expression String
- The expression.
- extract
Name String - KPI extract name.
- expression string
- The expression.
- extract
Name string - KPI extract name.
- expression str
- The expression.
- extract_
name str - KPI extract name.
- expression String
- The expression.
- extract
Name String - KPI extract name.
KpiExtractResponse, KpiExtractResponseArgs
- Expression string
- The expression.
- Extract
Name string - KPI extract name.
- Expression string
- The expression.
- Extract
Name string - KPI extract name.
- expression String
- The expression.
- extract
Name String - KPI extract name.
- expression string
- The expression.
- extract
Name string - KPI extract name.
- expression str
- The expression.
- extract_
name str - KPI extract name.
- expression String
- The expression.
- extract
Name String - KPI extract name.
KpiFunctions, KpiFunctionsArgs
- Sum
- Sum
- Avg
- Avg
- Min
- Min
- Max
- Max
- Last
- Last
- Count
- Count
- None
- None
- Count
Distinct - CountDistinct
- Kpi
Functions Sum - Sum
- Kpi
Functions Avg - Avg
- Kpi
Functions Min - Min
- Kpi
Functions Max - Max
- Kpi
Functions Last - Last
- Kpi
Functions Count - Count
- Kpi
Functions None - None
- Kpi
Functions Count Distinct - 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
- Count
Distinct - 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
- "Count
Distinct" - CountDistinct
KpiGroupByMetadataResponse, KpiGroupByMetadataResponseArgs
- Display
Name Dictionary<string, string> - The display name.
- Field
Name string - The name of the field.
- Field
Type string - The type of the field.
- Display
Name map[string]string - The display name.
- Field
Name string - The name of the field.
- Field
Type string - The type of the field.
- display
Name Map<String,String> - The display name.
- field
Name String - The name of the field.
- field
Type String - The type of the field.
- display
Name {[key: string]: string} - The display name.
- field
Name string - The name of the field.
- field
Type 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.
- display
Name Map<String> - The display name.
- field
Name String - The name of the field.
- field
Type String - The type of the field.
KpiParticipantProfilesMetadataResponse, KpiParticipantProfilesMetadataResponseArgs
- Type
Name string - Name of the type.
- Type
Name string - Name of the type.
- type
Name String - Name of the type.
- type
Name string - Name of the type.
- type_
name str - Name of the type.
- type
Name String - Name of the type.
KpiThresholds, KpiThresholdsArgs
- Increasing
Kpi bool - Whether or not the KPI is an increasing KPI.
- Lower
Limit double - The lower threshold limit.
- Upper
Limit double - The upper threshold limit.
- Increasing
Kpi bool - Whether or not the KPI is an increasing KPI.
- Lower
Limit float64 - The lower threshold limit.
- Upper
Limit float64 - The upper threshold limit.
- increasing
Kpi Boolean - Whether or not the KPI is an increasing KPI.
- lower
Limit Double - The lower threshold limit.
- upper
Limit Double - The upper threshold limit.
- increasing
Kpi boolean - Whether or not the KPI is an increasing KPI.
- lower
Limit number - The lower threshold limit.
- upper
Limit 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.
- increasing
Kpi Boolean - Whether or not the KPI is an increasing KPI.
- lower
Limit Number - The lower threshold limit.
- upper
Limit Number - The upper threshold limit.
KpiThresholdsResponse, KpiThresholdsResponseArgs
- Increasing
Kpi bool - Whether or not the KPI is an increasing KPI.
- Lower
Limit double - The lower threshold limit.
- Upper
Limit double - The upper threshold limit.
- Increasing
Kpi bool - Whether or not the KPI is an increasing KPI.
- Lower
Limit float64 - The lower threshold limit.
- Upper
Limit float64 - The upper threshold limit.
- increasing
Kpi Boolean - Whether or not the KPI is an increasing KPI.
- lower
Limit Double - The lower threshold limit.
- upper
Limit Double - The upper threshold limit.
- increasing
Kpi boolean - Whether or not the KPI is an increasing KPI.
- lower
Limit number - The lower threshold limit.
- upper
Limit 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.
- increasing
Kpi Boolean - Whether or not the KPI is an increasing KPI.
- lower
Limit Number - The lower threshold limit.
- upper
Limit 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/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0