PredictionsClient Interface

public interface PredictionsClient

An instance of this class provides access to all the operations defined in PredictionsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<PredictionResourceFormatInner>,PredictionResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String predictionName, PredictionResourceFormatInner parameters)

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

abstract SyncPoller<PollResult<PredictionResourceFormatInner>,PredictionResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String predictionName, PredictionResourceFormatInner parameters, Context context)

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

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String hubName, String predictionName)

Deletes a Prediction in the hub.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String hubName, String predictionName, Context context)

Deletes a Prediction in the hub.

abstract PredictionResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String predictionName, PredictionResourceFormatInner parameters)

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

abstract PredictionResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String predictionName, PredictionResourceFormatInner parameters, Context context)

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

abstract void delete(String resourceGroupName, String hubName, String predictionName)

Deletes a Prediction in the hub.

abstract void delete(String resourceGroupName, String hubName, String predictionName, Context context)

Deletes a Prediction in the hub.

abstract PredictionResourceFormatInner get(String resourceGroupName, String hubName, String predictionName)

Gets a Prediction in the hub.

abstract PredictionModelStatusInner getModelStatus(String resourceGroupName, String hubName, String predictionName)

Gets model status of the prediction.

abstract Response<PredictionModelStatusInner> getModelStatusWithResponse(String resourceGroupName, String hubName, String predictionName, Context context)

Gets model status of the prediction.

abstract PredictionTrainingResultsInner getTrainingResults(String resourceGroupName, String hubName, String predictionName)

Gets training results.

abstract Response<PredictionTrainingResultsInner> getTrainingResultsWithResponse(String resourceGroupName, String hubName, String predictionName, Context context)

Gets training results.

abstract Response<PredictionResourceFormatInner> getWithResponse(String resourceGroupName, String hubName, String predictionName, Context context)

Gets a Prediction in the hub.

abstract PagedIterable<PredictionResourceFormatInner> listByHub(String resourceGroupName, String hubName)

Gets all the predictions in the specified hub.

abstract PagedIterable<PredictionResourceFormatInner> listByHub(String resourceGroupName, String hubName, Context context)

Gets all the predictions in the specified hub.

abstract void modelStatus(String resourceGroupName, String hubName, String predictionName, PredictionModelStatusInner parameters)

Creates or updates the model status of prediction.

abstract Response<Void> modelStatusWithResponse(String resourceGroupName, String hubName, String predictionName, PredictionModelStatusInner parameters, Context context)

Creates or updates the model status of prediction.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,PredictionResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String predictionName, PredictionResourceFormatInner parameters)

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

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
parameters - Parameters supplied to the create/update Prediction operation.

Returns:

the SyncPoller<T,U> for polling of the prediction resource format.

beginCreateOrUpdate

public abstract SyncPoller<>,PredictionResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String predictionName, PredictionResourceFormatInner parameters, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
parameters - Parameters supplied to the create/update Prediction operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the prediction resource format.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String hubName, String predictionName)

Deletes a Prediction in the hub.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String hubName, String predictionName, Context context)

Deletes a Prediction in the hub.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

createOrUpdate

public abstract PredictionResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String predictionName, PredictionResourceFormatInner parameters)

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

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
parameters - Parameters supplied to the create/update Prediction operation.

Returns:

the prediction resource format.

createOrUpdate

public abstract PredictionResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String predictionName, PredictionResourceFormatInner parameters, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
parameters - Parameters supplied to the create/update Prediction operation.
context - The context to associate with this operation.

Returns:

the prediction resource format.

delete

public abstract void delete(String resourceGroupName, String hubName, String predictionName)

Deletes a Prediction in the hub.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.

delete

public abstract void delete(String resourceGroupName, String hubName, String predictionName, Context context)

Deletes a Prediction in the hub.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
context - The context to associate with this operation.

get

public abstract PredictionResourceFormatInner get(String resourceGroupName, String hubName, String predictionName)

Gets a Prediction in the hub.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.

Returns:

a Prediction in the hub.

getModelStatus

public abstract PredictionModelStatusInner getModelStatus(String resourceGroupName, String hubName, String predictionName)

Gets model status of the prediction.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.

Returns:

model status of the prediction.

getModelStatusWithResponse

public abstract Response getModelStatusWithResponse(String resourceGroupName, String hubName, String predictionName, Context context)

Gets model status of the prediction.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
context - The context to associate with this operation.

Returns:

model status of the prediction along with Response<T>.

getTrainingResults

public abstract PredictionTrainingResultsInner getTrainingResults(String resourceGroupName, String hubName, String predictionName)

Gets training results.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.

Returns:

training results.

getTrainingResultsWithResponse

public abstract Response getTrainingResultsWithResponse(String resourceGroupName, String hubName, String predictionName, Context context)

Gets training results.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
context - The context to associate with this operation.

Returns:

training results along with Response<T>.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String hubName, String predictionName, Context context)

Gets a Prediction in the hub.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
context - The context to associate with this operation.

Returns:

a Prediction in the hub along with Response<T>.

listByHub

public abstract PagedIterable listByHub(String resourceGroupName, String hubName)

Gets all the predictions in the specified hub.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.

Returns:

all the predictions in the specified hub as paginated response with PagedIterable<T>.

listByHub

public abstract PagedIterable listByHub(String resourceGroupName, String hubName, Context context)

Gets all the predictions in the specified hub.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
context - The context to associate with this operation.

Returns:

all the predictions in the specified hub as paginated response with PagedIterable<T>.

modelStatus

public abstract void modelStatus(String resourceGroupName, String hubName, String predictionName, PredictionModelStatusInner parameters)

Creates or updates the model status of prediction.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
parameters - Parameters supplied to the create/update prediction model status operation.

modelStatusWithResponse

public abstract Response modelStatusWithResponse(String resourceGroupName, String hubName, String predictionName, PredictionModelStatusInner parameters, Context context)

Creates or updates the model status of prediction.

Parameters:

resourceGroupName - The name of the resource group.
hubName - The name of the hub.
predictionName - The name of the Prediction.
parameters - Parameters supplied to the create/update prediction model status operation.
context - The context to associate with this operation.

Returns:

Applies to