Interface LtrBackupOperationsClient
public interface LtrBackupOperationsClient
An instance of this class provides access to all the operations defined in LtrBackupOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets the result of the give long term retention backup operation for the flexible server.Gets the result of the give long term retention backup operation for the flexible server.com.azure.core.http.rest.Response<LtrServerBackupOperationInner>getWithResponse(String resourceGroupName, String serverName, String backupName, com.azure.core.util.Context context) Gets the result of the give long term retention backup operation for the flexible server.Mono<com.azure.core.http.rest.Response<LtrServerBackupOperationInner>>getWithResponseAsync(String resourceGroupName, String serverName, String backupName) Gets the result of the give long term retention backup operation for the flexible server.com.azure.core.http.rest.PagedIterable<LtrServerBackupOperationInner>listByServer(String resourceGroupName, String serverName) Gets the result of the give long term retention backup operations for the flexible server.com.azure.core.http.rest.PagedIterable<LtrServerBackupOperationInner>listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Gets the result of the give long term retention backup operations for the flexible server.com.azure.core.http.rest.PagedFlux<LtrServerBackupOperationInner>listByServerAsync(String resourceGroupName, String serverName) Gets the result of the give long term retention backup operations for the flexible server.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<LtrServerBackupOperationInner>> getWithResponseAsync(String resourceGroupName, String serverName, String backupName) Gets the result of the give long term retention backup operation for the flexible 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 result of the give long term retention backup operation for the flexible server along with
Responseon successful completion ofMono. - 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<LtrServerBackupOperationInner> getAsync(String resourceGroupName, String serverName, String backupName) Gets the result of the give long term retention backup operation for the flexible 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 result of the give long term retention backup operation for the flexible 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<LtrServerBackupOperationInner> getWithResponse(String resourceGroupName, String serverName, String backupName, com.azure.core.util.Context context) Gets the result of the give long term retention backup operation for the flexible 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 result of the give long term retention backup operation for the flexible 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
Gets the result of the give long term retention backup operation for the flexible 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 result of the give long term retention backup operation for the flexible 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<LtrServerBackupOperationInner> listByServerAsync(String resourceGroupName, String serverName) Gets the result of the give long term retention backup operations for the flexible server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- the result of the give long term retention backup operations for the flexible 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<LtrServerBackupOperationInner> listByServer(String resourceGroupName, String serverName) Gets the result of the give long term retention backup operations for the flexible server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- Returns:
- the result of the give long term retention backup operations for the flexible 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<LtrServerBackupOperationInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Gets the result of the give long term retention backup operations for the flexible 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:
- the result of the give long term retention backup operations for the flexible 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.
-