operation_progress
Creates, updates, deletes, gets or lists an operation_progress resource.
Overview
| Name | operation_progress |
| Type | Resource |
| Id | azure.mysql_flexible_servers.operation_progress |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified ID for the async operation. |
name | string | Name of the async operation. |
endTime | string (date-time) | The end time of the operation. |
error | object | If present, details of the operation error. |
objectType | string | Identifies the type of source operation. Required. Known values are: "BackupAndExportResponse" and "ImportFromStorageResponse". |
operations | array | The operations list. |
percentComplete | number | Percent of the operation that is complete. |
resourceId | string | Fully qualified ID of the resource against which the original async operation was started. |
startTime | string (date-time) | The start time of the operation. |
status | string | Operation status. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location_name, operation_id, subscription_id | Get 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.
| Name | Datatype | Description |
|---|---|---|
location_name | string | The name of the location. Required. |
operation_id | string | The ID of an ongoing async operation. Required. |
subscription_id | string |
SELECT examples
- get
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
;