@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.87 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets training results.
*
* Uses Azure REST API version 2017-04-26.
*/
export declare function getPredictionTrainingResults(args: GetPredictionTrainingResultsArgs, opts?: pulumi.InvokeOptions): Promise<GetPredictionTrainingResultsResult>;
export interface GetPredictionTrainingResultsArgs {
/**
* The name of the hub.
*/
hubName: string;
/**
* The name of the Prediction.
*/
predictionName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
}
/**
* The training results of the prediction.
*/
export interface GetPredictionTrainingResultsResult {
/**
* Canonical profiles.
*/
readonly canonicalProfiles: outputs.customerinsights.CanonicalProfileDefinitionResponse[];
/**
* Prediction distribution.
*/
readonly predictionDistribution: outputs.customerinsights.PredictionDistributionDefinitionResponse;
/**
* Instance count of the primary profile.
*/
readonly primaryProfileInstanceCount: number;
/**
* Score name.
*/
readonly scoreName: string;
/**
* The hub name.
*/
readonly tenantId: string;
}
/**
* Gets training results.
*
* Uses Azure REST API version 2017-04-26.
*/
export declare function getPredictionTrainingResultsOutput(args: GetPredictionTrainingResultsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPredictionTrainingResultsResult>;
export interface GetPredictionTrainingResultsOutputArgs {
/**
* The name of the hub.
*/
hubName: pulumi.Input<string>;
/**
* The name of the Prediction.
*/
predictionName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
}