Interface AsyncOperationStatusClient
public interface AsyncOperationStatusClient
An instance of this class provides access to all the operations defined in AsyncOperationStatusClient.
-
Method Summary
Modifier and TypeMethodDescriptionFor checking the ongoing status of an operation.For checking the ongoing status of an operation.com.azure.core.http.rest.Response<OperationStatusInner> getWithResponse(String location, String operationId, com.azure.core.util.Context context) For checking the ongoing status of an operation.Mono<com.azure.core.http.rest.Response<OperationStatusInner>> getWithResponseAsync(String location, String operationId) For checking the ongoing status of an operation.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<OperationStatusInner>> getWithResponseAsync(String location, String operationId) For checking the ongoing status of an operation.- Parameters:
location- The location at which operation was triggered.operationId- The ID of asynchronous operation.- Returns:
- asynchronous operation status along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
For checking the ongoing status of an operation.- Parameters:
location- The location at which operation was triggered.operationId- The ID of asynchronous operation.- Returns:
- asynchronous operation status on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<OperationStatusInner> getWithResponse(String location, String operationId, com.azure.core.util.Context context) For checking the ongoing status of an operation.- Parameters:
location- The location at which operation was triggered.operationId- The ID of asynchronous operation.context- The context to associate with this operation.- Returns:
- asynchronous operation status along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
For checking the ongoing status of an operation.- Parameters:
location- The location at which operation was triggered.operationId- The ID of asynchronous operation.- Returns:
- asynchronous operation status.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-