Skip to main content

operation_results

Creates, updates, deletes, gets or lists an operation_results resource.

Overview

Nameoperation_results
TypeResource
Idazure.recovery_services_data_replication.operation_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringGets or sets the Id.
namestringGets or sets the operation name.
endTimestringGets or sets the end time.
startTimestringGets or sets the start time.
statusstringGets or sets the status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, operation_id, subscription_idGets the operation result status. Gets the operations.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
operation_idstringThe ID of an ongoing async operation. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets the operation result status. Gets the operations.

SELECT
id,
name,
endTime,
startTime,
status
FROM azure.recovery_services_data_replication.operation_results
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;