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.getPrediction
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 Prediction in the hub. Azure REST API version: 2017-04-26.
Using getPrediction
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 getPrediction(args: GetPredictionArgs, opts?: InvokeOptions): Promise<GetPredictionResult>
function getPredictionOutput(args: GetPredictionOutputArgs, opts?: InvokeOptions): Output<GetPredictionResult>def get_prediction(hub_name: Optional[str] = None,
                   prediction_name: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetPredictionResult
def get_prediction_output(hub_name: Optional[pulumi.Input[str]] = None,
                   prediction_name: Optional[pulumi.Input[str]] = None,
                   resource_group_name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetPredictionResult]func LookupPrediction(ctx *Context, args *LookupPredictionArgs, opts ...InvokeOption) (*LookupPredictionResult, error)
func LookupPredictionOutput(ctx *Context, args *LookupPredictionOutputArgs, opts ...InvokeOption) LookupPredictionResultOutput> Note: This function is named LookupPrediction in the Go SDK.
public static class GetPrediction 
{
    public static Task<GetPredictionResult> InvokeAsync(GetPredictionArgs args, InvokeOptions? opts = null)
    public static Output<GetPredictionResult> Invoke(GetPredictionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPredictionResult> getPrediction(GetPredictionArgs args, InvokeOptions options)
public static Output<GetPredictionResult> getPrediction(GetPredictionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:customerinsights:getPrediction
  arguments:
    # arguments dictionaryThe following arguments are supported:
- HubName string
- The name of the hub.
- PredictionName string
- The name of the Prediction.
- ResourceGroup stringName 
- The name of the resource group.
- HubName string
- The name of the hub.
- PredictionName string
- The name of the Prediction.
- ResourceGroup stringName 
- The name of the resource group.
- hubName String
- The name of the hub.
- predictionName String
- The name of the Prediction.
- resourceGroup StringName 
- The name of the resource group.
- hubName string
- The name of the hub.
- predictionName string
- The name of the Prediction.
- resourceGroup stringName 
- The name of the resource group.
- hub_name str
- The name of the hub.
- prediction_name str
- The name of the Prediction.
- resource_group_ strname 
- The name of the resource group.
- hubName String
- The name of the hub.
- predictionName String
- The name of the Prediction.
- resourceGroup StringName 
- The name of the resource group.
getPrediction Result
The following output properties are available:
- AutoAnalyze bool
- Whether do auto analyze.
- Id string
- Resource ID.
- Mappings
Pulumi.Azure Native. Customer Insights. Outputs. Prediction Response Mappings 
- Definition of the link mapping of prediction.
- Name string
- Resource name.
- NegativeOutcome stringExpression 
- Negative outcome expression.
- PositiveOutcome stringExpression 
- Positive outcome expression.
- PrimaryProfile stringType 
- Primary profile type.
- ProvisioningState string
- Provisioning state.
- ScopeExpression string
- Scope expression.
- ScoreLabel string
- Score label.
- SystemGenerated Pulumi.Entities Azure Native. Customer Insights. Outputs. Prediction Response System Generated Entities 
- System generated entities.
- TenantId string
- The hub name.
- Type string
- Resource type.
- Description Dictionary<string, string>
- Description of the prediction.
- DisplayName Dictionary<string, string>
- Display name of the prediction.
- Grades
List<Pulumi.Azure Native. Customer Insights. Outputs. Prediction Response Grades> 
- The prediction grades.
- InvolvedInteraction List<string>Types 
- Interaction types involved in the prediction.
- InvolvedKpi List<string>Types 
- KPI types involved in the prediction.
- InvolvedRelationships List<string>
- Relationships involved in the prediction.
- PredictionName string
- Name of the prediction.
- AutoAnalyze bool
- Whether do auto analyze.
- Id string
- Resource ID.
- Mappings
PredictionResponse Mappings 
- Definition of the link mapping of prediction.
- Name string
- Resource name.
- NegativeOutcome stringExpression 
- Negative outcome expression.
- PositiveOutcome stringExpression 
- Positive outcome expression.
- PrimaryProfile stringType 
- Primary profile type.
- ProvisioningState string
- Provisioning state.
- ScopeExpression string
- Scope expression.
- ScoreLabel string
- Score label.
- SystemGenerated PredictionEntities Response System Generated Entities 
- System generated entities.
- TenantId string
- The hub name.
- Type string
- Resource type.
- Description map[string]string
- Description of the prediction.
- DisplayName map[string]string
- Display name of the prediction.
- Grades
[]PredictionResponse Grades 
- The prediction grades.
- InvolvedInteraction []stringTypes 
- Interaction types involved in the prediction.
- InvolvedKpi []stringTypes 
- KPI types involved in the prediction.
- InvolvedRelationships []string
- Relationships involved in the prediction.
- PredictionName string
- Name of the prediction.
- autoAnalyze Boolean
- Whether do auto analyze.
- id String
- Resource ID.
- mappings
PredictionResponse Mappings 
- Definition of the link mapping of prediction.
- name String
- Resource name.
- negativeOutcome StringExpression 
- Negative outcome expression.
- positiveOutcome StringExpression 
- Positive outcome expression.
- primaryProfile StringType 
- Primary profile type.
- provisioningState String
- Provisioning state.
- scopeExpression String
- Scope expression.
- scoreLabel String
- Score label.
- systemGenerated PredictionEntities Response System Generated Entities 
- System generated entities.
- tenantId String
- The hub name.
- type String
- Resource type.
- description Map<String,String>
- Description of the prediction.
- displayName Map<String,String>
- Display name of the prediction.
- grades
List<PredictionResponse Grades> 
- The prediction grades.
- involvedInteraction List<String>Types 
- Interaction types involved in the prediction.
- involvedKpi List<String>Types 
- KPI types involved in the prediction.
- involvedRelationships List<String>
- Relationships involved in the prediction.
- predictionName String
- Name of the prediction.
- autoAnalyze boolean
- Whether do auto analyze.
- id string
- Resource ID.
- mappings
PredictionResponse Mappings 
- Definition of the link mapping of prediction.
- name string
- Resource name.
- negativeOutcome stringExpression 
- Negative outcome expression.
- positiveOutcome stringExpression 
- Positive outcome expression.
- primaryProfile stringType 
- Primary profile type.
- provisioningState string
- Provisioning state.
- scopeExpression string
- Scope expression.
- scoreLabel string
- Score label.
- systemGenerated PredictionEntities Response System Generated Entities 
- System generated entities.
- tenantId string
- The hub name.
- type string
- Resource type.
- description {[key: string]: string}
- Description of the prediction.
- displayName {[key: string]: string}
- Display name of the prediction.
- grades
PredictionResponse Grades[] 
- The prediction grades.
- involvedInteraction string[]Types 
- Interaction types involved in the prediction.
- involvedKpi string[]Types 
- KPI types involved in the prediction.
- involvedRelationships string[]
- Relationships involved in the prediction.
- predictionName string
- Name of the prediction.
- auto_analyze bool
- Whether do auto analyze.
- id str
- Resource ID.
- mappings
PredictionResponse Mappings 
- Definition of the link mapping of prediction.
- name str
- Resource name.
- negative_outcome_ strexpression 
- Negative outcome expression.
- positive_outcome_ strexpression 
- Positive outcome expression.
- primary_profile_ strtype 
- Primary profile type.
- provisioning_state str
- Provisioning state.
- scope_expression str
- Scope expression.
- score_label str
- Score label.
- system_generated_ Predictionentities Response System Generated Entities 
- System generated entities.
- tenant_id str
- The hub name.
- type str
- Resource type.
- description Mapping[str, str]
- Description of the prediction.
- display_name Mapping[str, str]
- Display name of the prediction.
- grades
Sequence[PredictionResponse Grades] 
- The prediction grades.
- involved_interaction_ Sequence[str]types 
- Interaction types involved in the prediction.
- involved_kpi_ Sequence[str]types 
- KPI types involved in the prediction.
- involved_relationships Sequence[str]
- Relationships involved in the prediction.
- prediction_name str
- Name of the prediction.
- autoAnalyze Boolean
- Whether do auto analyze.
- id String
- Resource ID.
- mappings Property Map
- Definition of the link mapping of prediction.
- name String
- Resource name.
- negativeOutcome StringExpression 
- Negative outcome expression.
- positiveOutcome StringExpression 
- Positive outcome expression.
- primaryProfile StringType 
- Primary profile type.
- provisioningState String
- Provisioning state.
- scopeExpression String
- Scope expression.
- scoreLabel String
- Score label.
- systemGenerated Property MapEntities 
- System generated entities.
- tenantId String
- The hub name.
- type String
- Resource type.
- description Map<String>
- Description of the prediction.
- displayName Map<String>
- Display name of the prediction.
- grades List<Property Map>
- The prediction grades.
- involvedInteraction List<String>Types 
- Interaction types involved in the prediction.
- involvedKpi List<String>Types 
- KPI types involved in the prediction.
- involvedRelationships List<String>
- Relationships involved in the prediction.
- predictionName String
- Name of the prediction.
Supporting Types
PredictionResponseGrades  
- GradeName string
- Name of the grade.
- MaxScore intThreshold 
- Maximum score threshold.
- MinScore intThreshold 
- Minimum score threshold.
- GradeName string
- Name of the grade.
- MaxScore intThreshold 
- Maximum score threshold.
- MinScore intThreshold 
- Minimum score threshold.
- gradeName String
- Name of the grade.
- maxScore IntegerThreshold 
- Maximum score threshold.
- minScore IntegerThreshold 
- Minimum score threshold.
- gradeName string
- Name of the grade.
- maxScore numberThreshold 
- Maximum score threshold.
- minScore numberThreshold 
- Minimum score threshold.
- grade_name str
- Name of the grade.
- max_score_ intthreshold 
- Maximum score threshold.
- min_score_ intthreshold 
- Minimum score threshold.
- gradeName String
- Name of the grade.
- maxScore NumberThreshold 
- Maximum score threshold.
- minScore NumberThreshold 
- Minimum score threshold.
PredictionResponseMappings  
PredictionResponseSystemGeneratedEntities    
- GeneratedInteraction List<string>Types 
- Generated interaction types.
- GeneratedKpis Dictionary<string, string>
- Generated KPIs.
- GeneratedLinks List<string>
- Generated links.
- GeneratedInteraction []stringTypes 
- Generated interaction types.
- GeneratedKpis map[string]string
- Generated KPIs.
- GeneratedLinks []string
- Generated links.
- generatedInteraction List<String>Types 
- Generated interaction types.
- generatedKpis Map<String,String>
- Generated KPIs.
- generatedLinks List<String>
- Generated links.
- generatedInteraction string[]Types 
- Generated interaction types.
- generatedKpis {[key: string]: string}
- Generated KPIs.
- generatedLinks string[]
- Generated links.
- generated_interaction_ Sequence[str]types 
- Generated interaction types.
- generated_kpis Mapping[str, str]
- Generated KPIs.
- generated_links Sequence[str]
- Generated links.
- generatedInteraction List<String>Types 
- Generated interaction types.
- generatedKpis Map<String>
- Generated KPIs.
- generatedLinks List<String>
- Generated links.
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