Interface OperationStatuses
public interface OperationStatuses
Resource collection API of OperationStatuses.
-
Method Summary
Modifier and TypeMethodDescriptionGet Operation Statuscom.azure.core.http.rest.Response<OperationStatus>
getWithResponse
(String location, String operationId, com.azure.core.util.Context context) Get Operation Status
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<OperationStatus> getWithResponse(String location, String operationId, com.azure.core.util.Context context) Get Operation StatusGets the current status of an async operation.
- Parameters:
location
- The Azure region.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
Get Operation StatusGets the current status of an async operation.
- Parameters:
location
- The Azure region.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.
-