Interface Restores


  • public interface Restores
    Resource collection API of Restores.
    • Method Detail

      • trigger

        void trigger​(String vaultName,
                     String resourceGroupName,
                     String fabricName,
                     String containerName,
                     String protectedItemName,
                     String recoveryPointId,
                     RestoreRequestResource parameters)
        Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use GetProtectedItemOperationResult API.
        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 backed up items.
        containerName - Container name associated with the backed up items.
        protectedItemName - Backed up item to be restored.
        recoveryPointId - Recovery point ID which represents the backed up data to be restored.
        parameters - resource restore request.
        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.
      • trigger

        void trigger​(String vaultName,
                     String resourceGroupName,
                     String fabricName,
                     String containerName,
                     String protectedItemName,
                     String recoveryPointId,
                     RestoreRequestResource parameters,
                     com.azure.core.util.Context context)
        Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use GetProtectedItemOperationResult API.
        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 backed up items.
        containerName - Container name associated with the backed up items.
        protectedItemName - Backed up item to be restored.
        recoveryPointId - Recovery point ID which represents the backed up data to be restored.
        parameters - resource restore request.
        context - The context to associate with this 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.