This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.customerinsights.getKpi
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets a KPI in the hub. Azure REST API version: 2017-04-26.
Using getKpi
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 getKpi(args: GetKpiArgs, opts?: InvokeOptions): Promise<GetKpiResult>
function getKpiOutput(args: GetKpiOutputArgs, opts?: InvokeOptions): Output<GetKpiResult>def get_kpi(hub_name: Optional[str] = None,
            kpi_name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> GetKpiResult
def get_kpi_output(hub_name: Optional[pulumi.Input[str]] = None,
            kpi_name: Optional[pulumi.Input[str]] = None,
            resource_group_name: Optional[pulumi.Input[str]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[GetKpiResult]func LookupKpi(ctx *Context, args *LookupKpiArgs, opts ...InvokeOption) (*LookupKpiResult, error)
func LookupKpiOutput(ctx *Context, args *LookupKpiOutputArgs, opts ...InvokeOption) LookupKpiResultOutput> Note: This function is named LookupKpi in the Go SDK.
public static class GetKpi 
{
    public static Task<GetKpiResult> InvokeAsync(GetKpiArgs args, InvokeOptions? opts = null)
    public static Output<GetKpiResult> Invoke(GetKpiInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKpiResult> getKpi(GetKpiArgs args, InvokeOptions options)
public static Output<GetKpiResult> getKpi(GetKpiArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:customerinsights:getKpi
  arguments:
    # arguments dictionaryThe following arguments are supported:
- HubName string
- The name of the hub.
- KpiName string
- The name of the KPI.
- ResourceGroup stringName 
- The name of the resource group.
- HubName string
- The name of the hub.
- KpiName string
- The name of the KPI.
- ResourceGroup stringName 
- The name of the resource group.
- hubName String
- The name of the hub.
- kpiName String
- The name of the KPI.
- resourceGroup StringName 
- The name of the resource group.
- hubName string
- The name of the hub.
- kpiName string
- The name of the KPI.
- resourceGroup stringName 
- The name of the resource group.
- hub_name str
- The name of the hub.
- kpi_name str
- The name of the KPI.
- resource_group_ strname 
- The name of the resource group.
- hubName String
- The name of the hub.
- kpiName String
- The name of the KPI.
- resourceGroup StringName 
- The name of the resource group.
getKpi Result
The following output properties are available:
- CalculationWindow string
- The calculation window.
- EntityType string
- The mapping entity type.
- EntityType stringName 
- The mapping entity name.
- Expression string
- The computation expression for the KPI.
- Function string
- The computation function for the KPI.
- GroupBy List<Pulumi.Metadata Azure Native. Customer Insights. Outputs. Kpi Group By Metadata Response> 
- The KPI GroupByMetadata.
- Id string
- Resource ID.
- KpiName string
- The KPI name.
- 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.
- Aliases
List<Pulumi.Azure Native. Customer Insights. Outputs. Kpi Alias Response> 
- 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. Outputs. Kpi Extract Response> 
- The KPI extracts.
- Filter string
- The filter expression for the KPI.
- GroupBy List<string>
- the group by properties for the KPI.
- ThresHolds Pulumi.Azure Native. Customer Insights. Outputs. Kpi Thresholds Response 
- The KPI thresholds.
- Unit string
- The unit of measurement for the KPI.
- CalculationWindow string
- The calculation window.
- EntityType string
- The mapping entity type.
- EntityType stringName 
- The mapping entity name.
- Expression string
- The computation expression for the KPI.
- Function string
- The computation function for the KPI.
- GroupBy []KpiMetadata Group By Metadata Response 
- The KPI GroupByMetadata.
- Id string
- Resource ID.
- KpiName string
- The KPI name.
- 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.
- Aliases
[]KpiAlias Response 
- 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 Response 
- The KPI extracts.
- Filter string
- The filter expression for the KPI.
- GroupBy []string
- the group by properties for the KPI.
- ThresHolds KpiThresholds Response 
- The KPI thresholds.
- Unit string
- The unit of measurement for the KPI.
- calculationWindow String
- The calculation window.
- entityType String
- The mapping entity type.
- entityType StringName 
- The mapping entity name.
- expression String
- The computation expression for the KPI.
- function String
- The computation function for the KPI.
- groupBy List<KpiMetadata Group By Metadata Response> 
- The KPI GroupByMetadata.
- id String
- Resource ID.
- kpiName String
- The KPI name.
- 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.
- aliases
List<KpiAlias Response> 
- 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 Response> 
- The KPI extracts.
- filter String
- The filter expression for the KPI.
- groupBy List<String>
- the group by properties for the KPI.
- thresHolds KpiThresholds Response 
- The KPI thresholds.
- unit String
- The unit of measurement for the KPI.
- calculationWindow string
- The calculation window.
- entityType string
- The mapping entity type.
- entityType stringName 
- The mapping entity name.
- expression string
- The computation expression for the KPI.
- function string
- The computation function for the KPI.
- groupBy KpiMetadata Group By Metadata Response[] 
- The KPI GroupByMetadata.
- id string
- Resource ID.
- kpiName string
- The KPI name.
- 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.
- aliases
KpiAlias Response[] 
- 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 Response[] 
- The KPI extracts.
- filter string
- The filter expression for the KPI.
- groupBy string[]
- the group by properties for the KPI.
- thresHolds KpiThresholds Response 
- The KPI thresholds.
- unit string
- The unit of measurement for the KPI.
- calculation_window str
- The calculation window.
- entity_type str
- The mapping entity type.
- entity_type_ strname 
- The mapping entity name.
- expression str
- The computation expression for the KPI.
- function str
- The computation function for the KPI.
- group_by_ Sequence[Kpimetadata Group By Metadata Response] 
- The KPI GroupByMetadata.
- id str
- Resource ID.
- kpi_name str
- The KPI name.
- 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.
- aliases
Sequence[KpiAlias Response] 
- 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 Response] 
- The KPI extracts.
- filter str
- The filter expression for the KPI.
- group_by Sequence[str]
- the group by properties for the KPI.
- thres_holds KpiThresholds Response 
- The KPI thresholds.
- unit str
- The unit of measurement for the KPI.
- calculationWindow String
- The calculation window.
- entityType String
- The mapping entity type.
- entityType StringName 
- The mapping entity name.
- expression String
- The computation expression for the KPI.
- function String
- The computation function for the KPI.
- groupBy List<Property Map>Metadata 
- The KPI GroupByMetadata.
- id String
- Resource ID.
- kpiName String
- The KPI name.
- 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.
- 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.
- thresHolds Property Map
- The KPI thresholds.
- unit String
- The unit of measurement for the KPI.
Supporting Types
KpiAliasResponse  
- 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.
KpiExtractResponse  
- 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.
KpiGroupByMetadataResponse    
- 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    
- 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.
KpiThresholdsResponse  
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi