Compartilhar via


AzureAsyncOperationResult Class

The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.

Constructor

AzureAsyncOperationResult(*, status: str | _models.NetworkOperationStatus | None = None, error: _models.Error | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
status

Status of the Azure async operation. Known values are: "InProgress", "Succeeded", and "Failed".

Default value: None
error

Details of the error occurred during specified asynchronous operation.

Default value: None

Variables

Name Description
status

Status of the Azure async operation. Known values are: "InProgress", "Succeeded", and "Failed".

error

Details of the error occurred during specified asynchronous operation.