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.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.73.0 published on Wednesday, Nov 20, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:customerinsights:getKpi
arguments:
# arguments dictionary
The following arguments are supported:
- Hub
Name string - The name of the hub.
- Kpi
Name string - The name of the KPI.
- Resource
Group stringName - The name of the resource group.
- Hub
Name string - The name of the hub.
- Kpi
Name string - The name of the KPI.
- Resource
Group stringName - The name of the resource group.
- hub
Name String - The name of the hub.
- kpi
Name String - The name of the KPI.
- resource
Group StringName - The name of the resource group.
- hub
Name string - The name of the hub.
- kpi
Name string - The name of the KPI.
- resource
Group 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.
- hub
Name String - The name of the hub.
- kpi
Name String - The name of the KPI.
- resource
Group StringName - The name of the resource group.
getKpi Result
The following output properties are available:
- Calculation
Window string - The calculation window.
- Entity
Type string - The mapping entity type.
- Entity
Type stringName - The mapping entity name.
- Expression string
- The computation expression for the KPI.
- Function string
- The computation function for the KPI.
- Group
By List<Pulumi.Metadata Azure Native. Customer Insights. Outputs. Kpi Group By Metadata Response> - The KPI GroupByMetadata.
- Id string
- Resource ID.
- Kpi
Name string - The KPI name.
- 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.
- Aliases
List<Pulumi.
Azure Native. Customer Insights. Outputs. Kpi Alias Response> - 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. Outputs. Kpi Extract Response> - The KPI extracts.
- Filter string
- The filter expression for the KPI.
- Group
By List<string> - the group by properties for the KPI.
- Thres
Holds Pulumi.Azure Native. Customer Insights. Outputs. Kpi Thresholds Response - The KPI thresholds.
- Unit string
- The unit of measurement for the KPI.
- Calculation
Window string - The calculation window.
- Entity
Type string - The mapping entity type.
- Entity
Type stringName - The mapping entity name.
- Expression string
- The computation expression for the KPI.
- Function string
- The computation function for the KPI.
- Group
By []KpiMetadata Group By Metadata Response - The KPI GroupByMetadata.
- Id string
- Resource ID.
- Kpi
Name string - The KPI name.
- 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.
- Aliases
[]Kpi
Alias Response - 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 Response - The KPI extracts.
- Filter string
- The filter expression for the KPI.
- Group
By []string - the group by properties for the KPI.
- Thres
Holds KpiThresholds Response - The KPI thresholds.
- Unit string
- The unit of measurement for the KPI.
- calculation
Window String - The calculation window.
- entity
Type String - The mapping entity type.
- entity
Type StringName - The mapping entity name.
- expression String
- The computation expression for the KPI.
- function String
- The computation function for the KPI.
- group
By List<KpiMetadata Group By Metadata Response> - The KPI GroupByMetadata.
- id String
- Resource ID.
- kpi
Name String - The KPI name.
- 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.
- aliases
List<Kpi
Alias Response> - 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 Response> - The KPI extracts.
- filter String
- The filter expression for the KPI.
- group
By List<String> - the group by properties for the KPI.
- thres
Holds KpiThresholds Response - The KPI thresholds.
- unit String
- The unit of measurement for the KPI.
- calculation
Window string - The calculation window.
- entity
Type string - The mapping entity type.
- entity
Type stringName - The mapping entity name.
- expression string
- The computation expression for the KPI.
- function string
- The computation function for the KPI.
- group
By KpiMetadata Group By Metadata Response[] - The KPI GroupByMetadata.
- id string
- Resource ID.
- kpi
Name string - The KPI name.
- 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.
- aliases
Kpi
Alias Response[] - 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 Response[] - The KPI extracts.
- filter string
- The filter expression for the KPI.
- group
By string[] - the group by properties for the KPI.
- thres
Holds 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[Kpi
Alias 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[Kpi
Extract 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.
- calculation
Window String - The calculation window.
- entity
Type String - The mapping entity type.
- entity
Type StringName - The mapping entity name.
- expression String
- The computation expression for the KPI.
- function String
- The computation function for the KPI.
- group
By List<Property Map>Metadata - The KPI GroupByMetadata.
- id String
- Resource ID.
- kpi
Name String - The KPI name.
- 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.
- 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.
- thres
Holds Property Map - The KPI thresholds.
- unit String
- The unit of measurement for the KPI.
Supporting Types
KpiAliasResponse
- 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.
KpiExtractResponse
- 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.
KpiGroupByMetadataResponse
- 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
- 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.
KpiThresholdsResponse
- 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.
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