Interface RecoveryPoints


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

      • list

        com.azure.core.http.rest.PagedIterable<RecoveryPointResource> list​(String vaultName,
                                                                           String resourceGroupName,
                                                                           String fabricName,
                                                                           String containerName,
                                                                           String protectedItemName)
        Lists the backup copies for the backed up 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 backed up item.
        containerName - Container name associated with the backed up item.
        protectedItemName - Backed up item whose backup copies are to be fetched.
        Returns:
        list of RecoveryPoint resources as paginated response with PagedIterable.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<RecoveryPointResource> list​(String vaultName,
                                                                           String resourceGroupName,
                                                                           String fabricName,
                                                                           String containerName,
                                                                           String protectedItemName,
                                                                           String filter,
                                                                           com.azure.core.util.Context context)
        Lists the backup copies for the backed up 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 backed up item.
        containerName - Container name associated with the backed up item.
        protectedItemName - Backed up item whose backup copies are to be fetched.
        filter - OData filter options.
        context - The context to associate with this operation.
        Returns:
        list of RecoveryPoint resources as paginated response with PagedIterable.
        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

        RecoveryPointResource get​(String vaultName,
                                  String resourceGroupName,
                                  String fabricName,
                                  String containerName,
                                  String protectedItemName,
                                  String recoveryPointId)
        Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation. To know the status of the operation, call the 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 backed up item.
        containerName - Container name associated with backed up item.
        protectedItemName - Backed up item name whose backup data needs to be fetched.
        recoveryPointId - RecoveryPointID represents the backed up data to be fetched.
        Returns:
        base class for backup copies.
        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<RecoveryPointResource> getWithResponse​(String vaultName,
                                                                                 String resourceGroupName,
                                                                                 String fabricName,
                                                                                 String containerName,
                                                                                 String protectedItemName,
                                                                                 String recoveryPointId,
                                                                                 com.azure.core.util.Context context)
        Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation. To know the status of the operation, call the 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 backed up item.
        containerName - Container name associated with backed up item.
        protectedItemName - Backed up item name whose backup data needs to be fetched.
        recoveryPointId - RecoveryPointID represents the backed up data to be fetched.
        context - The context to associate with this operation.
        Returns:
        base class for backup copies 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.