Interface SqlPoolRestorePoints


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

      • list

        com.azure.core.http.rest.PagedIterable<RestorePoint> list​(String resourceGroupName,
                                                                  String workspaceName,
                                                                  String sqlPoolName)
        Get SQL pool backup information.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        Returns:
        sQL pool backup information 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<RestorePoint> list​(String resourceGroupName,
                                                                  String workspaceName,
                                                                  String sqlPoolName,
                                                                  com.azure.core.util.Context context)
        Get SQL pool backup information.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        context - The context to associate with this operation.
        Returns:
        sQL pool backup information 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.
      • create

        RestorePoint create​(String resourceGroupName,
                            String workspaceName,
                            String sqlPoolName,
                            CreateSqlPoolRestorePointDefinition parameters)
        Creates a restore point for a data warehouse.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        parameters - The definition for creating the restore point of this Sql pool.
        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

        RestorePoint create​(String resourceGroupName,
                            String workspaceName,
                            String sqlPoolName,
                            CreateSqlPoolRestorePointDefinition parameters,
                            com.azure.core.util.Context context)
        Creates a restore point for a data warehouse.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        parameters - The definition for creating the restore point of this Sql pool.
        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.
      • get

        RestorePoint get​(String resourceGroupName,
                         String workspaceName,
                         String sqlPoolName,
                         String restorePointName)
        Gets a restore point.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        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<RestorePoint> getWithResponse​(String resourceGroupName,
                                                                        String workspaceName,
                                                                        String sqlPoolName,
                                                                        String restorePointName,
                                                                        com.azure.core.util.Context context)
        Gets a restore point.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        restorePointName - The name of the restore point.
        context - The context to associate with this operation.
        Returns:
        a restore point 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.
      • delete

        void delete​(String resourceGroupName,
                    String workspaceName,
                    String sqlPoolName,
                    String restorePointName)
        Deletes a restore point.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        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 workspaceName,
                                                                   String sqlPoolName,
                                                                   String restorePointName,
                                                                   com.azure.core.util.Context context)
        Deletes a restore point.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        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.