Interface ExportJobsOperationResultsClient
-
public interface ExportJobsOperationResultsClient
An instance of this class provides access to all the operations defined in ExportJobsOperationResultsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationResultInfoBaseResourceInner
get(String vaultName, String resourceGroupName, String operationId)
Gets the operation result of operation triggered by Export Jobs API.com.azure.core.http.rest.Response<OperationResultInfoBaseResourceInner>
getWithResponse(String vaultName, String resourceGroupName, String operationId, com.azure.core.util.Context context)
Gets the operation result of operation triggered by Export Jobs API.
-
-
-
Method Detail
-
get
OperationResultInfoBaseResourceInner get(String vaultName, String resourceGroupName, String operationId)
Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.operationId
- OperationID which represents the export job.- Returns:
- the operation result of operation triggered by Export Jobs API.
- 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<OperationResultInfoBaseResourceInner> getWithResponse(String vaultName, String resourceGroupName, String operationId, com.azure.core.util.Context context)
Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.operationId
- OperationID which represents the export job.context
- The context to associate with this operation.- Returns:
- the operation result of operation triggered by Export Jobs API 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.
-
-