Skip to main content

cancel_translations

Creates, updates, deletes, gets or lists a cancel_translations resource.

Overview​

Namecancel_translations
TypeResource
Idazure.ai_translation_document.cancel_translations

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
cancel_translationdeleteid, endpointCancel a currently processing or queued translation. Cancel a currently processing or queued translation. A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned. All documents that have completed translation will not be cancelled and will be charged. All pending documents will be cancelled if possible.

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
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
idstringFormat - uuid. The operation-id. Required.

DELETE examples​

Cancel a currently processing or queued translation. Cancel a currently processing or queued translation. A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned. All documents that have completed translation will not be cancelled and will be charged. All pending documents will be cancelled if possible.

DELETE FROM azure.ai_translation_document.cancel_translations
WHERE id = '{{ id }}' --required
AND endpoint = '{{ endpoint }}' --required
;