Skip to main content

protection_policy_operation_status

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

Overview

Nameprotection_policy_operation_status
TypeResource
Idazure.recovery_services_backup.protection_policy_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
policyNametextfield 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, policyName, resourceGroupName, subscriptionId, vaultNameProvides the status of the asynchronous operations like backup, restore. The status can be in progress, completed

or failed. You can refer to the Operation Status enum for all the possible states of an operation. Some operations create jobs. This method returns the list of jobs associated with operation. |

SELECT examples

Provides the status of the asynchronous operations like backup, restore. The status can be in progress, completed or failed. You can refer to the Operation Status enum for all the possible states of an operation. Some operations create jobs. This method returns the list of jobs associated with operation.

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