policy_operation_status
Creates, updates, deletes, gets or lists a policy_operation_status
resource.
Overview
Name | policy_operation_status |
Type | Resource |
Id | azure.data_replication.policy_operation_status |
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 | subscriptionId , resourceGroupName , vaultName , policyName , operationId | Tracks 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.
Name | Datatype | Description |
---|---|---|
operationId | string | The ID of an ongoing async operation. |
policyName | string | The policy name. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
vaultName | string | The vault name. |
SELECT
examples
- get
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
;