DocumentModelAdministrationLROPoller Class

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

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

Inheritance
azure.core.polling._poller.LROPoller
DocumentModelAdministrationLROPoller

Constructor

DocumentModelAdministrationLROPoller(client: Any, initial_response: Any, deserialization_callback: Callable, polling_method: PollingMethod[PollingReturnType])

Parameters

client
initial_response
deserialization_callback
polling_method

Methods

from_continuation_token

from_continuation_token

from_continuation_token(polling_method: azure.core.polling._poller.PollingMethod[PollingReturnType], continuation_token: str, **kwargs: Any) -> azure.ai.formrecognizer._polling.DocumentModelAdministrationLROPoller

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