Interface DataMaskingRulesClient
-
public interface DataMaskingRulesClient
An instance of this class provides access to all the operations defined in DataMaskingRulesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataMaskingRuleInner
createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String dataMaskingRuleName, DataMaskingRuleInner parameters)
Creates or updates a Sql pool data masking rule.com.azure.core.http.rest.Response<DataMaskingRuleInner>
createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String dataMaskingRuleName, DataMaskingRuleInner parameters, com.azure.core.util.Context context)
Creates or updates a Sql pool data masking rule.DataMaskingRuleInner
get(String resourceGroupName, String workspaceName, String sqlPoolName, String dataMaskingRuleName)
Gets the specific Sql pool data masking rule.com.azure.core.http.rest.Response<DataMaskingRuleInner>
getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String dataMaskingRuleName, com.azure.core.util.Context context)
Gets the specific Sql pool data masking rule.com.azure.core.http.rest.PagedIterable<DataMaskingRuleInner>
listBySqlPool(String resourceGroupName, String workspaceName, String sqlPoolName)
Gets a list of Sql pool data masking rules.com.azure.core.http.rest.PagedIterable<DataMaskingRuleInner>
listBySqlPool(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Gets a list of Sql pool data masking rules.
-
-
-
Method Detail
-
createOrUpdate
DataMaskingRuleInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String dataMaskingRuleName, DataMaskingRuleInner parameters)
Creates or updates a Sql pool data masking rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.dataMaskingRuleName
- The name of the data masking rule.parameters
- The required parameters for creating or updating a data masking rule.- Returns:
- represents a Sql pool 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 workspaceName, String sqlPoolName, String dataMaskingRuleName, DataMaskingRuleInner parameters, com.azure.core.util.Context context)
Creates or updates a Sql pool data masking rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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:
- represents a Sql pool 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.
-
get
DataMaskingRuleInner get(String resourceGroupName, String workspaceName, String sqlPoolName, String dataMaskingRuleName)
Gets the specific Sql pool data masking rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.dataMaskingRuleName
- The name of the data masking rule.- Returns:
- the specific Sql pool 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.
-
getWithResponse
com.azure.core.http.rest.Response<DataMaskingRuleInner> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String dataMaskingRuleName, com.azure.core.util.Context context)
Gets the specific Sql pool data masking rule.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.dataMaskingRuleName
- The name of the data masking rule.context
- The context to associate with this operation.- Returns:
- the specific Sql pool 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.
-
listBySqlPool
com.azure.core.http.rest.PagedIterable<DataMaskingRuleInner> listBySqlPool(String resourceGroupName, String workspaceName, String sqlPoolName)
Gets a list of Sql pool data masking rules.- 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 list of Sql pool 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.
-
listBySqlPool
com.azure.core.http.rest.PagedIterable<DataMaskingRuleInner> listBySqlPool(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Gets a list of Sql pool data masking rules.- 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 list of Sql pool 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.
-
-