Interface OperationResultsClient
-
public interface OperationResultsClient
An instance of this class provides access to all the operations defined in OperationResultsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationResultsDescriptionInner
get(String locationName, String operationResultId)
Get the operation result for a long running operation.com.azure.core.http.rest.Response<OperationResultsDescriptionInner>
getWithResponse(String locationName, String operationResultId, com.azure.core.util.Context context)
Get the operation result for a long running operation.
-
-
-
Method Detail
-
get
OperationResultsDescriptionInner get(String locationName, String operationResultId)
Get the operation result for a long running operation.- Parameters:
locationName
- The location of the operation.operationResultId
- The ID of the operation result to get.- Returns:
- the operation result for a long running 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.
-
getWithResponse
com.azure.core.http.rest.Response<OperationResultsDescriptionInner> getWithResponse(String locationName, String operationResultId, com.azure.core.util.Context context)
Get the operation result for a long running operation.- Parameters:
locationName
- The location of the operation.operationResultId
- The ID of the operation result to get.context
- The context to associate with this operation.- Returns:
- the operation result for a long running 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.
-
-