Skip to main content

backup_operation_status

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

Overview

Namebackup_operation_status
TypeResource
Idazure.recovery_services_backup.backup_operation_status

Fields

NameDatatypeDescription
idtextID of the operation.
nametextName of the operation.
end_timetextfield from the properties object
errortextError information associated with operation status call.
object_typetextfield from the properties object
operationIdtextfield from the properties object
resourceGroupNametextfield from the properties object
start_timetextfield from the properties object
statustextOperation status.
subscriptionIdtextfield from the properties object
vaultNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECToperationId, resourceGroupName, subscriptionId, vaultNameFetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed

or failed. You can refer to the OperationStatus enum for all the possible states of an operation. Some operations create jobs. This method returns the list of jobs when the operation is complete. |

SELECT examples

Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed or failed. You can refer to the OperationStatus enum for all the possible states of an operation. Some operations create jobs. This method returns the list of jobs when the operation is complete.

SELECT
id,
name,
end_time,
error,
object_type,
operationId,
resourceGroupName,
start_time,
status,
subscriptionId,
vaultName
FROM azure.recovery_services_backup.vw_backup_operation_status
WHERE operationId = '{{ operationId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';