protected_item_operation_status
Creates, updates, deletes, gets or lists a protected_item_operation_status
resource.
Overview
Name | protected_item_operation_status |
Type | Resource |
Id | azure.recovery_services_backup.protected_item_operation_status |
Fields
- vw_protected_item_operation_status
- protected_item_operation_status
Name | Datatype | Description |
---|---|---|
id | text | ID of the operation. |
name | text | Name of the operation. |
containerName | text | field from the properties object |
end_time | text | field from the properties object |
error | text | Error information associated with operation status call. |
fabricName | text | field from the properties object |
object_type | text | field from the properties object |
operationId | text | field from the properties object |
protectedItemName | 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 | containerName, fabricName, operationId, protectedItemName, resourceGroupName, subscriptionId, vaultName | 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
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.
- vw_protected_item_operation_status
- protected_item_operation_status
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 }}';
SELECT
id,
name,
endTime,
error,
properties,
startTime,
status
FROM azure.recovery_services_backup.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 }}';