Interface LedgerDigestUploadsOperationsClient


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

    • listByDatabaseAsync

      com.azure.core.http.rest.PagedFlux<LedgerDigestUploadsInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)
      Gets all ledger digest upload settings on a database.
      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:
      all ledger digest upload settings on a database 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<LedgerDigestUploadsInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)
      Gets all ledger digest upload settings on a database.
      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:
      all ledger digest upload settings on a database 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<LedgerDigestUploadsInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
      Gets all ledger digest upload settings on a database.
      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:
      all ledger digest upload settings on a database 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<LedgerDigestUploadsInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads)
      Gets the current ledger digest upload configuration for a database.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      Returns:
      the current ledger digest upload configuration for a database 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<LedgerDigestUploadsInner> getAsync(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads)
      Gets the current ledger digest upload configuration for a database.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      Returns:
      the current ledger digest upload configuration for a database 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<LedgerDigestUploadsInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads, com.azure.core.util.Context context)
      Gets the current ledger digest upload configuration for a database.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      context - The context to associate with this operation.
      Returns:
      the current ledger digest upload configuration for a database 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

      LedgerDigestUploadsInner get(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads)
      Gets the current ledger digest upload configuration for a database.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      Returns:
      the current ledger digest upload configuration for a database.
      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, LedgerDigestUploadsName ledgerDigestUploads, LedgerDigestUploadsInner parameters)
      Enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      parameters - Azure SQL Database ledger digest upload settings.
      Returns:
      azure SQL Database ledger digest upload settings 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<LedgerDigestUploadsInner>,LedgerDigestUploadsInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads, LedgerDigestUploadsInner parameters)
      Enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      parameters - Azure SQL Database ledger digest upload settings.
      Returns:
      the PollerFlux for polling of azure SQL Database ledger digest upload settings.
      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<LedgerDigestUploadsInner>,LedgerDigestUploadsInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads, LedgerDigestUploadsInner parameters)
      Enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      parameters - Azure SQL Database ledger digest upload settings.
      Returns:
      the SyncPoller for polling of azure SQL Database ledger digest upload settings.
      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<LedgerDigestUploadsInner>,LedgerDigestUploadsInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads, LedgerDigestUploadsInner parameters, com.azure.core.util.Context context)
      Enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      parameters - Azure SQL Database ledger digest upload settings.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of azure SQL Database ledger digest upload settings.
      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<LedgerDigestUploadsInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads, LedgerDigestUploadsInner parameters)
      Enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      parameters - Azure SQL Database ledger digest upload settings.
      Returns:
      azure SQL Database ledger digest upload settings 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

      LedgerDigestUploadsInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads, LedgerDigestUploadsInner parameters)
      Enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      parameters - Azure SQL Database ledger digest upload settings.
      Returns:
      azure SQL Database ledger digest upload settings.
      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

      LedgerDigestUploadsInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads, LedgerDigestUploadsInner parameters, com.azure.core.util.Context context)
      Enables upload ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      parameters - Azure SQL Database ledger digest upload settings.
      context - The context to associate with this operation.
      Returns:
      azure SQL Database ledger digest upload settings.
      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.
    • disableWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> disableWithResponseAsync(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads)
      Disables uploading ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      Returns:
      azure SQL Database ledger digest upload settings 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.
    • beginDisableAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<LedgerDigestUploadsInner>,LedgerDigestUploadsInner> beginDisableAsync(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads)
      Disables uploading ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      Returns:
      the PollerFlux for polling of azure SQL Database ledger digest upload settings.
      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.
    • beginDisable

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LedgerDigestUploadsInner>,LedgerDigestUploadsInner> beginDisable(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads)
      Disables uploading ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      Returns:
      the SyncPoller for polling of azure SQL Database ledger digest upload settings.
      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.
    • beginDisable

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LedgerDigestUploadsInner>,LedgerDigestUploadsInner> beginDisable(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads, com.azure.core.util.Context context)
      Disables uploading ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of azure SQL Database ledger digest upload settings.
      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.
    • disableAsync

      Mono<LedgerDigestUploadsInner> disableAsync(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads)
      Disables uploading ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      Returns:
      azure SQL Database ledger digest upload settings 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.
    • disable

      LedgerDigestUploadsInner disable(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads)
      Disables uploading ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      Returns:
      azure SQL Database ledger digest upload settings.
      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.
    • disable

      LedgerDigestUploadsInner disable(String resourceGroupName, String serverName, String databaseName, LedgerDigestUploadsName ledgerDigestUploads, com.azure.core.util.Context context)
      Disables uploading ledger digests to an Azure Storage account or an Azure Confidential Ledger instance.
      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.
      ledgerDigestUploads - The ledgerDigestUploads parameter.
      context - The context to associate with this operation.
      Returns:
      azure SQL Database ledger digest upload settings.
      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.