Interface DatabasesClient


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

      • listByCluster

        com.azure.core.http.rest.PagedIterable<DatabaseInner> listByCluster​(String resourceGroupName,
                                                                            String clusterName)
        Gets all databases in the specified RedisEnterprise cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        Returns:
        all databases in the specified RedisEnterprise cluster 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.
      • listByCluster

        com.azure.core.http.rest.PagedIterable<DatabaseInner> listByCluster​(String resourceGroupName,
                                                                            String clusterName,
                                                                            com.azure.core.util.Context context)
        Gets all databases in the specified RedisEnterprise cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        context - The context to associate with this operation.
        Returns:
        all databases in the specified RedisEnterprise cluster 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<DatabaseInner>,​DatabaseInner> beginCreate​(String resourceGroupName,
                                                                                                                                            String clusterName,
                                                                                                                                            String databaseName,
                                                                                                                                            DatabaseInner parameters)
        Creates a database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Parameters supplied to the create or update database operation.
        Returns:
        the SyncPoller for polling of describes a database on the RedisEnterprise cluster.
        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<DatabaseInner>,​DatabaseInner> beginCreate​(String resourceGroupName,
                                                                                                                                            String clusterName,
                                                                                                                                            String databaseName,
                                                                                                                                            DatabaseInner parameters,
                                                                                                                                            com.azure.core.util.Context context)
        Creates a database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Parameters supplied to the create or update database operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of describes a database on the RedisEnterprise cluster.
        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

        DatabaseInner create​(String resourceGroupName,
                             String clusterName,
                             String databaseName,
                             DatabaseInner parameters)
        Creates a database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Parameters supplied to the create or update database operation.
        Returns:
        describes a database on the RedisEnterprise cluster.
        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

        DatabaseInner create​(String resourceGroupName,
                             String clusterName,
                             String databaseName,
                             DatabaseInner parameters,
                             com.azure.core.util.Context context)
        Creates a database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Parameters supplied to the create or update database operation.
        context - The context to associate with this operation.
        Returns:
        describes a database on the RedisEnterprise cluster.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseInner>,​DatabaseInner> beginUpdate​(String resourceGroupName,
                                                                                                                                            String clusterName,
                                                                                                                                            String databaseName,
                                                                                                                                            DatabaseUpdate parameters)
        Updates a database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Parameters supplied to the create or update database operation.
        Returns:
        the SyncPoller for polling of describes a database on the RedisEnterprise cluster.
        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.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseInner>,​DatabaseInner> beginUpdate​(String resourceGroupName,
                                                                                                                                            String clusterName,
                                                                                                                                            String databaseName,
                                                                                                                                            DatabaseUpdate parameters,
                                                                                                                                            com.azure.core.util.Context context)
        Updates a database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Parameters supplied to the create or update database operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of describes a database on the RedisEnterprise cluster.
        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.
      • update

        DatabaseInner update​(String resourceGroupName,
                             String clusterName,
                             String databaseName,
                             DatabaseUpdate parameters)
        Updates a database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Parameters supplied to the create or update database operation.
        Returns:
        describes a database on the RedisEnterprise cluster.
        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.
      • update

        DatabaseInner update​(String resourceGroupName,
                             String clusterName,
                             String databaseName,
                             DatabaseUpdate parameters,
                             com.azure.core.util.Context context)
        Updates a database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Parameters supplied to the create or update database operation.
        context - The context to associate with this operation.
        Returns:
        describes a database on the RedisEnterprise cluster.
        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

        DatabaseInner get​(String resourceGroupName,
                          String clusterName,
                          String databaseName)
        Gets information about a database in a RedisEnterprise cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        Returns:
        information about a database in a RedisEnterprise cluster.
        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<DatabaseInner> getWithResponse​(String resourceGroupName,
                                                                         String clusterName,
                                                                         String databaseName,
                                                                         com.azure.core.util.Context context)
        Gets information about a database in a RedisEnterprise cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        context - The context to associate with this operation.
        Returns:
        information about a database in a RedisEnterprise cluster 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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String clusterName,
                                                                                                                          String databaseName)
        Deletes a single database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String clusterName,
                                                                                                                          String databaseName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a single database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        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 clusterName,
                    String databaseName)
        Deletes a single database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        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 clusterName,
                    String databaseName,
                    com.azure.core.util.Context context)
        Deletes a single database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        context - The context to associate with this operation.
        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.
      • listKeys

        AccessKeysInner listKeys​(String resourceGroupName,
                                 String clusterName,
                                 String databaseName)
        Retrieves the access keys for the RedisEnterprise database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        Returns:
        access keys.
        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.
      • listKeysWithResponse

        com.azure.core.http.rest.Response<AccessKeysInner> listKeysWithResponse​(String resourceGroupName,
                                                                                String clusterName,
                                                                                String databaseName,
                                                                                com.azure.core.util.Context context)
        Retrieves the access keys for the RedisEnterprise database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        context - The context to associate with this operation.
        Returns:
        access keys 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.
      • beginRegenerateKey

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccessKeysInner>,​AccessKeysInner> beginRegenerateKey​(String resourceGroupName,
                                                                                                                                                       String clusterName,
                                                                                                                                                       String databaseName,
                                                                                                                                                       RegenerateKeyParameters parameters)
        Regenerates the RedisEnterprise database's access keys.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Specifies which key to regenerate.
        Returns:
        the SyncPoller for polling of access keys.
        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.
      • beginRegenerateKey

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccessKeysInner>,​AccessKeysInner> beginRegenerateKey​(String resourceGroupName,
                                                                                                                                                       String clusterName,
                                                                                                                                                       String databaseName,
                                                                                                                                                       RegenerateKeyParameters parameters,
                                                                                                                                                       com.azure.core.util.Context context)
        Regenerates the RedisEnterprise database's access keys.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Specifies which key to regenerate.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of access keys.
        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.
      • regenerateKey

        AccessKeysInner regenerateKey​(String resourceGroupName,
                                      String clusterName,
                                      String databaseName,
                                      RegenerateKeyParameters parameters)
        Regenerates the RedisEnterprise database's access keys.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Specifies which key to regenerate.
        Returns:
        access keys.
        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.
      • regenerateKey

        AccessKeysInner regenerateKey​(String resourceGroupName,
                                      String clusterName,
                                      String databaseName,
                                      RegenerateKeyParameters parameters,
                                      com.azure.core.util.Context context)
        Regenerates the RedisEnterprise database's access keys.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Specifies which key to regenerate.
        context - The context to associate with this operation.
        Returns:
        access keys.
        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.
      • beginImportMethod

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginImportMethod​(String resourceGroupName,
                                                                                                                                String clusterName,
                                                                                                                                String databaseName,
                                                                                                                                ImportClusterParameters parameters)
        Imports database files to target database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Storage information for importing into the cluster.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • beginImportMethod

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginImportMethod​(String resourceGroupName,
                                                                                                                                String clusterName,
                                                                                                                                String databaseName,
                                                                                                                                ImportClusterParameters parameters,
                                                                                                                                com.azure.core.util.Context context)
        Imports database files to target database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Storage information for importing into the cluster.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • importMethod

        void importMethod​(String resourceGroupName,
                          String clusterName,
                          String databaseName,
                          ImportClusterParameters parameters)
        Imports database files to target database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Storage information for importing into the cluster.
        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.
      • importMethod

        void importMethod​(String resourceGroupName,
                          String clusterName,
                          String databaseName,
                          ImportClusterParameters parameters,
                          com.azure.core.util.Context context)
        Imports database files to target database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Storage information for importing into the cluster.
        context - The context to associate with this operation.
        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.
      • beginExport

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginExport​(String resourceGroupName,
                                                                                                                          String clusterName,
                                                                                                                          String databaseName,
                                                                                                                          ExportClusterParameters parameters)
        Exports a database file from target database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Storage information for exporting into the cluster.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • beginExport

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginExport​(String resourceGroupName,
                                                                                                                          String clusterName,
                                                                                                                          String databaseName,
                                                                                                                          ExportClusterParameters parameters,
                                                                                                                          com.azure.core.util.Context context)
        Exports a database file from target database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Storage information for exporting into the cluster.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • export

        void export​(String resourceGroupName,
                    String clusterName,
                    String databaseName,
                    ExportClusterParameters parameters)
        Exports a database file from target database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Storage information for exporting into the cluster.
        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.
      • export

        void export​(String resourceGroupName,
                    String clusterName,
                    String databaseName,
                    ExportClusterParameters parameters,
                    com.azure.core.util.Context context)
        Exports a database file from target database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Storage information for exporting into the cluster.
        context - The context to associate with this operation.
        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.
      • beginForceUnlink

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginForceUnlink​(String resourceGroupName,
                                                                                                                               String clusterName,
                                                                                                                               String databaseName,
                                                                                                                               ForceUnlinkParameters parameters)
        Forcibly removes the link to the specified database resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Information identifying the database to be unlinked.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • beginForceUnlink

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginForceUnlink​(String resourceGroupName,
                                                                                                                               String clusterName,
                                                                                                                               String databaseName,
                                                                                                                               ForceUnlinkParameters parameters,
                                                                                                                               com.azure.core.util.Context context)
        Forcibly removes the link to the specified database resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Information identifying the database to be unlinked.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • forceUnlink

        void forceUnlink​(String resourceGroupName,
                         String clusterName,
                         String databaseName,
                         ForceUnlinkParameters parameters)
        Forcibly removes the link to the specified database resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Information identifying the database to be unlinked.
        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.
      • forceUnlink

        void forceUnlink​(String resourceGroupName,
                         String clusterName,
                         String databaseName,
                         ForceUnlinkParameters parameters,
                         com.azure.core.util.Context context)
        Forcibly removes the link to the specified database resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the RedisEnterprise cluster.
        databaseName - The name of the database.
        parameters - Information identifying the database to be unlinked.
        context - The context to associate with this operation.
        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.