Interface DataMaskingPolicies
-
public interface DataMaskingPolicies
Resource collection API of DataMaskingPolicies.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataMaskingPolicy.DefinitionStages.Blank
define()
Begins definition for a new DataMaskingPolicy resource.DataMaskingPolicy
get(String resourceGroupName, String workspaceName, String sqlPoolName)
Gets a Sql pool data masking policy.DataMaskingPolicy
getById(String id)
Gets a Sql pool data masking policy.com.azure.core.http.rest.Response<DataMaskingPolicy>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets a Sql pool data masking policy.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.
-
-
-
Method Detail
-
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.
-
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.
-
getById
DataMaskingPolicy getById(String id)
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
DataMaskingPolicy.DefinitionStages.Blank define()
Begins definition for a new DataMaskingPolicy resource.- Returns:
- the first stage of the new DataMaskingPolicy definition.
-
-