Predictions interface

Interface representing a Predictions.

Methods

beginCreateOrUpdate(string, string, string, PredictionResourceFormat, PredictionsCreateOrUpdateOptionalParams)

Creates a Prediction or updates an existing Prediction in the hub.

beginCreateOrUpdateAndWait(string, string, string, PredictionResourceFormat, PredictionsCreateOrUpdateOptionalParams)

Creates a Prediction or updates an existing Prediction in the hub.

beginDelete(string, string, string, PredictionsDeleteOptionalParams)

Deletes a Prediction in the hub.

beginDeleteAndWait(string, string, string, PredictionsDeleteOptionalParams)

Deletes a Prediction in the hub.

get(string, string, string, PredictionsGetOptionalParams)

Gets a Prediction in the hub.

getModelStatus(string, string, string, PredictionsGetModelStatusOptionalParams)

Gets model status of the prediction.

getTrainingResults(string, string, string, PredictionsGetTrainingResultsOptionalParams)

Gets training results.

listByHub(string, string, PredictionsListByHubOptionalParams)

Gets all the predictions in the specified hub.

modelStatus(string, string, string, PredictionModelStatus, PredictionsModelStatusOptionalParams)

Creates or updates the model status of prediction.

Method Details

beginCreateOrUpdate(string, string, string, PredictionResourceFormat, PredictionsCreateOrUpdateOptionalParams)

Creates a Prediction or updates an existing Prediction in the hub.

function beginCreateOrUpdate(resourceGroupName: string, hubName: string, predictionName: string, parameters: PredictionResourceFormat, options?: PredictionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PredictionResourceFormat>, PredictionResourceFormat>>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

predictionName

string

The name of the Prediction.

parameters
PredictionResourceFormat

Parameters supplied to the create/update Prediction operation.

options
PredictionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<PredictionResourceFormat>, PredictionResourceFormat>>

beginCreateOrUpdateAndWait(string, string, string, PredictionResourceFormat, PredictionsCreateOrUpdateOptionalParams)

Creates a Prediction or updates an existing Prediction in the hub.

function beginCreateOrUpdateAndWait(resourceGroupName: string, hubName: string, predictionName: string, parameters: PredictionResourceFormat, options?: PredictionsCreateOrUpdateOptionalParams): Promise<PredictionResourceFormat>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

predictionName

string

The name of the Prediction.

parameters
PredictionResourceFormat

Parameters supplied to the create/update Prediction operation.

options
PredictionsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, PredictionsDeleteOptionalParams)

Deletes a Prediction in the hub.

function beginDelete(resourceGroupName: string, hubName: string, predictionName: string, options?: PredictionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

predictionName

string

The name of the Prediction.

options
PredictionsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, PredictionsDeleteOptionalParams)

Deletes a Prediction in the hub.

function beginDeleteAndWait(resourceGroupName: string, hubName: string, predictionName: string, options?: PredictionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

predictionName

string

The name of the Prediction.

options
PredictionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, PredictionsGetOptionalParams)

Gets a Prediction in the hub.

function get(resourceGroupName: string, hubName: string, predictionName: string, options?: PredictionsGetOptionalParams): Promise<PredictionResourceFormat>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

predictionName

string

The name of the Prediction.

options
PredictionsGetOptionalParams

The options parameters.

Returns

getModelStatus(string, string, string, PredictionsGetModelStatusOptionalParams)

Gets model status of the prediction.

function getModelStatus(resourceGroupName: string, hubName: string, predictionName: string, options?: PredictionsGetModelStatusOptionalParams): Promise<PredictionModelStatus>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

predictionName

string

The name of the Prediction.

options
PredictionsGetModelStatusOptionalParams

The options parameters.

Returns

getTrainingResults(string, string, string, PredictionsGetTrainingResultsOptionalParams)

Gets training results.

function getTrainingResults(resourceGroupName: string, hubName: string, predictionName: string, options?: PredictionsGetTrainingResultsOptionalParams): Promise<PredictionTrainingResults>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

predictionName

string

The name of the Prediction.

options
PredictionsGetTrainingResultsOptionalParams

The options parameters.

Returns

listByHub(string, string, PredictionsListByHubOptionalParams)

Gets all the predictions in the specified hub.

function listByHub(resourceGroupName: string, hubName: string, options?: PredictionsListByHubOptionalParams): PagedAsyncIterableIterator<PredictionResourceFormat, PredictionResourceFormat[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

options
PredictionsListByHubOptionalParams

The options parameters.

Returns

modelStatus(string, string, string, PredictionModelStatus, PredictionsModelStatusOptionalParams)

Creates or updates the model status of prediction.

function modelStatus(resourceGroupName: string, hubName: string, predictionName: string, parameters: PredictionModelStatus, options?: PredictionsModelStatusOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

hubName

string

The name of the hub.

predictionName

string

The name of the Prediction.

parameters
PredictionModelStatus

Parameters supplied to the create/update prediction model status operation.

options
PredictionsModelStatusOptionalParams

The options parameters.

Returns

Promise<void>