Skip to main content

operation_results

Creates, updates, deletes, gets or lists an operation_results resource.

Overview

Nameoperation_results
TypeResource
Idazure_extras.health_data_services.operation_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the operation returned.
namestringThe name of the operation result.
endTimestringThe time that the operation finished.
propertiesobjectAdditional properties of the operation result.
startTimestringThe time that the operation was started.
statusstringThe status of the operation being performed. Known values are: "Canceled", "Succeeded", "Failed", "Requested", and "Running". (Canceled, Succeeded, Failed, Requested, Running)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation_name, operation_result_id, subscription_idGet the operation result for a long running operation.

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
location_namestringThe location of the operation. Required.
operation_result_idstringThe ID of the operation result to get. Required.
subscription_idstring

SELECT examples

Get the operation result for a long running operation.

SELECT
id,
name,
endTime,
properties,
startTime,
status
FROM azure_extras.health_data_services.operation_results
WHERE location_name = '{{ location_name }}' -- required
AND operation_result_id = '{{ operation_result_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;