Interface DataMaskingPolicies


public interface DataMaskingPolicies
Resource collection API of DataMaskingPolicies.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<DataMaskingPolicy> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
      Gets a Sql pool data masking policy.
      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:
      a Sql pool data masking 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

      DataMaskingPolicy get(String resourceGroupName, String workspaceName, String sqlPoolName)
      Gets a Sql pool data masking policy.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      sqlPoolName - SQL pool name.
      Returns:
      a Sql pool data masking 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.
    • getById

      Gets a Sql pool data masking policy.
      Parameters:
      id - the resource ID.
      Returns:
      a Sql pool data masking 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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<DataMaskingPolicy> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets a Sql pool data masking policy.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      a Sql pool data masking 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.
    • define

      Begins definition for a new DataMaskingPolicy resource.
      Returns:
      the first stage of the new DataMaskingPolicy definition.