Interface BackupsLongTermRetentionsClient


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

    • checkPrerequisitesWithResponseAsync

      Mono<BackupsLongTermRetentionsCheckPrerequisitesResponse> checkPrerequisitesWithResponseAsync(String resourceGroupName, String serverName, LtrPreBackupRequest parameters)
      Performs all checks required for a 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.
    • checkPrerequisitesAsync

      Mono<LtrPreBackupResponseInner> checkPrerequisitesAsync(String resourceGroupName, String serverName, LtrPreBackupRequest parameters)
      Performs all checks required for a 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.
    • checkPrerequisitesWithResponse

      BackupsLongTermRetentionsCheckPrerequisitesResponse checkPrerequisitesWithResponse(String resourceGroupName, String serverName, LtrPreBackupRequest parameters, com.azure.core.util.Context context)
      Performs all checks required for a 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.
    • checkPrerequisites

      LtrPreBackupResponseInner checkPrerequisites(String resourceGroupName, String serverName, LtrPreBackupRequest parameters)
      Performs all checks required for a 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.
    • startWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String serverName, BackupsLongTermRetentionRequest parameters)
      Initiates a long term retention backup.
      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.
    • beginStartAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BackupsLongTermRetentionResponseInner>, BackupsLongTermRetentionResponseInner> beginStartAsync(String resourceGroupName, String serverName, BackupsLongTermRetentionRequest parameters)
      Initiates a long term retention backup.
      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.
    • beginStart

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupsLongTermRetentionResponseInner>, BackupsLongTermRetentionResponseInner> beginStart(String resourceGroupName, String serverName, BackupsLongTermRetentionRequest parameters)
      Initiates a long term retention backup.
      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.
    • beginStart

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupsLongTermRetentionResponseInner>, BackupsLongTermRetentionResponseInner> beginStart(String resourceGroupName, String serverName, BackupsLongTermRetentionRequest parameters, com.azure.core.util.Context context)
      Initiates a long term retention backup.
      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.
    • startAsync

      Mono<BackupsLongTermRetentionResponseInner> startAsync(String resourceGroupName, String serverName, BackupsLongTermRetentionRequest parameters)
      Initiates a long term retention backup.
      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.
    • start

      BackupsLongTermRetentionResponseInner start(String resourceGroupName, String serverName, BackupsLongTermRetentionRequest parameters)
      Initiates a long term retention backup.
      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.
    • start

      BackupsLongTermRetentionResponseInner start(String resourceGroupName, String serverName, BackupsLongTermRetentionRequest parameters, com.azure.core.util.Context context)
      Initiates a long term retention backup.
      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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<BackupsLongTermRetentionOperationInner>> getWithResponseAsync(String resourceGroupName, String serverName, String backupName)
      Gets the results of a long retention backup operation for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      backupName - The name of the backup.
      Returns:
      the results of a long retention backup operation for a server 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<BackupsLongTermRetentionOperationInner> getAsync(String resourceGroupName, String serverName, String backupName)
      Gets the results of a long retention backup operation for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      backupName - The name of the backup.
      Returns:
      the results of a long retention backup operation for a server 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<BackupsLongTermRetentionOperationInner> getWithResponse(String resourceGroupName, String serverName, String backupName, com.azure.core.util.Context context)
      Gets the results of a long retention backup operation for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      backupName - The name of the backup.
      context - The context to associate with this operation.
      Returns:
      the results of a long retention backup operation for a server 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

      BackupsLongTermRetentionOperationInner get(String resourceGroupName, String serverName, String backupName)
      Gets the results of a long retention backup operation for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      backupName - The name of the backup.
      Returns:
      the results of a long retention backup operation for a server.
      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.
    • listByServerAsync

      com.azure.core.http.rest.PagedFlux<BackupsLongTermRetentionOperationInner> listByServerAsync(String resourceGroupName, String serverName)
      Lists the results of the long term retention backup operations for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      Returns:
      a list of long term retention backup operations for server 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<BackupsLongTermRetentionOperationInner> listByServer(String resourceGroupName, String serverName)
      Lists the results of the long term retention backup operations for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      Returns:
      a list of long term retention backup operations for server 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<BackupsLongTermRetentionOperationInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
      Lists the results of the long term retention backup operations for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      context - The context to associate with this operation.
      Returns:
      a list of long term retention backup operations for server 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.