Skip to main content

operation_status

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

Overview

Nameoperation_status
TypeResource
Idazure.log_analytics.operation_status

Fields

The following fields are returned by SELECT queries:

OK. Operation status.

NameDatatypeDescription
idstringThe operation Id.
namestringThe operation name.
endTimestringThe end time of the operation.
errorobjectThe error detail of the operation if any. (title: Error Response)
startTimestringThe start time of the operation.
statusstringThe status of the operation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, asyncOperationId, subscriptionIdGet the status of a long running azure asynchronous 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
asyncOperationIdstringThe operation Id.
locationstringThe region name of operation.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get the status of a long running azure asynchronous operation.

SELECT
id,
name,
endTime,
error,
startTime,
status
FROM azure.log_analytics.operation_status
WHERE location = '{{ location }}' -- required
AND asyncOperationId = '{{ asyncOperationId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;