AsyncDocumentModelAdministrationLROPoller Class

Custom poller for model build operations. Call result() on the poller to return a DocumentModel.

New in version 2021-09-30-preview: The AsyncDocumentModelAdministrationLROPoller poller object

Inheritance
azure.core.polling._async_poller.AsyncLROPoller
AsyncDocumentModelAdministrationLROPoller

Constructor

AsyncDocumentModelAdministrationLROPoller(client: Any, initial_response: Any, deserialization_callback: Callable, polling_method: azure.core.polling._async_poller.AsyncPollingMethod[PollingReturnType])

Parameters

client
initial_response
deserialization_callback
polling_method

Methods

from_continuation_token

from_continuation_token

from_continuation_token(polling_method: azure.core.polling._async_poller.AsyncPollingMethod[PollingReturnType], continuation_token: str, **kwargs: Any) -> azure.ai.formrecognizer.aio._async_polling.AsyncDocumentModelAdministrationLROPoller

Parameters

cls
Required
polling_method
Required
continuation_token
Required

Attributes

created_on

Date and time (UTC) when the operation was created.

Return type

last_updated_on

Date and time (UTC) when the operation was last updated.

Return type

operation_id

The operation ID of the model operation.

Return type

str

operation_kind

The model operation kind. For example, 'documentModelBuild', 'documentModelCompose', 'documentModelCopyTo'.

Return type

str

percent_completed

Operation progress (0-100).

Return type

int

resource_location_url

URL of the resource targeted by this operation.

Return type

str