Skip to main content

operation_statuses

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

Overview

Nameoperation_statuses
TypeResource
Idazure.log_analytics.operation_statuses

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe operation Id.
namestringThe operation name.
endTimestringThe end time of the operation.
errorobjectThe error detail of the operation if any.
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, async_operation_id, subscription_idGet 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
async_operation_idstringThe operation Id. Required.
locationstringThe name of the Azure region. Required.
subscription_idstring

SELECT examples

Get the status of a long running azure asynchronous operation.

SELECT
id,
name,
endTime,
error,
startTime,
status
FROM azure.log_analytics.operation_statuses
WHERE location = '{{ location }}' -- required
AND async_operation_id = '{{ async_operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;