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

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

NameAccessible byRequired ParamsDescription
getSELECToperationId, policyName, resourceGroupName, subscriptionId, vaultNameTracks the results of an asynchronous operation on the policy.

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 operationId = '{{ operationId }}'
AND policyName = '{{ policyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';