Interface DataMaskingRules
public interface DataMaskingRules
Resource collection API of DataMaskingRules.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new DataMaskingRule resource.Gets the specific Sql pool data masking rule.Gets the specific Sql pool data masking rule.com.azure.core.http.rest.Response<DataMaskingRule>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the specific Sql pool data masking rule.com.azure.core.http.rest.Response<DataMaskingRule>
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<DataMaskingRule>
listBySqlPool
(String resourceGroupName, String workspaceName, String sqlPoolName) Gets a list of Sql pool data masking rules.com.azure.core.http.rest.PagedIterable<DataMaskingRule>
listBySqlPool
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Gets a list of Sql pool data masking rules.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<DataMaskingRule> 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.
-
get
DataMaskingRule 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.
-
listBySqlPool
com.azure.core.http.rest.PagedIterable<DataMaskingRule> 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<DataMaskingRule> 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.
-
getById
Gets the specific Sql pool data masking rule.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<DataMaskingRule> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets the specific Sql pool data masking rule.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new DataMaskingRule resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new DataMaskingRule definition.
-