Interface OperationStatus
public interface OperationStatus
Resource collection API of OperationStatus.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current status of an async operation.com.azure.core.http.rest.Response<OperationStatusResult>
getWithResponse
(String location, String operationId, com.azure.core.util.Context context) Returns the current status of an async operation.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<OperationStatusResult> getWithResponse(String location, String operationId, com.azure.core.util.Context context) Returns the current status of an async operation.- Parameters:
location
- The location name.operationId
- The ID of an ongoing async operation.context
- The context to associate with this operation.- Returns:
- the current status of an async operation 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
Returns the current status of an async operation.- Parameters:
location
- The location name.operationId
- The ID of an ongoing async operation.- Returns:
- the current status of an async operation.
- 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.
-