operation_statuses
Creates, updates, deletes, gets or lists an operation_statuses resource.
Overview
| Name | operation_statuses |
| Type | Resource |
| Id | azure.log_analytics.operation_statuses |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | The operation Id. |
name | string | The operation name. |
endTime | string | The end time of the operation. |
error | object | The error detail of the operation if any. |
startTime | string | The start time of the operation. |
status | string | The status of the operation. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, async_operation_id, subscription_id | Get 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.
| Name | Datatype | Description |
|---|---|---|
async_operation_id | string | The operation Id. Required. |
location | string | The name of the Azure region. Required. |
subscription_id | string |
SELECT examples
- get
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
;