Interface BackupsClient


  • public interface BackupsClient
    An instance of this class provides access to all the operations defined in BackupsClient.
    • Method Detail

      • trigger

        void trigger​(String vaultName,
                     String resourceGroupName,
                     String fabricName,
                     String containerName,
                     String protectedItemName,
                     BackupRequestResource parameters)
        Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the operation, call 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 backup item.
        containerName - Container name associated with the backup item.
        protectedItemName - Backup item for which backup needs to be triggered.
        parameters - resource backup 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.
      • triggerWithResponse

        com.azure.core.http.rest.Response<Void> triggerWithResponse​(String vaultName,
                                                                    String resourceGroupName,
                                                                    String fabricName,
                                                                    String containerName,
                                                                    String protectedItemName,
                                                                    BackupRequestResource parameters,
                                                                    com.azure.core.util.Context context)
        Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the operation, call 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 backup item.
        containerName - Container name associated with the backup item.
        protectedItemName - Backup item for which backup needs to be triggered.
        parameters - resource backup request.
        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.