AsyncUpdateMemoriesLROPoller Class
Custom AsyncLROPoller for Memory Store update operations.
Constructor
AsyncUpdateMemoriesLROPoller(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
| continuation_token |
Return a continuation token that allows to restart the poller later. |
| done |
Check status of the long running operation. |
| from_continuation_token |
Create a poller from a continuation token. |
| 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. |
continuation_token
Return a continuation token that allows to restart the poller later.
continuation_token() -> str
Returns
| Type | Description |
|---|---|
|
An opaque continuation token |
done
Check status of the long running operation.
done() -> bool
Returns
| Type | Description |
|---|---|
|
'True' if the process has completed, else 'False'. |
from_continuation_token
Create a poller from a continuation token.
from_continuation_token(polling_method: AsyncPollingMethod[MemoryStoreUpdateCompletedResult], continuation_token: str, **kwargs: Any) -> AsyncUpdateMemoriesLROPoller
Parameters
| Name | Description |
|---|---|
|
polling_method
Required
|
The polling strategy to adopt |
|
continuation_token
Required
|
An opaque continuation token |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncUpdateMemoriesLROPoller |
Exceptions
| Type | Description |
|---|---|
|
If the continuation token is invalid. |
polling_method
Return the polling method associated to this poller.
polling_method() -> AsyncPollingMethod[PollingReturnType_co]
Returns
| Type | Description |
|---|---|
|
The polling method associated to this poller. |
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 |
|---|---|
|
The current status string |
wait
Wait on the long running operation.
async wait() -> None
Exceptions
| Type | Description |
|---|---|
|
Server problem with the query. |
Attributes
superseded_by
update_id
Returns the update ID associated with the long-running update memories operation.
Returns
| Type | Description |
|---|---|
|
Returns the update ID. |