Interface Predictions


public interface Predictions
Resource collection API of Predictions.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<PredictionResourceFormat> getWithResponse(String resourceGroupName, String hubName, String predictionName, com.azure.core.util.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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      PredictionResourceFormat 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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String hubName, String predictionName, com.azure.core.util.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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getTrainingResultsWithResponse

      com.azure.core.http.rest.Response<PredictionTrainingResults> getTrainingResultsWithResponse(String resourceGroupName, String hubName, String predictionName, com.azure.core.util.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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getTrainingResults

      PredictionTrainingResults 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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getModelStatusWithResponse

      com.azure.core.http.rest.Response<PredictionModelStatus> getModelStatusWithResponse(String resourceGroupName, String hubName, String predictionName, com.azure.core.util.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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getModelStatus

      PredictionModelStatus 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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • modelStatusWithResponse

      com.azure.core.http.rest.Response<Void> modelStatusWithResponse(String resourceGroupName, String hubName, String predictionName, PredictionModelStatusInner parameters, com.azure.core.util.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:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • modelStatus

      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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByHub

      com.azure.core.http.rest.PagedIterable<PredictionResourceFormat> 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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByHub

      com.azure.core.http.rest.PagedIterable<PredictionResourceFormat> listByHub(String resourceGroupName, String hubName, com.azure.core.util.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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getById

      Gets a Prediction in the hub.
      Parameters:
      id - the resource ID.
      Returns:
      a Prediction in the hub along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<PredictionResourceFormat> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets a Prediction in the hub.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      a Prediction in the hub along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteById

      void deleteById(String id)
      Deletes a Prediction in the hub.
      Parameters:
      id - the resource ID.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes a Prediction in the hub.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • define

      Begins definition for a new PredictionResourceFormat resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new PredictionResourceFormat definition.