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 serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, DataMaskingPolicyInner parameters) Creates or updates a database data masking policy.createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, DataMaskingPolicyInner parameters) Creates or updates a database data masking policy.com.azure.core.http.rest.Response<DataMaskingPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, DataMaskingPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a database data masking policy.Mono<com.azure.core.http.rest.Response<DataMaskingPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, DataMaskingPolicyInner parameters) Creates or updates a database data masking policy.get(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName) Gets the database data masking policy.getAsync(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName) Gets the database data masking policy.com.azure.core.http.rest.Response<DataMaskingPolicyInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, com.azure.core.util.Context context) Gets the database data masking policy.Mono<com.azure.core.http.rest.Response<DataMaskingPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName) Gets the database data masking policy.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<DataMaskingPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName) Gets the database data masking policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.dataMaskingPolicyName- The name of the database for which the data masking policy applies.- Returns:
- the database data masking policy along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<DataMaskingPolicyInner> getAsync(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName) Gets the database data masking policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.dataMaskingPolicyName- The name of the database for which the data masking policy applies.- Returns:
- the database data masking policy on successful completion of
Mono. - 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 serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, com.azure.core.util.Context context) Gets the database data masking policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.dataMaskingPolicyName- The name of the database for which the data masking policy applies.context- The context to associate with this operation.- Returns:
- the database 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
DataMaskingPolicyInner get(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName) Gets the database data masking policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.dataMaskingPolicyName- The name of the database for which the data masking policy applies.- Returns:
- the database 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<DataMaskingPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, DataMaskingPolicyInner parameters) Creates or updates a database data masking policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.dataMaskingPolicyName- The name of the database for which the data masking policy applies.parameters- Parameters for creating or updating a data masking policy.- Returns:
- a database data masking policy along with
Responseon successful completion ofMono. - 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.
-
createOrUpdateAsync
Mono<DataMaskingPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, DataMaskingPolicyInner parameters) Creates or updates a database data masking policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.dataMaskingPolicyName- The name of the database for which the data masking policy applies.parameters- Parameters for creating or updating a data masking policy.- Returns:
- a database data masking policy on successful completion of
Mono. - 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<DataMaskingPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, DataMaskingPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a database data masking policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.dataMaskingPolicyName- The name of the database for which the data masking policy applies.parameters- Parameters for creating or updating a data masking policy.context- The context to associate with this operation.- Returns:
- a database 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.
-
createOrUpdate
DataMaskingPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, DataMaskingPolicyName dataMaskingPolicyName, DataMaskingPolicyInner parameters) Creates or updates a database data masking policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.dataMaskingPolicyName- The name of the database for which the data masking policy applies.parameters- Parameters for creating or updating a data masking policy.- Returns:
- a database 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.
-