operation_status
Creates, updates, deletes, gets or lists a operation_status
resource.
Overview
Name | operation_status |
Type | Resource |
Id | azure.terraform.operation_status |
Fields
- vw_operation_status
- operation_status
Name | Datatype | Description |
---|---|---|
id | text | The operation status resource id. |
name | text | The operation name. |
configuration | text | field from the properties object |
end_time | text | field from the properties object |
error | text | The error detail. |
errors | text | field from the properties object |
operationId | text | field from the properties object |
percent_complete | text | field from the properties object |
resource_id | text | field from the properties object |
skipped_resources | text | field from the properties object |
start_time | text | field from the properties object |
status | text | The status of the operation. |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | The operation status resource id. |
name | string | The operation name. |
endTime | string | The end time of the operation. |
error | object | The error detail. |
percentComplete | number | 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 | The start time of the operation. |
status | string | The status of the operation. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | operationId, subscriptionId | Get the status of a long running azure asynchronous operation. |
SELECT
examples
Get the status of a long running azure asynchronous operation.
- vw_operation_status
- operation_status
SELECT
id,
name,
configuration,
end_time,
error,
errors,
operationId,
percent_complete,
resource_id,
skipped_resources,
start_time,
status,
subscriptionId
FROM azure.terraform.vw_operation_status
WHERE operationId = '{{ operationId }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
endTime,
error,
percentComplete,
properties,
resourceId,
startTime,
status
FROM azure.terraform.operation_status
WHERE operationId = '{{ operationId }}'
AND subscriptionId = '{{ subscriptionId }}';