Interface RecoveryPoints


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

      • list

        com.azure.core.http.rest.PagedIterable<AzureBackupRecoveryPointResource> list​(String vaultName,
                                                                                      String resourceGroupName,
                                                                                      String backupInstanceName)
        Returns a list of Recovery Points for a DataSource in a vault.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        backupInstanceName - The name of the backup instance.
        Returns:
        azureBackupRecoveryPointResourceList.
        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<AzureBackupRecoveryPointResource> list​(String vaultName,
                                                                                      String resourceGroupName,
                                                                                      String backupInstanceName,
                                                                                      String filter,
                                                                                      String skipToken,
                                                                                      com.azure.core.util.Context context)
        Returns a list of Recovery Points for a DataSource in a vault.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        backupInstanceName - The name of the backup instance.
        filter - OData filter options.
        skipToken - skipToken Filter.
        context - The context to associate with this operation.
        Returns:
        azureBackupRecoveryPointResourceList.
        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

        AzureBackupRecoveryPointResource get​(String vaultName,
                                             String resourceGroupName,
                                             String backupInstanceName,
                                             String recoveryPointId)
        Gets a Recovery Point using recoveryPointId for a Datasource.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        backupInstanceName - The name of the backup instance.
        recoveryPointId - The recoveryPointId parameter.
        Returns:
        a Recovery Point using recoveryPointId for a Datasource.
        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<AzureBackupRecoveryPointResource> getWithResponse​(String vaultName,
                                                                                            String resourceGroupName,
                                                                                            String backupInstanceName,
                                                                                            String recoveryPointId,
                                                                                            com.azure.core.util.Context context)
        Gets a Recovery Point using recoveryPointId for a Datasource.
        Parameters:
        vaultName - The name of the backup vault.
        resourceGroupName - The name of the resource group where the backup vault is present.
        backupInstanceName - The name of the backup instance.
        recoveryPointId - The recoveryPointId parameter.
        context - The context to associate with this operation.
        Returns:
        a Recovery Point using recoveryPointId for a Datasource.
        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.