Skip to main content

policy_operation_status

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

Overview

Namepolicy_operation_status
TypeResource
Idazure.data_replication.policy_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, vaultName, policyName, operationIdTracks the results of an asynchronous operation on the policy.

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
operationIdstringThe ID of an ongoing async operation.
policyNamestringThe policy name.
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.
vaultNamestringThe vault name.

SELECT examples

Tracks the results of an asynchronous operation on the policy.

SELECT
id,
name,
endTime,
startTime,
status
FROM azure.data_replication.policy_operation_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND vaultName = '{{ vaultName }}' -- required
AND policyName = '{{ policyName }}' -- required
AND operationId = '{{ operationId }}' -- required
;