Interface OperationResultsClient
public interface OperationResultsClient
An instance of this class provides access to all the operations defined in OperationResultsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets the operation status for a resource.getWithResponse
(String operationId, String location, com.azure.core.util.Context context) Gets the operation status for a resource.
-
Method Details
-
getWithResponse
OperationResultsGetResponse 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.
-