Interface ProtectedItemOperationResultsClient
public interface ProtectedItemOperationResultsClient
An instance of this class provides access to all the operations defined in ProtectedItemOperationResultsClient.
-
Method Summary
Modifier and TypeMethodDescriptionget
(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String operationId) Fetches the result of any operation on the backup item.com.azure.core.http.rest.Response<ProtectedItemResourceInner>
getWithResponse
(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String operationId, com.azure.core.util.Context context) Fetches the result of any operation on the backup item.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<ProtectedItemResourceInner> getWithResponse(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String operationId, com.azure.core.util.Context context) Fetches the result of any operation on the backup item.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.fabricName
- Fabric name associated with the backup item.containerName
- Container name associated with the backup item.protectedItemName
- Backup item name whose details are to be fetched.operationId
- OperationID which represents the operation whose result needs to be fetched.context
- The context to associate with this operation.- Returns:
- base class for backup items 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.
-
get
ProtectedItemResourceInner get(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String operationId) Fetches the result of any operation on the backup item.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.fabricName
- Fabric name associated with the backup item.containerName
- Container name associated with the backup item.protectedItemName
- Backup item name whose details are to be fetched.operationId
- OperationID which represents the operation whose result needs to be fetched.- Returns:
- base class for backup items.
- 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.
-