Interface SqlPoolRestorePointsClient


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

      • list

        com.azure.core.http.rest.PagedIterable<RestorePointInner> 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<RestorePointInner> 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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RestorePointInner>,​RestorePointInner> beginCreate​(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:
        the SyncPoller for polling 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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RestorePointInner>,​RestorePointInner> beginCreate​(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:
        the SyncPoller for polling 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.
      • create

        RestorePointInner 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

        RestorePointInner 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

        RestorePointInner 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<RestorePointInner> 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.