backup_operation_status
Creates, updates, deletes, gets or lists a backup_operation_status
resource.
Overview
Name | backup_operation_status |
Type | Resource |
Id | azure.recovery_services_backup.backup_operation_status |
Fields
- vw_backup_operation_status
- backup_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 |
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, 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 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.
- vw_backup_operation_status
- backup_operation_status
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 }}';
SELECT
id,
name,
endTime,
error,
properties,
startTime,
status
FROM azure.recovery_services_backup.backup_operation_status
WHERE operationId = '{{ operationId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';