Interface DataMaskingPoliciesClient
public interface DataMaskingPoliciesClient
An instance of this class provides access to all the operations defined in DataMaskingPoliciesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String workspaceName, String sqlPoolName, DataMaskingPolicyInner parameters) Creates or updates a Sql pool data masking policy.com.azure.core.http.rest.Response<DataMaskingPolicyInner>
createOrUpdateWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, DataMaskingPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a Sql pool data masking policy.Gets a Sql pool data masking policy.com.azure.core.http.rest.Response<DataMaskingPolicyInner>
getWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Gets a Sql pool data masking policy.
-
Method Details
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<DataMaskingPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, DataMaskingPolicyInner parameters, com.azure.core.util.Context context) Creates or updates 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.parameters
- Parameters for creating or updating a data masking policy.context
- The context to associate with this operation.- Returns:
- the response body 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
DataMaskingPolicyInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, DataMaskingPolicyInner parameters) Creates or updates 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.parameters
- Parameters for creating or updating a data masking policy.- Returns:
- the 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.
-
getWithResponse
com.azure.core.http.rest.Response<DataMaskingPolicyInner> 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
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.
-