Predictions interface
Interface representing a Predictions.
Methods
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.
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.
The options parameters.
Returns
Promise<PredictionResourceFormat>
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
Promise<PredictionResourceFormat>
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.
The options parameters.
Returns
Promise<PredictionModelStatus>
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.
The options parameters.
Returns
Promise<PredictionTrainingResults>
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.
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.
The options parameters.
Returns
Promise<void>