Skip to main content

dra_operation_status

Creates, updates, deletes, gets or lists a dra_operation_status resource.

Overview

Namedra_operation_status
TypeResource
Idazure.data_replication.dra_operation_status

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
getselectsubscriptionId, resourceGroupName, fabricName, fabricAgentName, operationIdTracks the results of an asynchronous operation on the fabric agent.

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
fabricAgentNamestringThe fabric agent (Dra) name.
fabricNamestringThe fabric name.
operationIdstringThe ID of an ongoing async operation.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Tracks the results of an asynchronous operation on the fabric agent.

SELECT
id,
name,
endTime,
startTime,
status
FROM azure.data_replication.dra_operation_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND fabricName = '{{ fabricName }}' -- required
AND fabricAgentName = '{{ fabricAgentName }}' -- required
AND operationId = '{{ operationId }}' -- required
;