protection_policy_operation_status
Creates, updates, deletes, gets or lists a protection_policy_operation_status
resource.
Overview
Name | protection_policy_operation_status |
Type | Resource |
Id | azure.recovery_services_backup.protection_policy_operation_status |
Fields
- vw_protection_policy_operation_status
- protection_policy_operation_status
Name | Datatype | Description |
---|---|---|
id | text | ID of the operation. |
name | text | Name of the operation. |
end_time | text | field from the properties object |
error | text | Error information associated with operation status call. |
object_type | text | field from the properties object |
operationId | text | field from the properties object |
policyName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
start_time | text | field from the properties object |
status | text | Operation status. |
subscriptionId | text | field from the properties object |
vaultName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | ID of the operation. |
name | string | Name of the operation. |
endTime | string | Operation end time. Format: ISO-8601. |
error | object | Error information associated with operation status call. |
properties | object | Base class for additional information of operation status. |
startTime | string | Operation start time. Format: ISO-8601. |
status | string | Operation status. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | operationId, policyName, resourceGroupName, subscriptionId, vaultName | 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
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.
- vw_protection_policy_operation_status
- protection_policy_operation_status
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 }}';
SELECT
id,
name,
endTime,
error,
properties,
startTime,
status
FROM azure.recovery_services_backup.protection_policy_operation_status
WHERE operationId = '{{ operationId }}'
AND policyName = '{{ policyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';