Interface JobOperationResults
-
public interface JobOperationResults
Resource collection API of JobOperationResults.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
get(String vaultName, String resourceGroupName, String jobName, String operationId)
Fetches the result of any operation.com.azure.core.http.rest.Response<Void>
getWithResponse(String vaultName, String resourceGroupName, String jobName, String operationId, com.azure.core.util.Context context)
Fetches the result of any operation.
-
-
-
Method Detail
-
get
void get(String vaultName, String resourceGroupName, String jobName, String operationId)
Fetches the result of any operation.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.jobName
- Job name whose operation result has to be fetched.operationId
- OperationID which represents the operation whose result has to be fetched.- 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<Void> getWithResponse(String vaultName, String resourceGroupName, String jobName, String operationId, com.azure.core.util.Context context)
Fetches the result of any operation.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.jobName
- Job name whose operation result has to be fetched.operationId
- OperationID which represents the operation whose result has to be fetched.context
- The context to associate with this operation.- Returns:
- the
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.
-
-