operation_status
Creates, updates, deletes, gets or lists an operation_status resource.
Overview
| Name | operation_status |
| Type | Resource |
| Id | azure.log_analytics.operation_status |
Fields
The following fields are returned by SELECT queries:
- get
OK. Operation status.
| 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. (title: Error Response) |
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, asyncOperationId, subscriptionId | 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 |
|---|---|---|
asyncOperationId | string | The operation Id. |
location | string | The region name of operation. |
subscriptionId | string | The ID of the target subscription. |
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_status
WHERE location = '{{ location }}' -- required
AND asyncOperationId = '{{ asyncOperationId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;