Skip to main content

operation_result

Creates, updates, deletes, gets or lists an operation_result resource.

Overview

Nameoperation_result
TypeResource
Idazure.data_protection.operation_result

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
jobIdstringName or Arm Id of the job created for this operation.
objectTypestringThis property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. Required. Default value is "OperationJobExtendedInfo".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectoperation_id, location, subscription_idGets the operation status for a resource. Gets the operation result for a resource.

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
locationstringThe name of the Azure region. Required.
operation_idstringRequired.
subscription_idstring

SELECT examples

Gets the operation status for a resource. Gets the operation result for a resource.

SELECT
jobId,
objectType
FROM azure.data_protection.operation_result
WHERE operation_id = '{{ operation_id }}' -- required
AND location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;