operation_status
Creates, updates, deletes, gets or lists a operation_status
resource.
Overview
Name | operation_status |
Type | Resource |
Id | azure.recovery_services.operation_status |
Fields
Name | Datatype | Description |
---|---|---|
id | string | It should match what is used to GET the operation result |
name | string | It must match the last segment of the "id" field, and will typically be a GUID / system generated value |
endTime | string | End time of the operation |
error | object | The resource management error response. |
startTime | string | Start time of the operation |
status | string | The status of the operation. (InProgress/Success/Failed/Cancelled) |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | operationId, resourceGroupName, subscriptionId, vaultName | Gets the operation status for a resource. |
SELECT
examples
Gets the operation status for a resource.
SELECT
id,
name,
endTime,
error,
startTime,
status
FROM azure.recovery_services.operation_status
WHERE operationId = '{{ operationId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';