Interface DataMaskingRulesClient


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

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<DataMaskingRuleInner>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                      String serverName,
                                                                                                      String databaseName,
                                                                                                      String dataMaskingRuleName,
                                                                                                      DataMaskingRuleInner parameters)
        Creates or updates a database data masking rule.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        dataMaskingRuleName - The name of the data masking rule.
        parameters - Represents a database data masking rule.
        Returns:
        represents a database data masking rule.
        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.
      • createOrUpdateAsync

        Mono<DataMaskingRuleInner> createOrUpdateAsync​(String resourceGroupName,
                                                       String serverName,
                                                       String databaseName,
                                                       String dataMaskingRuleName,
                                                       DataMaskingRuleInner parameters)
        Creates or updates a database data masking rule.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        dataMaskingRuleName - The name of the data masking rule.
        parameters - Represents a database data masking rule.
        Returns:
        represents a database data masking rule.
        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

        DataMaskingRuleInner createOrUpdate​(String resourceGroupName,
                                            String serverName,
                                            String databaseName,
                                            String dataMaskingRuleName,
                                            DataMaskingRuleInner parameters)
        Creates or updates a database data masking rule.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        dataMaskingRuleName - The name of the data masking rule.
        parameters - Represents a database data masking rule.
        Returns:
        represents a database data masking rule.
        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<DataMaskingRuleInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                           String serverName,
                                                                                           String databaseName,
                                                                                           String dataMaskingRuleName,
                                                                                           DataMaskingRuleInner parameters,
                                                                                           com.azure.core.util.Context context)
        Creates or updates a database data masking rule.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        dataMaskingRuleName - The name of the data masking rule.
        parameters - Represents a database data masking rule.
        context - The context to associate with this operation.
        Returns:
        represents a database data masking rule.
        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.
      • listByDatabaseAsync

        com.azure.core.http.rest.PagedFlux<DataMaskingRuleInner> listByDatabaseAsync​(String resourceGroupName,
                                                                                     String serverName,
                                                                                     String databaseName)
        Gets a list of database data masking rules.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        Returns:
        a list of database data masking rules.
        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.
      • listByDatabase

        com.azure.core.http.rest.PagedIterable<DataMaskingRuleInner> listByDatabase​(String resourceGroupName,
                                                                                    String serverName,
                                                                                    String databaseName)
        Gets a list of database data masking rules.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        Returns:
        a list of database data masking rules.
        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.
      • listByDatabase

        com.azure.core.http.rest.PagedIterable<DataMaskingRuleInner> listByDatabase​(String resourceGroupName,
                                                                                    String serverName,
                                                                                    String databaseName,
                                                                                    com.azure.core.util.Context context)
        Gets a list of database data masking rules.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        context - The context to associate with this operation.
        Returns:
        a list of database data masking rules.
        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.