Skip to main content

solution_inference

Creates, updates, deletes, gets or lists a solution_inference resource.

Overview

Namesolution_inference
TypeResource
Idazure_extras.agrifood_farming.solution_inference

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_or_updateinsertsolution_id, endpointCreates a job trigger for a solution.
create_or_updatereplacesolution_id, endpointCreates a job trigger for a solution.
cancelexecsolution_id, endpointCancels a job for given solution id.
fetchexecsolution_id, endpointFetches details of triggered job for a solution.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
solution_idstringId of the solution. Required.

INSERT examples

Creates a job trigger for a solution.

INSERT INTO azure_extras.agrifood_farming.solution_inference (
solution_id,
endpoint
)
SELECT
'{{ solution_id }}',
'{{ endpoint }}'
;

REPLACE examples

Creates a job trigger for a solution.

REPLACE azure_extras.agrifood_farming.solution_inference
SET
-- No updatable properties
WHERE
solution_id = '{{ solution_id }}' --required
AND endpoint = '{{ endpoint }}' --required;

Lifecycle Methods

Cancels a job for given solution id.

EXEC azure_extras.agrifood_farming.solution_inference.cancel 
@solution_id='{{ solution_id }}' --required,
@endpoint='{{ endpoint }}' --required
;