Interface DataMaskingPoliciesClient


  • public interface DataMaskingPoliciesClient
    An instance of this class provides access to all the operations defined in DataMaskingPoliciesClient.
    • Method Detail

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<DataMaskingPolicyInner>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                        String serverName,
                                                                                                        String databaseName,
                                                                                                        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.
        parameters - Represents a database data masking policy.
        Returns:
        represents 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.
      • createOrUpdateAsync

        Mono<DataMaskingPolicyInner> createOrUpdateAsync​(String resourceGroupName,
                                                         String serverName,
                                                         String databaseName,
                                                         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.
        parameters - Represents a database data masking policy.
        Returns:
        represents 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.
      • createOrUpdate

        DataMaskingPolicyInner createOrUpdate​(String resourceGroupName,
                                              String serverName,
                                              String databaseName,
                                              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.
        parameters - Represents a database data masking policy.
        Returns:
        represents 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.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<DataMaskingPolicyInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                             String serverName,
                                                                                             String databaseName,
                                                                                             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.
        parameters - Represents a database data masking policy.
        context - The context to associate with this operation.
        Returns:
        represents 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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<DataMaskingPolicyInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                             String serverName,
                                                                                             String databaseName)
        Gets 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.
        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.
      • getAsync

        Mono<DataMaskingPolicyInner> getAsync​(String resourceGroupName,
                                              String serverName,
                                              String databaseName)
        Gets 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.
        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.
      • get

        DataMaskingPolicyInner get​(String resourceGroupName,
                                   String serverName,
                                   String databaseName)
        Gets 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.
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<DataMaskingPolicyInner> getWithResponse​(String resourceGroupName,
                                                                                  String serverName,
                                                                                  String databaseName,
                                                                                  com.azure.core.util.Context context)
        Gets 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.
        context - The context to associate with this operation.
        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.