operation_status
Creates, updates, deletes, gets or lists an operation_status
resource.
Overview
Name | operation_status |
Type | Resource |
Id | azure.terraform.operation_status |
Fields
The following fields are returned by SELECT
queries:
- get
The request has succeeded.
Name | Datatype | Description |
---|---|---|
id | string | The operation status resource id. |
name | string | The operation name. |
endTime | string (date-time) | The end time of the operation. |
error | object | The error detail. |
percentComplete | number (double) | The progress percentage of the operation, ranges from 0 to 100 |
properties | object | The Terraform export result |
resourceId | string | The fully qualified resource id of the resource for which the operation was performed. |
startTime | string (date-time) | The start time of the operation. |
status | string | The status of the operation. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | operationId , subscriptionId | Get the status of a long running azure asynchronous 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 |
---|---|---|
operationId | string | The ID of an ongoing async operation. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
Get the status of a long running azure asynchronous operation.
SELECT
id,
name,
endTime,
error,
percentComplete,
properties,
resourceId,
startTime,
status
FROM azure.terraform.operation_status
WHERE operationId = '{{ operationId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;