Skip to main content

operation_progress

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

Overview

Nameoperation_progress
TypeResource
Idazure.mysql_flexible_servers.operation_progress

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully 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.
objectTypestringIdentifies the type of source operation. Required. Known values are: "BackupAndExportResponse" and "ImportFromStorageResponse".
operationsarrayThe operations list.
percentCompletenumberPercent of the operation that is complete.
resourceIdstringFully qualified ID of the resource against which the original async operation was started.
startTimestring (date-time)The start time of the operation.
statusstringOperation status. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation_name, operation_id, subscription_idGet the operation result for a long running operation. Get the operation result for a long running operation.

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
location_namestringThe name of the location. Required.
operation_idstringThe ID of an ongoing async operation. Required.
subscription_idstring

SELECT examples

Get the operation result for a long running operation. Get the operation result for a long running operation.

SELECT
id,
name,
endTime,
error,
objectType,
operations,
percentComplete,
resourceId,
startTime,
status
FROM azure.mysql_flexible_servers.operation_progress
WHERE location_name = '{{ location_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;