UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

68 lines (67 loc) 1.87 kB
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>; }