translation_status
Creates, updates, deletes, gets or lists a translation_status resource.
Overview
| Name | translation_status |
| Type | Resource |
| Id | azure.ai_translation_document.translation_status |
Fields
The following fields are returned by SELECT queries:
- get_translation_status
| Name | Datatype | Description |
|---|---|---|
id | string | Id of the translation operation. Required. |
createdDateTimeUtc | string (date-time) | Operation created date time. Required. |
error | object | This contains an outer error with error code, message, details, target and an inner error with more descriptive details. |
lastActionDateTimeUtc | string (date-time) | Date time in which the operation's status has been updated. Required. |
status | string | List of possible statuses for job or document. Required. Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", "Cancelling", and "ValidationFailed". (NotStarted, Running, Succeeded, Failed, Cancelled, Cancelling, ValidationFailed) |
summary | object | Status Summary. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_translation_status | select | id, endpoint | Returns the status for a document translation request. Returns the status for a document translation request. The status includes the overall request status, as well as the status for documents that are being translated as part of that request. |
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 |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
id | string | Format - uuid. The operation id. Required. |
SELECT examples
- get_translation_status
Returns the status for a document translation request. Returns the status for a document translation request. The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
SELECT
id,
createdDateTimeUtc,
error,
lastActionDateTimeUtc,
status,
summary
FROM azure.ai_translation_document.translation_status
WHERE id = '{{ id }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;