共用方式為


AsyncAnalyzeActionsLROPoller Class

Inheritance
azure.core.polling._async_poller.AsyncLROPoller
AsyncAnalyzeActionsLROPoller

Constructor

AsyncAnalyzeActionsLROPoller(client: Any, initial_response: Any, deserialization_callback: Callable[[Any], PollingReturnType_co], polling_method: AsyncPollingMethod[PollingReturnType_co])

Parameters

Name Description
client
Required
initial_response
Required
deserialization_callback
Required
polling_method
Required

Methods

cancel

Cancel the operation currently being polled.

continuation_token

Return a continuation token that allows to restart the poller later.

done

Check status of the long running operation.

polling_method

Return the polling method associated to this poller.

result

Return the result of the long running operation.

status

Returns the current status string.

wait

Wait on the long running operation.

cancel

Cancel the operation currently being polled.

async cancel() -> None

Returns

Type Description

None

Exceptions

Type Description

When the operation has already reached a terminal state.

continuation_token

Return a continuation token that allows to restart the poller later.

continuation_token() -> str

Returns

Type Description
str

An opaque continuation token

Exceptions

Type Description

When the operation has already reached a terminal state.

done

Check status of the long running operation.

done() -> bool

Returns

Type Description

'True' if the process has completed, else 'False'.

Exceptions

Type Description

When the operation has already reached a terminal state.

polling_method

Return the polling method associated to this poller.

polling_method() -> AsyncAnalyzeActionsLROPollingMethod

Returns

Type Description
<xref:AsyncAnalyzeActionsLROPollingMethod>

AsyncAnalyzeActionsLROPollingMethod

Exceptions

Type Description

When the operation has already reached a terminal state.

result

Return the result of the long running operation.

async result() -> PollingReturnType_co

Returns

Type Description
any,

The deserialized resource of the long running operation, if one is available.

Exceptions

Type Description

Server problem with the query.

status

Returns the current status string.

status() -> str

Returns

Type Description
str

The current status string

Exceptions

Type Description

When the operation has already reached a terminal state.

wait

Wait on the long running operation.

async wait() -> None

Exceptions

Type Description

Server problem with the query.

Attributes

details

Long-running operation metadata.

Returns

Type Description

A mapping of details about the long-running operation.