1. Packages
  2. Azure Native v2
  3. API Docs
  4. customerinsights
  5. getPredictionTrainingResults
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.customerinsights.getPredictionTrainingResults

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets training results. Azure REST API version: 2017-04-26.

Using getPredictionTrainingResults

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 getPredictionTrainingResults(args: GetPredictionTrainingResultsArgs, opts?: InvokeOptions): Promise<GetPredictionTrainingResultsResult>
function getPredictionTrainingResultsOutput(args: GetPredictionTrainingResultsOutputArgs, opts?: InvokeOptions): Output<GetPredictionTrainingResultsResult>
Copy
def get_prediction_training_results(hub_name: Optional[str] = None,
                                    prediction_name: Optional[str] = None,
                                    resource_group_name: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetPredictionTrainingResultsResult
def get_prediction_training_results_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[GetPredictionTrainingResultsResult]
Copy
func GetPredictionTrainingResults(ctx *Context, args *GetPredictionTrainingResultsArgs, opts ...InvokeOption) (*GetPredictionTrainingResultsResult, error)
func GetPredictionTrainingResultsOutput(ctx *Context, args *GetPredictionTrainingResultsOutputArgs, opts ...InvokeOption) GetPredictionTrainingResultsResultOutput
Copy

> Note: This function is named GetPredictionTrainingResults in the Go SDK.

public static class GetPredictionTrainingResults 
{
    public static Task<GetPredictionTrainingResultsResult> InvokeAsync(GetPredictionTrainingResultsArgs args, InvokeOptions? opts = null)
    public static Output<GetPredictionTrainingResultsResult> Invoke(GetPredictionTrainingResultsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPredictionTrainingResultsResult> getPredictionTrainingResults(GetPredictionTrainingResultsArgs args, InvokeOptions options)
public static Output<GetPredictionTrainingResultsResult> getPredictionTrainingResults(GetPredictionTrainingResultsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:customerinsights:getPredictionTrainingResults
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

HubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the hub.
PredictionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Prediction.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
HubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the hub.
PredictionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Prediction.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
hubName
This property is required.
Changes to this property will trigger replacement.
String
The name of the hub.
predictionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Prediction.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
hubName
This property is required.
Changes to this property will trigger replacement.
string
The name of the hub.
predictionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Prediction.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
hub_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the hub.
prediction_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Prediction.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
hubName
This property is required.
Changes to this property will trigger replacement.
String
The name of the hub.
predictionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Prediction.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

getPredictionTrainingResults Result

The following output properties are available:

CanonicalProfiles []CanonicalProfileDefinitionResponse
Canonical profiles.
PredictionDistribution PredictionDistributionDefinitionResponse
Prediction distribution.
PrimaryProfileInstanceCount float64
Instance count of the primary profile.
ScoreName string
Score name.
TenantId string
The hub name.
canonicalProfiles List<CanonicalProfileDefinitionResponse>
Canonical profiles.
predictionDistribution PredictionDistributionDefinitionResponse
Prediction distribution.
primaryProfileInstanceCount Double
Instance count of the primary profile.
scoreName String
Score name.
tenantId String
The hub name.
canonicalProfiles CanonicalProfileDefinitionResponse[]
Canonical profiles.
predictionDistribution PredictionDistributionDefinitionResponse
Prediction distribution.
primaryProfileInstanceCount number
Instance count of the primary profile.
scoreName string
Score name.
tenantId string
The hub name.
canonical_profiles Sequence[CanonicalProfileDefinitionResponse]
Canonical profiles.
prediction_distribution PredictionDistributionDefinitionResponse
Prediction distribution.
primary_profile_instance_count float
Instance count of the primary profile.
score_name str
Score name.
tenant_id str
The hub name.
canonicalProfiles List<Property Map>
Canonical profiles.
predictionDistribution Property Map
Prediction distribution.
primaryProfileInstanceCount Number
Instance count of the primary profile.
scoreName String
Score name.
tenantId String
The hub name.

Supporting Types

CanonicalProfileDefinitionResponse

CanonicalProfileId int
Canonical profile ID.
Properties []CanonicalProfileDefinitionResponseProperties
Properties of the canonical profile.
canonicalProfileId Integer
Canonical profile ID.
properties List<CanonicalProfileDefinitionResponseProperties>
Properties of the canonical profile.
canonicalProfileId number
Canonical profile ID.
properties CanonicalProfileDefinitionResponseProperties[]
Properties of the canonical profile.
canonical_profile_id int
Canonical profile ID.
properties Sequence[CanonicalProfileDefinitionResponseProperties]
Properties of the canonical profile.
canonicalProfileId Number
Canonical profile ID.
properties List<Property Map>
Properties of the canonical profile.

CanonicalProfileDefinitionResponseProperties

ProfileName string
Profile name.
ProfilePropertyName string
Property name of profile.
Rank int
The rank.
Type string
Type of canonical property value.
Value string
Value of the canonical property.
ProfileName string
Profile name.
ProfilePropertyName string
Property name of profile.
Rank int
The rank.
Type string
Type of canonical property value.
Value string
Value of the canonical property.
profileName String
Profile name.
profilePropertyName String
Property name of profile.
rank Integer
The rank.
type String
Type of canonical property value.
value String
Value of the canonical property.
profileName string
Profile name.
profilePropertyName string
Property name of profile.
rank number
The rank.
type string
Type of canonical property value.
value string
Value of the canonical property.
profile_name str
Profile name.
profile_property_name str
Property name of profile.
rank int
The rank.
type str
Type of canonical property value.
value str
Value of the canonical property.
profileName String
Profile name.
profilePropertyName String
Property name of profile.
rank Number
The rank.
type String
Type of canonical property value.
value String
Value of the canonical property.

PredictionDistributionDefinitionResponse

Distributions List<Pulumi.AzureNative.CustomerInsights.Inputs.PredictionDistributionDefinitionResponseDistributions>
Distributions of the prediction.
TotalNegatives double
Total negatives in the distribution.
TotalPositives double
Total positive in the distribution.
Distributions []PredictionDistributionDefinitionResponseDistributions
Distributions of the prediction.
TotalNegatives float64
Total negatives in the distribution.
TotalPositives float64
Total positive in the distribution.
distributions List<PredictionDistributionDefinitionResponseDistributions>
Distributions of the prediction.
totalNegatives Double
Total negatives in the distribution.
totalPositives Double
Total positive in the distribution.
distributions PredictionDistributionDefinitionResponseDistributions[]
Distributions of the prediction.
totalNegatives number
Total negatives in the distribution.
totalPositives number
Total positive in the distribution.
distributions Sequence[PredictionDistributionDefinitionResponseDistributions]
Distributions of the prediction.
total_negatives float
Total negatives in the distribution.
total_positives float
Total positive in the distribution.
distributions List<Property Map>
Distributions of the prediction.
totalNegatives Number
Total negatives in the distribution.
totalPositives Number
Total positive in the distribution.

PredictionDistributionDefinitionResponseDistributions

Negatives double
Number of negatives.
NegativesAboveThreshold double
Number of negatives above threshold.
Positives double
Number of positives.
PositivesAboveThreshold double
Number of positives above threshold.
ScoreThreshold int
Score threshold.
Negatives float64
Number of negatives.
NegativesAboveThreshold float64
Number of negatives above threshold.
Positives float64
Number of positives.
PositivesAboveThreshold float64
Number of positives above threshold.
ScoreThreshold int
Score threshold.
negatives Double
Number of negatives.
negativesAboveThreshold Double
Number of negatives above threshold.
positives Double
Number of positives.
positivesAboveThreshold Double
Number of positives above threshold.
scoreThreshold Integer
Score threshold.
negatives number
Number of negatives.
negativesAboveThreshold number
Number of negatives above threshold.
positives number
Number of positives.
positivesAboveThreshold number
Number of positives above threshold.
scoreThreshold number
Score threshold.
negatives float
Number of negatives.
negatives_above_threshold float
Number of negatives above threshold.
positives float
Number of positives.
positives_above_threshold float
Number of positives above threshold.
score_threshold int
Score threshold.
negatives Number
Number of negatives.
negativesAboveThreshold Number
Number of negatives above threshold.
positives Number
Number of positives.
positivesAboveThreshold Number
Number of positives above threshold.
scoreThreshold Number
Score threshold.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi