operation_results
Creates, updates, deletes, gets or lists an operation_results resource.
Overview
| Name | operation_results |
| Type | Resource |
| Id | azure.recovery_services_data_replication.operation_results |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the Id. |
name | string | Gets or sets the operation name. |
endTime | string | Gets or sets the end time. |
startTime | string | Gets or sets the start time. |
status | string | Gets 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, operation_id, subscription_id | Gets 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.
| Name | Datatype | Description |
|---|---|---|
operation_id | string | The ID of an ongoing async operation. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get
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
;