Skip to main content

operation_status

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

Overview

Nameoperation_status
TypeResource
Idazure.developer_loadtesting.operation_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique ID of the operation. Required.
errorobjectError object that describes the error when status is "Failed".
kindstringThe kind of the operation. Required. Known values are: "CloneTest", "GenerateTestRunInsights", and "TestPlanRecommendations". (CloneTest, GenerateTestRunInsights, TestPlanRecommendations)
statusstringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
get_operation_statusselectoperation_id, endpointGet 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.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
operation_idstringThe unique ID of the operation. Required.

SELECT examples

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
;