operation_status
Creates, updates, deletes, gets or lists an operation_status resource.
Overview
| Name | operation_status |
| Type | Resource |
| Id | azure.developer_loadtesting.operation_status |
Fields
The following fields are returned by SELECT queries:
- get_operation_status
| Name | Datatype | Description |
|---|---|---|
id | string | The unique ID of the operation. Required. |
error | object | Error object that describes the error when status is "Failed". |
kind | string | The kind of the operation. Required. Known values are: "CloneTest", "GenerateTestRunInsights", and "TestPlanRecommendations". (CloneTest, GenerateTestRunInsights, TestPlanRecommendations) |
status | string | The state of the operation. Required. Known values are: "NotStarted", "Running", "Succeeded", "Failed", and "Canceled". (NotStarted, Running, Succeeded, Failed, Canceled) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_operation_status | select | operation_id, endpoint | Get the status of a long running operation. Get the status of 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.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
operation_id | string | The unique ID of the operation. Required. |
SELECT examples
- get_operation_status
Get the status of a long running operation. Get the status of a long running operation.
SELECT
id,
error,
kind,
status
FROM azure.developer_loadtesting.operation_status
WHERE operation_id = '{{ operation_id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;