Interface OperationResults
public interface OperationResults
Resource collection API of OperationResults.
-
Method Summary
Modifier and TypeMethodDescriptionGets the operation status for a resource.com.azure.core.http.rest.Response<OperationJobExtendedInfo>
getWithResponse
(String operationId, String location, com.azure.core.util.Context context) Gets the operation status for a resource.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<OperationJobExtendedInfo> getWithResponse(String operationId, String location, com.azure.core.util.Context context) Gets the operation status for a resource.Gets the operation result for a resource.
- Parameters:
operationId
- The operationId parameter.location
- The location parameter.context
- The context to associate with this operation.- Returns:
- the operation result for a resource.
- 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
Gets the operation status for a resource.Gets the operation result for a resource.
- Parameters:
operationId
- The operationId parameter.location
- The location parameter.- Returns:
- the operation result for a resource.
- 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.
-