Skip to main content

operation_status

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

Overview

Nameoperation_status
TypeResource
Idazure.storage_sync.operation_status

Fields

The following fields are returned by SELECT queries:

Operation Status

NameDatatypeDescription
namestringOperation Id
endTimestring (date-time)End time of the operation
errorobjectError details.
startTimestring (date-time)Start time of the operation
statusstringOperation status

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, locationName, workflowId, operationIdGet Operation status

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
locationNamestringThe desired region to obtain information from.
operationIdstringoperation Id
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
workflowIdstringworkflow Id

SELECT examples

Get Operation status

SELECT
name,
endTime,
error,
startTime,
status
FROM azure.storage_sync.operation_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND locationName = '{{ locationName }}' -- required
AND workflowId = '{{ workflowId }}' -- required
AND operationId = '{{ operationId }}' -- required
;