Skip to main content

operation_results

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

Overview

Nameoperation_results
TypeResource
Idazure.data_protection.operation_results

Fields

The following fields are returned by SELECT queries:

Contains additional information like job Id

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.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, operationId, locationGets 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
locationstring
operationIdstring
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the operation result for a resource

SELECT
jobId,
objectType
FROM azure.data_protection.operation_results
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND operationId = '{{ operationId }}' -- required
AND location = '{{ location }}' -- required
;