Interface SqlPoolMaintenanceWindowsClient


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

      • get

        MaintenanceWindowsInner get​(String resourceGroupName,
                                    String workspaceName,
                                    String sqlPoolName,
                                    String maintenanceWindowName)
        Get a SQL pool's Maintenance Windows.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        maintenanceWindowName - Maintenance window name.
        Returns:
        a SQL pool's Maintenance Windows.
        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<MaintenanceWindowsInner> getWithResponse​(String resourceGroupName,
                                                                                   String workspaceName,
                                                                                   String sqlPoolName,
                                                                                   String maintenanceWindowName,
                                                                                   com.azure.core.util.Context context)
        Get a SQL pool's Maintenance Windows.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        maintenanceWindowName - Maintenance window name.
        context - The context to associate with this operation.
        Returns:
        a SQL pool's Maintenance Windows 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.
      • createOrUpdate

        void createOrUpdate​(String resourceGroupName,
                            String workspaceName,
                            String sqlPoolName,
                            String maintenanceWindowName,
                            MaintenanceWindowsInner parameters)
        Creates or updates a Sql pool's maintenance windows settings.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        maintenanceWindowName - Maintenance window name.
        parameters - The required parameters for creating or updating Maintenance Windows settings.
        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.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<Void> createOrUpdateWithResponse​(String resourceGroupName,
                                                                           String workspaceName,
                                                                           String sqlPoolName,
                                                                           String maintenanceWindowName,
                                                                           MaintenanceWindowsInner parameters,
                                                                           com.azure.core.util.Context context)
        Creates or updates a Sql pool's maintenance windows settings.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        maintenanceWindowName - Maintenance window name.
        parameters - The required parameters for creating or updating Maintenance Windows settings.
        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.