Skip to main content

vault_operation_status

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

Overview

Namevault_operation_status
TypeResource
Idazure.data_replication.vault_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, operationIdTracks the results of an asynchronous operation on the vault.

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.
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 vault.

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