Interface FlexibleServersClient


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

    • triggerLtrPreBackupWithResponseAsync

      Mono<FlexibleServersTriggerLtrPreBackupResponse> triggerLtrPreBackupWithResponseAsync(String resourceGroupName, String serverName, LtrPreBackupRequest parameters)
      PreBackup operation performs all the checks that are needed for the subsequent long term retention backup operation to succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      Returns:
      response for the LTR pre-backup API call 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.
    • triggerLtrPreBackupAsync

      Mono<LtrPreBackupResponseInner> triggerLtrPreBackupAsync(String resourceGroupName, String serverName, LtrPreBackupRequest parameters)
      PreBackup operation performs all the checks that are needed for the subsequent long term retention backup operation to succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      Returns:
      response for the LTR pre-backup API call 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.
    • triggerLtrPreBackupWithResponse

      FlexibleServersTriggerLtrPreBackupResponse triggerLtrPreBackupWithResponse(String resourceGroupName, String serverName, LtrPreBackupRequest parameters, com.azure.core.util.Context context)
      PreBackup operation performs all the checks that are needed for the subsequent long term retention backup operation to succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      response for the LTR pre-backup API call.
      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.
    • triggerLtrPreBackup

      LtrPreBackupResponseInner triggerLtrPreBackup(String resourceGroupName, String serverName, LtrPreBackupRequest parameters)
      PreBackup operation performs all the checks that are needed for the subsequent long term retention backup operation to succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      Returns:
      response for the LTR pre-backup API call.
      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.
    • startLtrBackupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startLtrBackupWithResponseAsync(String resourceGroupName, String serverName, LtrBackupRequest parameters)
      Start the Long Term Retention Backup operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      Returns:
      response for the LTR backup API call 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.
    • beginStartLtrBackupAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<LtrBackupResponseInner>,LtrBackupResponseInner> beginStartLtrBackupAsync(String resourceGroupName, String serverName, LtrBackupRequest parameters)
      Start the Long Term Retention Backup operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      Returns:
      the PollerFlux for polling of response for the LTR backup API call.
      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.
    • beginStartLtrBackup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LtrBackupResponseInner>,LtrBackupResponseInner> beginStartLtrBackup(String resourceGroupName, String serverName, LtrBackupRequest parameters)
      Start the Long Term Retention Backup operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      Returns:
      the SyncPoller for polling of response for the LTR backup API call.
      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.
    • beginStartLtrBackup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LtrBackupResponseInner>,LtrBackupResponseInner> beginStartLtrBackup(String resourceGroupName, String serverName, LtrBackupRequest parameters, com.azure.core.util.Context context)
      Start the Long Term Retention Backup operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of response for the LTR backup API call.
      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.
    • startLtrBackupAsync

      Mono<LtrBackupResponseInner> startLtrBackupAsync(String resourceGroupName, String serverName, LtrBackupRequest parameters)
      Start the Long Term Retention Backup operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      Returns:
      response for the LTR backup API call 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.
    • startLtrBackup

      LtrBackupResponseInner startLtrBackup(String resourceGroupName, String serverName, LtrBackupRequest parameters)
      Start the Long Term Retention Backup operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      Returns:
      response for the LTR backup API call.
      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.
    • startLtrBackup

      LtrBackupResponseInner startLtrBackup(String resourceGroupName, String serverName, LtrBackupRequest parameters, com.azure.core.util.Context context)
      Start the Long Term Retention Backup operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - Request body for operation.
      context - The context to associate with this operation.
      Returns:
      response for the LTR backup API call.
      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.