Skip to main content

protected_item_operation_status

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

Overview

Nameprotected_item_operation_status
TypeResource
Idazure.recovery_services_backup.protected_item_operation_status

Fields

NameDatatypeDescription
idtextID of the operation.
nametextName of the operation.
containerNametextfield from the properties object
end_timetextfield from the properties object
errortextError information associated with operation status call.
fabricNametextfield from the properties object
object_typetextfield from the properties object
operationIdtextfield from the properties object
protectedItemNametextfield 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
getSELECTcontainerName, fabricName, operationId, protectedItemName, 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 the operation. Some operations create jobs. This method returns the list of jobs associated with the operation. |

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 the operation. Some operations create jobs. This method returns the list of jobs associated with the operation.

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