Interface FlexibleServers
public interface FlexibleServers
Resource collection API of FlexibleServers.
-
Method Summary
Modifier and TypeMethodDescriptionstartLtrBackup(String resourceGroupName, String serverName, LtrBackupRequest parameters) Start the Long Term Retention Backup operation.startLtrBackup(String resourceGroupName, String serverName, LtrBackupRequest parameters, com.azure.core.util.Context context) Start the Long Term Retention Backup operation.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.com.azure.core.http.rest.Response<LtrPreBackupResponse>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.
-
Method Details
-
triggerLtrPreBackupWithResponse
com.azure.core.http.rest.Response<LtrPreBackupResponse> 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
LtrPreBackupResponse 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.
-
startLtrBackup
LtrBackupResponse 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
LtrBackupResponse 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.
-