Skip to main content

async_operation_status

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

Overview

Nameasync_operation_status
TypeResource
Idazure.redis.async_operation_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified ID for the async operation.
namestringName of the async operation.
endTimestring (date-time)The end time of the operation.
errorobjectIf present, details of the operation error.
operationsarrayThe operations list.
percentCompletenumberPercent of the operation that is complete.
propertiesobjectAdditional properties from RP, only when operation is successful.
startTimestring (date-time)The start time of the operation.
statusstringOperation status. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, operation_id, subscription_idFor checking the ongoing status of an 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
locationstringThe location at which operation was triggered. Required.
operation_idstringThe ID of asynchronous operation. Required.
subscription_idstring

SELECT examples

For checking the ongoing status of an operation.

SELECT
id,
name,
endTime,
error,
operations,
percentComplete,
properties,
startTime,
status
FROM azure.redis.async_operation_status
WHERE location = '{{ location }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;