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.47.1 published on Monday, Jun 24, 2024 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.47.1 published on Monday, Jun 24, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:customerinsights:getPrediction
arguments:
# arguments dictionary
The following arguments are supported:
- Hub
Name string - The name of the hub.
- Prediction
Name string - The name of the Prediction.
- Resource
Group stringName - The name of the resource group.
- Hub
Name string - The name of the hub.
- Prediction
Name string - The name of the Prediction.
- Resource
Group stringName - The name of the resource group.
- hub
Name String - The name of the hub.
- prediction
Name String - The name of the Prediction.
- resource
Group StringName - The name of the resource group.
- hub
Name string - The name of the hub.
- prediction
Name string - The name of the Prediction.
- resource
Group 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.
- hub
Name String - The name of the hub.
- prediction
Name String - The name of the Prediction.
- resource
Group StringName - The name of the resource group.
getPrediction Result
The following output properties are available:
- Auto
Analyze 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.
- Negative
Outcome stringExpression - Negative outcome expression.
- Positive
Outcome stringExpression - Positive outcome expression.
- Primary
Profile stringType - Primary profile type.
- Provisioning
State string - Provisioning state.
- Scope
Expression string - Scope expression.
- Score
Label string - Score label.
- System
Generated Pulumi.Entities Azure Native. Customer Insights. Outputs. Prediction Response System Generated Entities - System generated entities.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Description Dictionary<string, string>
- Description of the prediction.
- Display
Name Dictionary<string, string> - Display name of the prediction.
- Grades
List<Pulumi.
Azure Native. Customer Insights. Outputs. Prediction Response Grades> - The prediction grades.
- Involved
Interaction List<string>Types - Interaction types involved in the prediction.
- Involved
Kpi List<string>Types - KPI types involved in the prediction.
- Involved
Relationships List<string> - Relationships involved in the prediction.
- Prediction
Name string - Name of the prediction.
- Auto
Analyze bool - Whether do auto analyze.
- Id string
- Resource ID.
- Mappings
Prediction
Response Mappings - Definition of the link mapping of prediction.
- Name string
- Resource name.
- Negative
Outcome stringExpression - Negative outcome expression.
- Positive
Outcome stringExpression - Positive outcome expression.
- Primary
Profile stringType - Primary profile type.
- Provisioning
State string - Provisioning state.
- Scope
Expression string - Scope expression.
- Score
Label string - Score label.
- System
Generated PredictionEntities Response System Generated Entities - System generated entities.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Description map[string]string
- Description of the prediction.
- Display
Name map[string]string - Display name of the prediction.
- Grades
[]Prediction
Response Grades - The prediction grades.
- Involved
Interaction []stringTypes - Interaction types involved in the prediction.
- Involved
Kpi []stringTypes - KPI types involved in the prediction.
- Involved
Relationships []string - Relationships involved in the prediction.
- Prediction
Name string - Name of the prediction.
- auto
Analyze Boolean - Whether do auto analyze.
- id String
- Resource ID.
- mappings
Prediction
Response Mappings - Definition of the link mapping of prediction.
- name String
- Resource name.
- negative
Outcome StringExpression - Negative outcome expression.
- positive
Outcome StringExpression - Positive outcome expression.
- primary
Profile StringType - Primary profile type.
- provisioning
State String - Provisioning state.
- scope
Expression String - Scope expression.
- score
Label String - Score label.
- system
Generated PredictionEntities Response System Generated Entities - System generated entities.
- tenant
Id String - The hub name.
- type String
- Resource type.
- description Map<String,String>
- Description of the prediction.
- display
Name Map<String,String> - Display name of the prediction.
- grades
List<Prediction
Response Grades> - The prediction grades.
- involved
Interaction List<String>Types - Interaction types involved in the prediction.
- involved
Kpi List<String>Types - KPI types involved in the prediction.
- involved
Relationships List<String> - Relationships involved in the prediction.
- prediction
Name String - Name of the prediction.
- auto
Analyze boolean - Whether do auto analyze.
- id string
- Resource ID.
- mappings
Prediction
Response Mappings - Definition of the link mapping of prediction.
- name string
- Resource name.
- negative
Outcome stringExpression - Negative outcome expression.
- positive
Outcome stringExpression - Positive outcome expression.
- primary
Profile stringType - Primary profile type.
- provisioning
State string - Provisioning state.
- scope
Expression string - Scope expression.
- score
Label string - Score label.
- system
Generated PredictionEntities Response System Generated Entities - System generated entities.
- tenant
Id string - The hub name.
- type string
- Resource type.
- description {[key: string]: string}
- Description of the prediction.
- display
Name {[key: string]: string} - Display name of the prediction.
- grades
Prediction
Response Grades[] - The prediction grades.
- involved
Interaction string[]Types - Interaction types involved in the prediction.
- involved
Kpi string[]Types - KPI types involved in the prediction.
- involved
Relationships string[] - Relationships involved in the prediction.
- prediction
Name string - Name of the prediction.
- auto_
analyze bool - Whether do auto analyze.
- id str
- Resource ID.
- mappings
Prediction
Response 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[Prediction
Response 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.
- auto
Analyze Boolean - Whether do auto analyze.
- id String
- Resource ID.
- mappings Property Map
- Definition of the link mapping of prediction.
- name String
- Resource name.
- negative
Outcome StringExpression - Negative outcome expression.
- positive
Outcome StringExpression - Positive outcome expression.
- primary
Profile StringType - Primary profile type.
- provisioning
State String - Provisioning state.
- scope
Expression String - Scope expression.
- score
Label String - Score label.
- system
Generated Property MapEntities - System generated entities.
- tenant
Id String - The hub name.
- type String
- Resource type.
- description Map<String>
- Description of the prediction.
- display
Name Map<String> - Display name of the prediction.
- grades List<Property Map>
- The prediction grades.
- involved
Interaction List<String>Types - Interaction types involved in the prediction.
- involved
Kpi List<String>Types - KPI types involved in the prediction.
- involved
Relationships List<String> - Relationships involved in the prediction.
- prediction
Name String - Name of the prediction.
Supporting Types
PredictionResponseGrades
- Grade
Name string - Name of the grade.
- Max
Score intThreshold - Maximum score threshold.
- Min
Score intThreshold - Minimum score threshold.
- Grade
Name string - Name of the grade.
- Max
Score intThreshold - Maximum score threshold.
- Min
Score intThreshold - Minimum score threshold.
- grade
Name String - Name of the grade.
- max
Score IntegerThreshold - Maximum score threshold.
- min
Score IntegerThreshold - Minimum score threshold.
- grade
Name string - Name of the grade.
- max
Score numberThreshold - Maximum score threshold.
- min
Score numberThreshold - Minimum score threshold.
- grade_
name str - Name of the grade.
- max_
score_ intthreshold - Maximum score threshold.
- min_
score_ intthreshold - Minimum score threshold.
- grade
Name String - Name of the grade.
- max
Score NumberThreshold - Maximum score threshold.
- min
Score NumberThreshold - Minimum score threshold.
PredictionResponseMappings
PredictionResponseSystemGeneratedEntities
- Generated
Interaction List<string>Types - Generated interaction types.
- Generated
Kpis Dictionary<string, string> - Generated KPIs.
- Generated
Links List<string> - Generated links.
- Generated
Interaction []stringTypes - Generated interaction types.
- Generated
Kpis map[string]string - Generated KPIs.
- Generated
Links []string - Generated links.
- generated
Interaction List<String>Types - Generated interaction types.
- generated
Kpis Map<String,String> - Generated KPIs.
- generated
Links List<String> - Generated links.
- generated
Interaction string[]Types - Generated interaction types.
- generated
Kpis {[key: string]: string} - Generated KPIs.
- generated
Links string[] - Generated links.
- generated_
interaction_ Sequence[str]types - Generated interaction types.
- generated_
kpis Mapping[str, str] - Generated KPIs.
- generated_
links Sequence[str] - Generated links.
- generated
Interaction List<String>Types - Generated interaction types.
- generated
Kpis Map<String> - Generated KPIs.
- generated
Links 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.47.1 published on Monday, Jun 24, 2024 by Pulumi