The hubs/predictions resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.CustomerInsights/hubs/predictions resource, add the following JSON to your template.
{
"type": "Microsoft.CustomerInsights/hubs/predictions",
"apiVersion": "2017-04-26",
"name": "string",
"properties": {
"autoAnalyze": "bool",
"description": {},
"displayName": {},
"grades": [
{
"gradeName": "string",
"maxScoreThreshold": "int",
"minScoreThreshold": "int"
}
],
"involvedInteractionTypes": [ "string" ],
"involvedKpiTypes": [ "string" ],
"involvedRelationships": [ "string" ],
"mappings": {
"grade": "string",
"reason": "string",
"score": "string"
},
"negativeOutcomeExpression": "string",
"positiveOutcomeExpression": "string",
"predictionName": "string",
"primaryProfileType": "string",
"scopeExpression": "string",
"scoreLabel": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.CustomerInsights/hubs/predictions' |
apiVersion | The resource api version | '2017-04-26' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) Character limit: 1-512 Valid characters: Alphanumerics and underscores. Start with letter. |
properties | The prediction definition. | Prediction |
Name | Description | Value |
---|---|---|
autoAnalyze | Whether do auto analyze. | bool (required) |
description | Description of the prediction. | object |
displayName | Display name of the prediction. | object |
grades | The prediction grades. | PredictionGradesItem[] |
involvedInteractionTypes | Interaction types involved in the prediction. | string[] |
involvedKpiTypes | KPI types involved in the prediction. | string[] |
involvedRelationships | Relationships involved in the prediction. | string[] |
mappings | Definition of the link mapping of prediction. | PredictionMappings (required) |
negativeOutcomeExpression | Negative outcome expression. | string (required) |
positiveOutcomeExpression | Positive outcome expression. | string (required) |
predictionName | Name of the prediction. | string |
primaryProfileType | Primary profile type. | string (required) |
scopeExpression | Scope expression. | string (required) |
scoreLabel | Score label. | string (required) |
Name | Description | Value |
---|---|---|
gradeName | Name of the grade. | string |
maxScoreThreshold | Maximum score threshold. | int |
minScoreThreshold | Minimum score threshold. | int |
Name | Description | Value |
---|---|---|
grade | The grade of the link mapping. | string (required) |
reason | The reason of the link mapping. | string (required) |
score | The score of the link mapping. | string (required) |