Skip to main content

operation_status

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

Overview

Nameoperation_status
TypeResource
Idazure.recovery_services.operation_status

Fields

NameDatatypeDescription
idstringIt should match what is used to GET the operation result
namestringIt must match the last segment of the "id" field, and will typically be a GUID / system generated value
endTimestringEnd time of the operation
errorobjectThe resource management error response.
startTimestringStart time of the operation
statusstringThe status of the operation. (InProgress/Success/Failed/Cancelled)

Methods

NameAccessible byRequired ParamsDescription
getSELECToperationId, resourceGroupName, subscriptionId, vaultNameGets the operation status for a resource.

SELECT examples

Gets the operation status for a resource.

SELECT
id,
name,
endTime,
error,
startTime,
status
FROM azure.recovery_services.operation_status
WHERE operationId = '{{ operationId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';