Interface TransparentDataEncryptionsClient


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

    • listByDatabaseAsync

      com.azure.core.http.rest.PagedFlux<LogicalDatabaseTransparentDataEncryptionInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)
      Gets a list of the logical database's transparent data encryption.
      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 logical database for which the transparent data encryption is defined.
      Returns:
      a list of the logical database's transparent data encryption as paginated response with PagedFlux.
      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.
    • listByDatabase

      com.azure.core.http.rest.PagedIterable<LogicalDatabaseTransparentDataEncryptionInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)
      Gets a list of the logical database's transparent data encryption.
      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 logical database for which the transparent data encryption is defined.
      Returns:
      a list of the logical database's transparent data encryption 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.
    • listByDatabase

      com.azure.core.http.rest.PagedIterable<LogicalDatabaseTransparentDataEncryptionInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
      Gets a list of the logical database's transparent data encryption.
      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 logical database for which the transparent data encryption is defined.
      context - The context to associate with this operation.
      Returns:
      a list of the logical database's transparent data encryption 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<LogicalDatabaseTransparentDataEncryptionInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName)
      Gets a logical database's transparent data encryption.
      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 logical database for which the transparent data encryption is defined.
      tdeName - The name of the transparent data encryption configuration.
      Returns:
      a logical database's transparent data encryption along with Response 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.
    • getAsync

      Mono<LogicalDatabaseTransparentDataEncryptionInner> getAsync(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName)
      Gets a logical database's transparent data encryption.
      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 logical database for which the transparent data encryption is defined.
      tdeName - The name of the transparent data encryption configuration.
      Returns:
      a logical database's transparent data encryption 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<LogicalDatabaseTransparentDataEncryptionInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName, com.azure.core.util.Context context)
      Gets a logical database's transparent data encryption.
      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 logical database for which the transparent data encryption is defined.
      tdeName - The name of the transparent data encryption configuration.
      context - The context to associate with this operation.
      Returns:
      a logical database's transparent data encryption 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

      LogicalDatabaseTransparentDataEncryptionInner get(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName)
      Gets a logical database's transparent data encryption.
      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 logical database for which the transparent data encryption is defined.
      tdeName - The name of the transparent data encryption configuration.
      Returns:
      a logical database's transparent data encryption.
      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<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName, LogicalDatabaseTransparentDataEncryptionInner parameters)
      Updates a logical database's transparent data encryption configuration.
      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 logical database for which the security alert policy is defined.
      tdeName - The name of the transparent data encryption configuration.
      parameters - The database transparent data encryption.
      Returns:
      a logical database transparent data encryption state along with Response 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<LogicalDatabaseTransparentDataEncryptionInner>, LogicalDatabaseTransparentDataEncryptionInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName, LogicalDatabaseTransparentDataEncryptionInner parameters)
      Updates a logical database's transparent data encryption configuration.
      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 logical database for which the security alert policy is defined.
      tdeName - The name of the transparent data encryption configuration.
      parameters - The database transparent data encryption.
      Returns:
      the PollerFlux for polling of a logical database transparent data encryption state.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LogicalDatabaseTransparentDataEncryptionInner>, LogicalDatabaseTransparentDataEncryptionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName, LogicalDatabaseTransparentDataEncryptionInner parameters)
      Updates a logical database's transparent data encryption configuration.
      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 logical database for which the security alert policy is defined.
      tdeName - The name of the transparent data encryption configuration.
      parameters - The database transparent data encryption.
      Returns:
      the SyncPoller for polling of a logical database transparent data encryption state.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LogicalDatabaseTransparentDataEncryptionInner>, LogicalDatabaseTransparentDataEncryptionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName, LogicalDatabaseTransparentDataEncryptionInner parameters, com.azure.core.util.Context context)
      Updates a logical database's transparent data encryption configuration.
      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 logical database for which the security alert policy is defined.
      tdeName - The name of the transparent data encryption configuration.
      parameters - The database transparent data encryption.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a logical database transparent data encryption state.
      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<LogicalDatabaseTransparentDataEncryptionInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName, LogicalDatabaseTransparentDataEncryptionInner parameters)
      Updates a logical database's transparent data encryption configuration.
      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 logical database for which the security alert policy is defined.
      tdeName - The name of the transparent data encryption configuration.
      parameters - The database transparent data encryption.
      Returns:
      a logical database transparent data encryption state 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.
    • createOrUpdate

      LogicalDatabaseTransparentDataEncryptionInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName, LogicalDatabaseTransparentDataEncryptionInner parameters)
      Updates a logical database's transparent data encryption configuration.
      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 logical database for which the security alert policy is defined.
      tdeName - The name of the transparent data encryption configuration.
      parameters - The database transparent data encryption.
      Returns:
      a logical database transparent data encryption state.
      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

      LogicalDatabaseTransparentDataEncryptionInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, TransparentDataEncryptionName tdeName, LogicalDatabaseTransparentDataEncryptionInner parameters, com.azure.core.util.Context context)
      Updates a logical database's transparent data encryption configuration.
      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 logical database for which the security alert policy is defined.
      tdeName - The name of the transparent data encryption configuration.
      parameters - The database transparent data encryption.
      context - The context to associate with this operation.
      Returns:
      a logical database transparent data encryption state.
      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.