Interface DataMaskingRulesClient


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

    • listByDatabaseAsync

      com.azure.core.http.rest.PagedFlux<DataMaskingRuleInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName)
      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.
      dataMaskingPolicyName - The name of the database for which the data masking rule applies.
      Returns:
      a list of database data masking rules as paginated response with PagedFlux.
      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, DataMaskingPolicyName dataMaskingPolicyName)
      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.
      dataMaskingPolicyName - The name of the database for which the data masking rule applies.
      Returns:
      a list of database data masking rules 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.
    • listByDatabase

      com.azure.core.http.rest.PagedIterable<DataMaskingRuleInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, 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.
      dataMaskingPolicyName - The name of the database for which the data masking rule applies.
      context - The context to associate with this operation.
      Returns:
      a list of database data masking rules 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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DataMaskingRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, 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.
      dataMaskingPolicyName - The name of the database for which the data masking policy applies.
      dataMaskingRuleName - The name of the data masking rule.
      parameters - The required parameters for creating or updating a data masking rule.
      Returns:
      a database data masking rule along with Response on successful completion of Mono.
      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, DataMaskingPolicyName dataMaskingPolicyName, 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.
      dataMaskingPolicyName - The name of the database for which the data masking policy applies.
      dataMaskingRuleName - The name of the data masking rule.
      parameters - The required parameters for creating or updating a data masking rule.
      Returns:
      a database data masking rule on successful completion of Mono.
      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, DataMaskingPolicyName dataMaskingPolicyName, 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.
      dataMaskingPolicyName - The name of the database for which the data masking policy applies.
      dataMaskingRuleName - The name of the data masking rule.
      parameters - The required parameters for creating or updating a data masking rule.
      context - The context to associate with this operation.
      Returns:
      a database data masking rule 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

      DataMaskingRuleInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, 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.
      dataMaskingPolicyName - The name of the database for which the data masking policy applies.
      dataMaskingRuleName - The name of the data masking rule.
      parameters - The required parameters for creating or updating a data masking rule.
      Returns:
      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.