Interface RestorePointsClient


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

      • listByDatabaseAsync

        com.azure.core.http.rest.PagedFlux<RestorePointInner> listByDatabaseAsync​(String resourceGroupName,
                                                                                  String serverName,
                                                                                  String databaseName)
        Gets a list of database restore points.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        Returns:
        a list of database restore points.
        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.
      • listByDatabase

        com.azure.core.http.rest.PagedIterable<RestorePointInner> listByDatabase​(String resourceGroupName,
                                                                                 String serverName,
                                                                                 String databaseName)
        Gets a list of database restore points.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        Returns:
        a list of database restore points.
        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.
      • listByDatabase

        com.azure.core.http.rest.PagedIterable<RestorePointInner> listByDatabase​(String resourceGroupName,
                                                                                 String serverName,
                                                                                 String databaseName,
                                                                                 com.azure.core.util.Context context)
        Gets a list of database restore points.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        context - The context to associate with this operation.
        Returns:
        a list of database restore points.
        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.
      • createWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync​(String resourceGroupName,
                                                                                          String serverName,
                                                                                          String databaseName,
                                                                                          String restorePointLabel)
        Creates a restore point for a data warehouse.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointLabel - The restore point label to apply.
        Returns:
        database restore points.
        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.
      • beginCreateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RestorePointInner>,​RestorePointInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                                         String serverName,
                                                                                                                                                         String databaseName,
                                                                                                                                                         String restorePointLabel)
        Creates a restore point for a data warehouse.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointLabel - The restore point label to apply.
        Returns:
        database restore points.
        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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RestorePointInner>,​RestorePointInner> beginCreate​(String resourceGroupName,
                                                                                                                                                    String serverName,
                                                                                                                                                    String databaseName,
                                                                                                                                                    String restorePointLabel)
        Creates a restore point for a data warehouse.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointLabel - The restore point label to apply.
        Returns:
        database restore points.
        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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RestorePointInner>,​RestorePointInner> beginCreate​(String resourceGroupName,
                                                                                                                                                    String serverName,
                                                                                                                                                    String databaseName,
                                                                                                                                                    String restorePointLabel,
                                                                                                                                                    com.azure.core.util.Context context)
        Creates a restore point for a data warehouse.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointLabel - The restore point label to apply.
        context - The context to associate with this operation.
        Returns:
        database restore points.
        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.
      • createAsync

        Mono<RestorePointInner> createAsync​(String resourceGroupName,
                                            String serverName,
                                            String databaseName,
                                            String restorePointLabel)
        Creates a restore point for a data warehouse.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointLabel - The restore point label to apply.
        Returns:
        database restore points.
        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.
      • create

        RestorePointInner create​(String resourceGroupName,
                                 String serverName,
                                 String databaseName,
                                 String restorePointLabel)
        Creates a restore point for a data warehouse.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointLabel - The restore point label to apply.
        Returns:
        database restore points.
        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.
      • create

        RestorePointInner create​(String resourceGroupName,
                                 String serverName,
                                 String databaseName,
                                 String restorePointLabel,
                                 com.azure.core.util.Context context)
        Creates a restore point for a data warehouse.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointLabel - The restore point label to apply.
        context - The context to associate with this operation.
        Returns:
        database restore points.
        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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RestorePointInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                        String serverName,
                                                                                        String databaseName,
                                                                                        String restorePointName)
        Gets a restore point.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointName - The name of the restore point.
        Returns:
        a restore point.
        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.
      • getAsync

        Mono<RestorePointInner> getAsync​(String resourceGroupName,
                                         String serverName,
                                         String databaseName,
                                         String restorePointName)
        Gets a restore point.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointName - The name of the restore point.
        Returns:
        a restore point.
        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

        RestorePointInner get​(String resourceGroupName,
                              String serverName,
                              String databaseName,
                              String restorePointName)
        Gets a restore point.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointName - The name of the restore point.
        Returns:
        a restore point.
        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<RestorePointInner> getWithResponse​(String resourceGroupName,
                                                                             String serverName,
                                                                             String databaseName,
                                                                             String restorePointName,
                                                                             com.azure.core.util.Context context)
        Gets a restore point.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointName - The name of the restore point.
        context - The context to associate with this operation.
        Returns:
        a restore point.
        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.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync​(String resourceGroupName,
                                                                              String serverName,
                                                                              String databaseName,
                                                                              String restorePointName)
        Deletes a restore point.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointName - The name of the restore point.
        Returns:
        the completion.
        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.
      • deleteAsync

        Mono<Void> deleteAsync​(String resourceGroupName,
                               String serverName,
                               String databaseName,
                               String restorePointName)
        Deletes a restore point.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointName - The name of the restore point.
        Returns:
        the completion.
        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.
      • delete

        void delete​(String resourceGroupName,
                    String serverName,
                    String databaseName,
                    String restorePointName)
        Deletes a restore point.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointName - The name of the restore point.
        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.
      • deleteWithResponse

        com.azure.core.http.rest.Response<Void> deleteWithResponse​(String resourceGroupName,
                                                                   String serverName,
                                                                   String databaseName,
                                                                   String restorePointName,
                                                                   com.azure.core.util.Context context)
        Deletes a restore point.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        restorePointName - The name of the restore point.
        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.