Skip to main content

operation_results

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

Overview

Nameoperation_results
TypeResource
Idazure.mysql.operation_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring (arm-id)Fully qualified ID for the async operation.
namestringName of the async operation.
endTimestring (date-time)The end time of the operation.
errorobjectIf present, details of the operation error.
operationsarrayThe operations list.
percentCompletenumberPercent of the operation that is complete.
propertiesobjectThe extended properties of Operation Results
resourceIdstring (arm-id)Fully qualified ID of the resource against which the original async operation was started.
startTimestring (date-time)The start time of the operation.
statusstringOperation status.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, locationName, operationId

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
locationNamestringThe name of the location.
operationIdstringThe operation Id.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

OK

SELECT
id,
name,
endTime,
error,
operations,
percentComplete,
properties,
resourceId,
startTime,
status
FROM azure.mysql.operation_results
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND locationName = '{{ locationName }}' -- required
AND operationId = '{{ operationId }}' -- required
;