Interface SqlPoolGeoBackupPoliciesClient


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

      • list

        com.azure.core.http.rest.PagedIterable<GeoBackupPolicyInner> list​(String resourceGroupName,
                                                                          String workspaceName,
                                                                          String sqlPoolName)
        Get list of SQL pool geo backup policies.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        Returns:
        list of SQL pool geo backup policies 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<GeoBackupPolicyInner> list​(String resourceGroupName,
                                                                          String workspaceName,
                                                                          String sqlPoolName,
                                                                          com.azure.core.util.Context context)
        Get list of SQL pool geo backup policies.
        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:
        list of SQL pool geo backup policies 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.
      • createOrUpdate

        GeoBackupPolicyInner createOrUpdate​(String resourceGroupName,
                                            String workspaceName,
                                            String sqlPoolName,
                                            GeoBackupPolicyName geoBackupPolicyName,
                                            GeoBackupPolicyInner parameters)
        Updates a SQL Pool geo backup policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        geoBackupPolicyName - The name of the geo backup policy.
        parameters - The required parameters for creating or updating the geo backup policy.
        Returns:
        a database geo backup policy.
        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<GeoBackupPolicyInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                           String workspaceName,
                                                                                           String sqlPoolName,
                                                                                           GeoBackupPolicyName geoBackupPolicyName,
                                                                                           GeoBackupPolicyInner parameters,
                                                                                           com.azure.core.util.Context context)
        Updates a SQL Pool geo backup policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        geoBackupPolicyName - The name of the geo backup policy.
        parameters - The required parameters for creating or updating the geo backup policy.
        context - The context to associate with this operation.
        Returns:
        a database geo backup policy 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.
      • get

        GeoBackupPolicyInner get​(String resourceGroupName,
                                 String workspaceName,
                                 String sqlPoolName,
                                 GeoBackupPolicyName geoBackupPolicyName)
        Get the specified SQL pool geo backup policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        geoBackupPolicyName - The name of the geo backup policy.
        Returns:
        the specified SQL pool geo backup policy.
        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<GeoBackupPolicyInner> getWithResponse​(String resourceGroupName,
                                                                                String workspaceName,
                                                                                String sqlPoolName,
                                                                                GeoBackupPolicyName geoBackupPolicyName,
                                                                                com.azure.core.util.Context context)
        Get the specified SQL pool geo backup policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        geoBackupPolicyName - The name of the geo backup policy.
        context - The context to associate with this operation.
        Returns:
        the specified SQL pool geo backup policy 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.